File: //lib/google-cloud-sdk/lib/surface/workflows/execute.yaml
- release_tracks: [BETA]
command_type: CREATE
help_text:
brief: |
Execute a workflow
description: |
Execute a workflow.
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.workflows.resources:workflow_for_executions
is_parent_resource: true
help_text: |
Name of the workflow to execute.
params:
- arg_name: data
api_field: execution.argument
help_text: |
JSON string with data that will be passed to the workflow as an argument.
request:
api_version: v1beta
collection: workflowexecutions.projects.locations.workflows.executions
response:
modify_response_hooks:
- googlecloudsdk.command_lib.workflows.hooks:print_describe_instruction
- release_tracks: [ALPHA]
command_type: CREATE
help_text:
brief: |
Execute a workflow
description: |
Execute a workflow.
arguments:
resource:
spec: !REF googlecloudsdk.command_lib.workflows.resources:workflow_for_executions
is_parent_resource: true
help_text: |
Name of the workflow to execute.
params:
- arg_name: data
api_field: execution.argument
help_text: |
JSON string with data that will be passed to the workflow as an argument.
request:
api_version: v1alpha1
collection: workflowexecutions.projects.locations.workflows.executions
response:
modify_response_hooks:
- googlecloudsdk.command_lib.workflows.hooks:print_describe_instruction