Get Cluster

dataproc.get_cluster
ActionGoogle Cloudconnection required

Calls dataproc v1 GET /v1/projects/{projectId}/regions/{region}/clusters/{clusterName}.

Gets the resource representation for a cluster in a project.

Connection

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

Configuration

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

FieldTypeRequiredDefaultConstraintsExample
region
Region; defaults to the connection's zone minus its suffix.
stringNo———
cluster_name
Cluster name name or id.
stringYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
clusterName
string—
clusterUuid
string—
config
object—
labels
object—
metrics
object—
projectId
string—
status
object—
statusHistory
array—
virtualClusterConfig
object—
{
  "clusterName": "",
  "clusterUuid": "",
  "config": {},
  "labels": {},
  "metrics": {},
  "projectId": "",
  "status": {},
  "statusHistory": [],
  "virtualClusterConfig": {}
}

See Get Cluster run in a workflow.

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