class OrganizationsApiproductsAttributes extends Resource (View source)

The "attributes" collection of methods.

Typical usage is:

 $apigeeService = new Google\Service\Apigee(...);
 $attributes = $apigeeService->organizations_apiproducts_attributes;

Methods

delete(string $name, array $optParams = [])

Deletes an API product attribute. (attributes.delete)

get(string $name, array $optParams = [])

Gets the value of an API product attribute. (attributes.get)

listOrganizationsApiproductsAttributes(string $parent, array $optParams = [])

Lists all API product attributes.

updateApiProductAttribute(string $name, GoogleCloudApigeeV1Attribute $postBody, array $optParams = [])

Updates the value of an API product attribute. 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. (attributes.updateApiProductAttribute)

Details

GoogleCloudApigeeV1Attribute delete(string $name, array $optParams = [])

Deletes an API product attribute. (attributes.delete)

Parameters

string $name

Required. Name of the API product attribute. Use the following structure in your request: organizations/{org}/apiproducts/{apiproduct}/attributes/{attribute}

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1Attribute

Exceptions

Exception

GoogleCloudApigeeV1Attribute get(string $name, array $optParams = [])

Gets the value of an API product attribute. (attributes.get)

Parameters

string $name

Required. Name of the API product attribute. Use the following structure in your request: organizations/{org}/apiproducts/{apiproduct}/attributes/{attribute}

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1Attribute

Exceptions

Exception

GoogleCloudApigeeV1Attributes listOrganizationsApiproductsAttributes(string $parent, array $optParams = [])

Lists all API product attributes.

(attributes.listOrganizationsApiproductsAttributes)

Parameters

string $parent

Required. Name of the API product. Use the following structure in your request: organizations/{org}/apiproducts/{apiproduct}

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1Attributes

Exceptions

Exception

GoogleCloudApigeeV1Attribute updateApiProductAttribute(string $name, GoogleCloudApigeeV1Attribute $postBody, array $optParams = [])

Updates the value of an API product attribute. 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. (attributes.updateApiProductAttribute)

Parameters

string $name

Required. Name of the API product. Use the following structure in your request: organizations/{org}/apiproducts/{apiproduct}

GoogleCloudApigeeV1Attribute $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1Attribute

Exceptions

Exception