Class Execution (1.7.1)

Execution(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A running instance of a Workflow.

Attributes

NameDescription
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.

Inheritance

builtins.object > proto.message.Message > Execution

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.