Cancel Preview
deployment_manager.cancel_preview
ActionGoogle Cloudconnection required
Calls Cloud Deployment Manager V2 POST /deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/cancelPreview.
Cancels and removes the preview currently associated with the deployment.
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
3 fields, 1 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 | — | — | — |
deployment Deployment id. | string | Yes | — | — | — |
body Request body (DeploymentsCancelPreviewRequest) as JSON. | object | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
kind | string | — |
id | string | — |
creationTimestamp | string | — |
name | string | — |
zone | string | — |
clientOperationId | string | — |
{
"clientOperationId": "",
"creationTimestamp": "",
"id": "",
"kind": "",
"name": "",
"ok": false,
"zone": ""
}Related Google Cloud Deployment Manager V2 nodes
See Cancel Preview 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.