Googleapis Apikeys
Google API Keys API is a Google Cloud API for creating and managing API keys used to access Google services.
- Base URL:
https://apikeys.googleapis.com - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
apikeys_keys_lookupkey— GET /v2/keys:lookupKey — Find the parent project and resource name of the API key that matches the key stapikeys_projects_locations_keys_get— GET /v2/{name} — Gets the metadata for an API key. The key string of the API key isn't included iapikeys_projects_locations_keys_getkeystring— GET /v2/{name}/keyString — Get the key string for an API key. NOTE: Key is a global resource; hence the onlapikeys_projects_locations_keys_list— GET /v2/{parent}/keys — Lists the API keys owned by a project. The key string of the API key isn't incluapikeys_projects_locations_keys_delete— DELETE /v2/{name} — Deletes an API key. Deleted key can be retrieved within 30 days of deletion. Aftapikeys_projects_locations_keys_patch— PATCH /v2/{name} — Patches the modifiable fields of an API key. The key string of the API key isn't
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: apikeys_keys_lookupkey
# (attach an 'oauth' credential to the task — no inline secrets)
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: apikeys_keys_lookupkey, apikeys_projects_locations_keys_get, apikeys_projects_locations_keys_getkeystring, apikeys_projects_locations_keys_list, apikeys_projects_locations_keys_delete, apikeys_projects_locations_keys_patch |
name |
string | no | — | Path parameter name (required by some operations). |
parent |
string | no | — | Path parameter parent (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |