Googleapis Cloudasset
Google Cloud Asset Inventory API provides inventory, search, analysis, and history for Google Cloud resources and policies.
- Base URL:
https://cloudasset.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
cloudasset_operations_get— GET /v1p7beta1/{name} — Gets the latest state of a long-running operation. Clients can use this method tcloudasset_exportassets— POST /v1p7beta1/{parent}:exportAssets — Exports assets with time and resource types to a given Cloud Storage location/Bi
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: cloudasset_operations_get
# (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: cloudasset_operations_get, cloudasset_exportassets |
name |
string | no | — | Path parameter name (required by some operations). |
parent |
string | no | — | Path parameter parent (required by some operations). |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |