List Deployments

deployment_manager.list_deployments
ActionGoogle Cloudconnection required

Calls Cloud Deployment Manager V2 GET /deploymentmanager/v2/projects/{project}/global/deployments.

Lists all deployments for a given project.

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

4 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
project_id
GCP project id (overrides connection).
stringNo———
filter
A filter expression that filters resources listed in the response. Most Compute resources support two types of
stringNo———
order_by
Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the r
stringNo———
page_token
Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to g
stringNo———

Output

One shape.

result

FieldTypeExample
ok
boolean—
deployments
array—
nextPageToken
string—
{
  "deployments": [],
  "nextPageToken": "",
  "ok": false
}

See List Deployments 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.