Deletes an API product attribute.
Returns the value of an API product attribute.
Returns a list of all API product attributes.
updateApiProductAttribute(name, body=None, x__xgafv=None)
Updates the value of an API product attribute. Limitations are:
delete(name, x__xgafv=None)
Deletes an API product attribute.
Args:
name: string, **Required.** API product name in the following form:
<pre>organizations/<var>organization_ID</var>/apiproducts/<var>api_product_name</var>/attributes/<var>attribute_name</var></pre> (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Key-value pair to store extra metadata.
"value": "A String", # Value of the attribute.
"name": "A String", # API key of the attribute.
}
get(name, x__xgafv=None)
Returns the value of an API product attribute.
Args:
name: string, **Required.** API product name in the following form:
<pre>organizations/<var>organization_ID</var>/apiproducts/<var>api_product_name</var>/attributes/<var>attribute_name</var></pre> (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Key-value pair to store extra metadata.
"value": "A String", # Value of the attribute.
"name": "A String", # API key of the attribute.
}
list(parent, x__xgafv=None)
Returns a list of all API product attributes.
Args:
parent: string, Required. The parent organization name. Must be in the following form:
<pre>organizations/<var>organization_ID</var>/apiproducts/<var>api_product_name</var></pre> (required)
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{
"attribute": [ # List of attributes.
{ # Key-value pair to store extra metadata.
"value": "A String", # Value of the attribute.
"name": "A String", # API key of the attribute.
},
],
}
updateApiProductAttribute(name, body=None, x__xgafv=None)
Updates the value of an API product attribute. Limitations are:
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.
Args:
name: string, **Required.** API product name in the following form:
<pre>organizations/<var>organization_ID</var>/apiproducts/<var>api_product_name</var></pre> (required)
body: object, The request body.
The object takes the form of:
{ # Key-value pair to store extra metadata.
"value": "A String", # Value of the attribute.
"name": "A String", # API key of the attribute.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # Key-value pair to store extra metadata.
"value": "A String", # Value of the attribute.
"name": "A String", # API key of the attribute.
}