Get Snapshot

compute_engine.get_snapshot
ActionGoogle Cloudconnection required

Calls compute v1 GET /projects/{project}/global/snapshots/{snapshot}.

Returns the specified Snapshot resource.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Compute Engine
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id, zone
Resolved by
config.connection_id, else node.connection_id

Configuration

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

FieldTypeRequiredDefaultConstraintsExample
snapshot
Snapshot name or id.
stringYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
architecture
string—
autoCreated
boolean—
chainName
string—
creationSizeBytes
string—
creationTimestamp
string—
description
string—
diskSizeGb
string—
downloadBytes
string—
enableConfidentialCompute
boolean—
guestFlush
boolean—
guestOsFeatures
array—
id
string—
kind
string—
labelFingerprint
string—
labels
object—
licenseCodes
array—
licenses
array—
locationHint
string—
name
string—
params
object—
region
string—
satisfiesPzi
boolean—
satisfiesPzs
boolean—
selfLink
string—
snapshotEncryptionKey
object—
snapshotGroupId
string—
snapshotGroupName
string—
snapshotType
string—
sourceDisk
string—
sourceDiskEncryptionKey
object—
sourceDiskForRecoveryCheckpoint
string—
sourceDiskId
string—
sourceInstantSnapshot
string—
sourceInstantSnapshotEncryptionKey
object—
sourceInstantSnapshotId
string—
sourceSnapshotSchedulePolicy
string—
sourceSnapshotSchedulePolicyId
string—
status
string—
storageBytes
string—
storageBytesStatus
string—
storageLocations
array—
{
  "architecture": "",
  "autoCreated": false,
  "chainName": "",
  "creationSizeBytes": "",
  "creationTimestamp": "",
  "description": "",
  "diskSizeGb": "",
  "downloadBytes": "",
  "enableConfidentialCompute": false,
  "guestFlush": false,
  "guestOsFeatures": [],
  "id": "",
  "kind": "",
  "labelFingerprint": "",
  "labels": {},
  "licenseCodes": [],
  "licenses": [],
  "locationHint": "",
  "name": "",
  "params": {},
  "region": "",
  "satisfiesPzi": false,
  "satisfiesPzs": false,
  "selfLink": "",
  "snapshotEncryptionKey": {},
  "snapshotGroupId": "",
  "snapshotGroupName": "",
  "snapshotType": "",
  "sourceDisk": "",
  "sourceDiskEncryptionKey": {},
  "sourceDiskForRecoveryCheckpoint": "",
  "sourceDiskId": "",
  "sourceInstantSnapshot": "",
  "sourceInstantSnapshotEncryptionKey": {},
  "sourceInstantSnapshotId": "",
  "sourceSnapshotSchedulePolicy": "",
  "sourceSnapshotSchedulePolicyId": "",
  "status": "",
  "storageBytes": "",
  "storageBytesStatus": "",
  "storageLocations": []
}

See Get Snapshot run in a workflow.

In a technical demo we add the Google Compute Engine connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.