Apigee API . organizations . environments . 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 environment.

delete(name, x__xgafv=None)

Deletes a key value map from an environment.

Method Details

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

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}/environments/{env}` (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 environment.

Args:
  name: string, Required. Name of the key value map. Use the following structure in your request: `organizations/{org}/environments/{env}/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.
}