Apigee API . organizations . apis . keyvaluemaps

Instance Methods

entries()

Returns the entries Resource.

close()

Close httplib2 connections.

create(parent, body=None, x__xgafv=None)

Creates a key value map in an API proxy.

delete(name, x__xgafv=None)

Deletes a key value map from an API proxy.

Method Details

close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Creates a key value map in an API proxy.

Args:
  parent: string, Required. Name of the environment in which to create the key value map. Use the following structure in your request: `organizations/{org}/apis/{api}` (required)
  body: object, The request body.
    The object takes the form of:

{ # Collection of key/value string pairs.
  "encrypted": True or False, # Required. Flag that specifies whether entry values will be encrypted. This field is retained for backward compatibility and the value of encrypted will always be `true`. Apigee X and hybrid do not support unencrypted key value maps.
  "name": "A String", # Required. ID of the key value map.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Collection of key/value string pairs.
  "encrypted": True or False, # Required. Flag that specifies whether entry values will be encrypted. This field is retained for backward compatibility and the value of encrypted will always be `true`. Apigee X and hybrid do not support unencrypted key value maps.
  "name": "A String", # Required. ID of the key value map.
}
delete(name, x__xgafv=None)
Deletes a key value map from an API proxy.

Args:
  name: string, Required. Name of the key value map. Use the following structure in your request: `organizations/{org}/apis/{api}/keyvaluemaps/{keyvaluemap}` (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Collection of key/value string pairs.
  "encrypted": True or False, # Required. Flag that specifies whether entry values will be encrypted. This field is retained for backward compatibility and the value of encrypted will always be `true`. Apigee X and hybrid do not support unencrypted key value maps.
  "name": "A String", # Required. ID of the key value map.
}