Get Resource

deployment_manager.get_resource
ActionGoogle Cloudconnection required

Calls deploymentmanager v2 GET /deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/resources/{resource}.

Gets information about a single resource.

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

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

FieldTypeRequiredDefaultConstraintsExample
deployment
Deployment name or id.
stringYes———
resource
Resource name or id.
stringYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
accessControl
object—
finalProperties
string—
id
string—
insertTime
string—
manifest
string—
name
string—
properties
string—
type
string—
update
object—
updateTime
string—
url
string—
warnings
array—
{
  "accessControl": {},
  "finalProperties": "",
  "id": "",
  "insertTime": "",
  "manifest": "",
  "name": "",
  "properties": "",
  "type": "",
  "update": {},
  "updateTime": "",
  "url": "",
  "warnings": []
}

See Get Resource 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.