Apigee API . organizations . developers . apps . attributes

Instance Methods

close()

Close httplib2 connections.

delete(name, x__xgafv=None)

Deletes a developer app attribute.

get(name, x__xgafv=None)

Returns a developer app attribute.

list(parent, x__xgafv=None)

Returns a list of all developer app attributes.

updateDeveloperAppAttribute(name, body=None, x__xgafv=None)

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.

Method Details

close()
Close httplib2 connections.
delete(name, x__xgafv=None)
Deletes a developer app attribute.

Args:
  name: string, Required. Name of the developer app attribute. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/apps/{app}/attributes/{attribute}` (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.
  "name": "A String", # API key of the attribute.
  "value": "A String", # Value of the attribute.
}
get(name, x__xgafv=None)
Returns a developer app attribute.

Args:
  name: string, Required. Name of the developer app attribute. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/apps/{app}/attributes/{attribute}` (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.
  "name": "A String", # API key of the attribute.
  "value": "A String", # Value of the attribute.
}
list(parent, x__xgafv=None)
Returns a list of all developer app attributes.

Args:
  parent: string, Required. Name of the developer app. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/apps/{app}` (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.
      "name": "A String", # API key of the attribute.
      "value": "A String", # Value of the attribute.
    },
  ],
}
updateDeveloperAppAttribute(name, body=None, x__xgafv=None)
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.

Args:
  name: string, Required. Name of the developer app attribute. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/apps/{app}/attributes/{attribute}` (required)
  body: object, The request body.
    The object takes the form of:

{ # Key-value pair to store extra metadata.
  "name": "A String", # API key of the attribute.
  "value": "A String", # Value 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.
  "name": "A String", # API key of the attribute.
  "value": "A String", # Value of the attribute.
}