key_strings
Creates, updates, deletes, gets or lists a key_strings
resource.
Overview
Name | key_strings |
Type | Resource |
Id | google.apikeys.key_strings |
Fields
The following fields are returned by SELECT
queries:
- get_key_string
Successful response
Name | Datatype | Description |
---|---|---|
keyString | string | An encrypted and signed value of the key. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get_key_string | select | projectsId , locationsId , keysId | Get the key string for an API key. NOTE: Key is a global resource; hence the only supported value for location is global . |
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.
Name | Datatype | Description |
---|---|---|
keysId | string | |
locationsId | string | |
projectsId | string |
SELECT
examples
- get_key_string
Get the key string for an API key. NOTE: Key is a global resource; hence the only supported value for location is global
.
SELECT
keyString
FROM google.apikeys.key_strings
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND keysId = '{{ keysId }}' -- required;