Apigee API . organizations . developers . attributes

Instance Methods

close()

Close httplib2 connections.

delete(name, x__xgafv=None)

Deletes a developer attribute.

get(name, x__xgafv=None)

Returns the value of the specified developer attribute.

list(parent, x__xgafv=None)

Returns a list of all developer attributes.

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

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.

Method Details

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

Args:
  name: string, Required. Name of the developer attribute. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/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 the value of the specified developer attribute.

Args:
  name: string, Required. Name of the developer attribute. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/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 attributes.

Args:
  parent: string, Required. Email address of the developer for which attributes are being listed. Use the following structure in your request: `organizations/{org}/developers/{developer_email}` (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.
    },
  ],
}
updateDeveloperAttribute(name, body=None, x__xgafv=None)
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.

Args:
  name: string, Required. Name of the developer attribute. Use the following structure in your request: `organizations/{org}/developers/{developer_email}/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.
}