Updates or creates API product attributes. This API replaces the current list of attributes with the attributes specified in the request body. In this way, you can update existing attributes, add new attributes, or delete existing attributes by omitting them from the request body.
Note: OAuth access tokens and Key Management Service (KMS) entities (apps, developers, and API products) are cached for 180 seconds (current default). Any custom attributes associated with entities also get cached for at least 180 seconds after entity is accessed during runtime. In this case, the ExpiresIn element on the OAuthV2 policy won't be able to expire an access token in less than 180 seconds.
HTTP request
POST https://apigee.googleapis.com/v1/{name=organizations/*/apiproducts/*}/attributes
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-07 UTC."],[[["This API endpoint is used to update or create API product attributes, replacing the existing list with the new attributes specified in the request."],["The HTTP request is a POST method to the specified URL, utilizing gRPC Transcoding syntax."],["The `name` parameter in the URL is required and must follow the format `organizations/{org}/apiproducts/{apiproduct}`, requiring `apigee.apiproductattributes.createOrUpdateAll` IAM permission."],["Both the request and response bodies use the `Attributes` resource type, as defined in the Apigee API reference."],["The API call requires the OAuth scope `https://www.googleapis.com/auth/cloud-platform` to be authorized."]]],[]]