Get Workstation Config
cloud_workstations.get_workstation_config
ActionGoogle Cloudconnection required
Calls Cloud Workstations GET /v1/projects/{projectsId}/locations/{locationsId}/workstationClusters/{workstationClustersId}/workstationConfigs/{workstationConfigsId}.
Returns the requested workstation configuration.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google Cloud Workstations
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Config it needs
- location, project_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
4 fields, 2 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 | — | — | — |
location Location / region (overrides connection). | string | No | — | — | — |
workstation_cluster Workstation cluster id. | string | Yes | — | — | — |
workstation_config Workstation config id. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
maxUsableWorkstations | number | — |
grantWorkstationAdminRoleOnCreate | boolean | — |
etag | string | — |
degraded | boolean | — |
encryptionKey | object | — |
ephemeralDirectories | array | — |
{
"degraded": false,
"encryptionKey": {},
"ephemeralDirectories": [],
"etag": "",
"grantWorkstationAdminRoleOnCreate": false,
"maxUsableWorkstations": 0,
"ok": false
}See Get Workstation Config run in a workflow.
In a technical demo we add the Google Cloud Workstations connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.