Skip to main content

entries

Creates, updates, deletes, gets or lists an entries resource.

Overview

Nameentries
TypeResource
Idgoogle.apigee.entries

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringResource URI that can be used to identify the scope of the key value map entries.
valuestringRequired. Data or payload that is being retrieved and associated with the unique key.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
organizations_apis_keyvaluemaps_entries_getselectorganizationsId, apisId, keyvaluemapsId, entriesIdGet the key value entry value for a key value map scoped to an organization, environment, or API proxy. Note: Supported for Apigee hybrid 1.8.x and higher.
organizations_environments_keyvaluemaps_entries_getselectorganizationsId, environmentsId, keyvaluemapsId, entriesIdGet the key value entry value for a key value map scoped to an organization, environment, or API proxy. Note: Supported for Apigee hybrid 1.8.x and higher.
organizations_apis_keyvaluemaps_entries_listselectorganizationsId, apisId, keyvaluemapsIdpageSize, pageTokenLists key value entries for key values maps scoped to an organization, environment, or API proxy. Note: Supported for Apigee hybrid 1.8.x and higher.
organizations_environments_keyvaluemaps_entries_listselectorganizationsId, environmentsId, keyvaluemapsIdpageSize, pageTokenLists key value entries for key values maps scoped to an organization, environment, or API proxy. Note: Supported for Apigee hybrid 1.8.x and higher.
organizations_keyvaluemaps_entries_getselectorganizationsId, keyvaluemapsId, entriesIdGet the key value entry value for a key value map scoped to an organization, environment, or API proxy. Note: Supported for Apigee hybrid 1.8.x and higher.
organizations_keyvaluemaps_entries_listselectorganizationsId, keyvaluemapsIdpageSize, pageTokenLists key value entries for key values maps scoped to an organization, environment, or API proxy. Note: Supported for Apigee hybrid 1.8.x and higher.
organizations_apis_keyvaluemaps_entries_createinsertorganizationsId, apisId, keyvaluemapsIdCreates key value entries in a key value map scoped to an organization, environment, or API proxy. Note: Supported for Apigee hybrid 1.8.x and higher.
organizations_environments_keyvaluemaps_entries_createinsertorganizationsId, environmentsId, keyvaluemapsIdCreates key value entries in a key value map scoped to an organization, environment, or API proxy. Note: Supported for Apigee hybrid 1.8.x and higher.
organizations_keyvaluemaps_entries_createinsertorganizationsId, keyvaluemapsIdCreates key value entries in a key value map scoped to an organization, environment, or API proxy. Note: Supported for Apigee hybrid 1.8.x and higher.
organizations_apis_keyvaluemaps_entries_updatereplaceorganizationsId, apisId, keyvaluemapsId, entriesIdUpdate key value entry scoped to an organization, environment, or API proxy for an existing key.
organizations_environments_keyvaluemaps_entries_updatereplaceorganizationsId, environmentsId, keyvaluemapsId, entriesIdUpdate key value entry scoped to an organization, environment, or API proxy for an existing key.
organizations_keyvaluemaps_entries_updatereplaceorganizationsId, keyvaluemapsId, entriesIdUpdate key value entry scoped to an organization, environment, or API proxy for an existing key.
organizations_apis_keyvaluemaps_entries_deletedeleteorganizationsId, apisId, keyvaluemapsId, entriesIdDeletes a key value entry from a key value map scoped to an organization, environment, or API proxy. Notes: * After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior. * Supported for Apigee hybrid 1.8.x and higher.
organizations_environments_keyvaluemaps_entries_deletedeleteorganizationsId, environmentsId, keyvaluemapsId, entriesIdDeletes a key value entry from a key value map scoped to an organization, environment, or API proxy. Notes: * After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior. * Supported for Apigee hybrid 1.8.x and higher.
organizations_keyvaluemaps_entries_deletedeleteorganizationsId, keyvaluemapsId, entriesIdDeletes a key value entry from a key value map scoped to an organization, environment, or API proxy. Notes: * After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior. * Supported for Apigee hybrid 1.8.x and higher.

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
entriesIdstring
environmentsIdstring
keyvaluemapsIdstring
organizationsIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Get the key value entry value for a key value map scoped to an organization, environment, or API proxy. Note: Supported for Apigee hybrid 1.8.x and higher.

SELECT
name,
value
FROM google.apigee.entries
WHERE organizationsId = '{{ organizationsId }}' -- required
AND apisId = '{{ apisId }}' -- required
AND keyvaluemapsId = '{{ keyvaluemapsId }}' -- required
AND entriesId = '{{ entriesId }}' -- required;

INSERT examples

Creates key value entries in a key value map scoped to an organization, environment, or API proxy. Note: Supported for Apigee hybrid 1.8.x and higher.

INSERT INTO google.apigee.entries (
data__name,
data__value,
organizationsId,
apisId,
keyvaluemapsId
)
SELECT
'{{ name }}',
'{{ value }}',
'{{ organizationsId }}',
'{{ apisId }}',
'{{ keyvaluemapsId }}'
RETURNING
name,
value
;

REPLACE examples

Update key value entry scoped to an organization, environment, or API proxy for an existing key.

REPLACE google.apigee.entries
SET
data__name = '{{ name }}',
data__value = '{{ value }}'
WHERE
organizationsId = '{{ organizationsId }}' --required
AND apisId = '{{ apisId }}' --required
AND keyvaluemapsId = '{{ keyvaluemapsId }}' --required
AND entriesId = '{{ entriesId }}' --required
RETURNING
name,
value;

DELETE examples

Deletes a key value entry from a key value map scoped to an organization, environment, or API proxy. Notes: * After you delete the key value entry, the policy consuming the entry will continue to function with its cached values for a few minutes. This is expected behavior. * Supported for Apigee hybrid 1.8.x and higher.

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