class OrganizationsDevelopersAttributes extends Resource (View source)

The "attributes" collection of methods.

Typical usage is:

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

Methods

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

Deletes a developer attribute. (attributes.delete)

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

Returns the value of the specified developer attribute. (attributes.get)

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

Returns a list of all developer attributes.

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

Updates a developer attribute. Note: OAuth access tokens and Key Management Service (KMS) entities (apps, developers, and API products) are cached for 180 seconds (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 attribute. (attributes.delete)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1Attribute

Exceptions

Exception

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

Returns the value of the specified developer attribute. (attributes.get)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1Attribute

Exceptions

Exception

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

Returns a list of all developer attributes.

(attributes.listOrganizationsDevelopersAttributes)

Parameters

string $parent

Required. Email address of the developer for which attributes are being listed. Use the following structure in your request: organizations/{org}/developers/{developer_email}

array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1Attributes

Exceptions

Exception

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

Updates a developer attribute. Note: OAuth access tokens and Key Management Service (KMS) entities (apps, developers, and API products) are cached for 180 seconds (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.updateDeveloperAttribute)

Parameters

string $name

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

GoogleCloudApigeeV1Attribute $postBody
array $optParams

Optional parameters.

Return Value

GoogleCloudApigeeV1Attribute

Exceptions

Exception