List Resources
deployment_manager.list_resources
ActionGoogle Cloudconnection required
Calls Cloud Deployment Manager V2 GET /deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/resources.
Lists all resources in a given deployment.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google Cloud Deployment Manager V2
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Config it needs
- project_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
5 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
project_id GCP project id (overrides connection). | string | No | — | — | — |
deployment Deployment id. | string | Yes | — | — | — |
filter A filter expression that filters resources listed in the response. Most Compute resources support two types of | string | No | — | — | — |
order_by Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the r | string | No | — | — | — |
page_token Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to g | string | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
resources | array | — |
nextPageToken | string | — |
{
"nextPageToken": "",
"ok": false,
"resources": []
}Related Google Cloud Deployment Manager V2 nodes
See List Resources run in a workflow.
In a technical demo we add the Google Cloud Deployment Manager V2 connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.