class OrganizationsDevelopersAppsAttributes extends Resource (View source)

The "attributes" collection of methods.

Typical usage is:

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

Methods

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

Deletes a developer app attribute. (attributes.delete)

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

Returns a developer app attribute. (attributes.get)

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

Returns a list of all developer app attributes.

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

Updates a developer app 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 these entities are cached for at least 180 seconds after the entity is accessed at runtime. Therefore, an ExpiresIn element on the OAuthV2 policy won't be able to expire an access token in less than 180 seconds.

Details

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

Deletes a developer app attribute. (attributes.delete)

Parameters

string $name

Required. Name of the developer app attribute. Use the following structure in your request: organizations/{org}/developers/{develop er_email}/apps/{app}/attributes/{attribute}

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1Attribute

Exceptions

Exception

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

Returns a developer app attribute. (attributes.get)

Parameters

string $name

Required. Name of the developer app attribute. Use the following structure in your request: organizations/{org}/developers/{develop er_email}/apps/{app}/attributes/{attribute}

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1Attribute

Exceptions

Exception

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

Returns a list of all developer app attributes.

(attributes.listOrganizationsDevelopersAppsAttributes)

Parameters

string $parent

Required. Name of the developer app. Use the following structure in your request: organizations/{org}/developers/{developer_email}/apps/{app}

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1Attributes

Exceptions

Exception

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

Updates a developer app 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 these entities are cached for at least 180 seconds after the entity is accessed at runtime. Therefore, an ExpiresIn element on the OAuthV2 policy won't be able to expire an access token in less than 180 seconds.

(attributes.updateDeveloperAppAttribute)

Parameters

string $name

Required. Name of the developer app attribute. Use the following structure in your request: organizations/{org}/developers/{develop er_email}/apps/{app}/attributes/{attribute}

GoogleCloudApigeeV1Attribute $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1Attribute

Exceptions

Exception