Apigee API . organizations . apis . keyvaluemaps

Instance Methods

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)

Delete a key value map in 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. The name of the environment in which to create the key value map. Must be of the form `organizations/{organization}/apis/{api}`. (required)
  body: object, The request body.
    The object takes the form of:

{ # A collection of key, value string pairs
  "encrypted": True or False, # Optional. If `true` entry values will be encrypted.
  "name": "A String", # Required. The 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:

    { # A collection of key, value string pairs
  "encrypted": True or False, # Optional. If `true` entry values will be encrypted.
  "name": "A String", # Required. The id of the key value map.
}
delete(name, x__xgafv=None)
Delete a key value map in an api proxy.

Args:
  name: string, Required. The name of the key value map. Must be of the form `organizations/{organization}/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:

    { # A collection of key, value string pairs
  "encrypted": True or False, # Optional. If `true` entry values will be encrypted.
  "name": "A String", # Required. The id of the key value map.
}