File: //snap/google-cloud-cli/current/lib/surface/workflows/executions/cancel.yaml
- release_tracks: [ALPHA, BETA, GA]
help_text:
brief: |
Cancel a workflow execution
description: |
Cancel a workflow execution.
examples: |
To cancel an execution with ID 'my-workflow-execution-ID' from a
workflow named 'my-workflow', run:
$ {command} my-workflow-execution-ID --workflow=my-workflow
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.workflows.resources:execution
help_text: |
The name of the workflow execution to cancel.
input:
confirmation_prompt: |
You are about to cancel execution [{__name__}] of workflow [{workflowsId}].
request:
ALPHA:
api_version: v1alpha1
BETA:
api_version: v1beta
GA:
api_version: v1
method: cancel
collection: workflowexecutions.projects.locations.workflows.executions
modify_request_hooks:
- googlecloudsdk.command_lib.workflows.hooks:print_default_location_warning