Skip to main content

keyvaluemaps

Creates, updates, deletes, gets or lists a keyvaluemaps resource.

Overview

Namekeyvaluemaps
TypeResource
Idgoogle.apigee.keyvaluemaps

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
organizations_apis_keyvaluemaps_createinsertorganizationsId, apisIdCreates a key value map in an API proxy.
organizations_environments_keyvaluemaps_createinsertorganizationsId, environmentsIdCreates a key value map in an environment.
organizations_keyvaluemaps_createinsertorganizationsIdCreates a key value map in an organization.
organizations_apis_keyvaluemaps_deletedeleteorganizationsId, apisId, keyvaluemapsIdDeletes a key value map from an API proxy.
organizations_environments_keyvaluemaps_deletedeleteorganizationsId, environmentsId, keyvaluemapsIdDeletes a key value map from an environment.
organizations_keyvaluemaps_deletedeleteorganizationsId, keyvaluemapsIdDeletes a key value map from an organization.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
apisIdstring
environmentsIdstring
keyvaluemapsIdstring
organizationsIdstring

INSERT examples

Creates a key value map in an API proxy.

INSERT INTO google.apigee.keyvaluemaps (
data__name,
data__encrypted,
organizationsId,
apisId
)
SELECT
'{{ name }}',
{{ encrypted }},
'{{ organizationsId }}',
'{{ apisId }}'
RETURNING
name,
encrypted
;

DELETE examples

Deletes a key value map from an API proxy.

DELETE FROM google.apigee.keyvaluemaps
WHERE organizationsId = '{{ organizationsId }}' --required
AND apisId = '{{ apisId }}' --required
AND keyvaluemapsId = '{{ keyvaluemapsId }}' --required;