Execution(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A running instance of a Workflow.
Attributes | |
---|---|
Name | Description |
name |
str
Output only. The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} |
start_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Marks the beginning of execution. |
end_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Marks the end of execution, successful or not. |
state |
google.cloud.workflows.executions_v1beta.types.Execution.State
Output only. Current state of the execution. |
argument |
str
Input parameters of the execution represented as a JSON string. The size limit is 32KB. |
result |
str
Output only. Output of the execution represented as a JSON string. The value can only be present if the execution's state is SUCCEEDED .
|
error |
google.cloud.workflows.executions_v1beta.types.Execution.Error
Output only. The error which caused the execution to finish prematurely. The value is only present if the execution's state is FAILED or CANCELLED .
|
workflow_revision_id |
str
Output only. Revision of the workflow this execution is using. |
Classes
Error
Error(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Error describes why the execution was abnormally terminated.
State
State(value)
Describes the current state of the execution. More states may be added in the future.
Values: STATE_UNSPECIFIED (0): Invalid state. ACTIVE (1): The execution is in progress. SUCCEEDED (2): The execution finished successfully. FAILED (3): The execution failed with an error. CANCELLED (4): The execution was stopped intentionally.