class Google::Apis::WorkflowexecutionsV1beta::Execution
A running instance of a [Workflow](/workflows/docs/reference/rest/v1beta/ projects.locations.workflows).
Attributes
Input parameters of the execution represented as a JSON string. The size limit is 32KB. Note: If you are using the REST API directly to run your workflow, you must escape any JSON string value of `argument`. Example: `'`“argument”:“`\ ”firstName":"FIRST","lastName":"LAST"`“`'` Corresponds to the JSON property `argument` @return [String]
The call logging level associated to this execution. Corresponds to the JSON property `callLogLevel` @return [String]
Output only. Marks the end of execution, successful or not. Corresponds to the JSON property `endTime` @return [String]
Error
describes why the execution was abnormally terminated. Corresponds to the JSON property `error` @return [Google::Apis::WorkflowexecutionsV1beta::Error]
Output only. The resource name of the execution. Format: projects/`project`/ locations/`location`/workflows/`workflow`/executions/`execution` Corresponds to the JSON property `name` @return [String]
Output only. Output of the execution represented as a JSON string. The value can only be present if the execution's state is `SUCCEEDED`. Corresponds to the JSON property `result` @return [String]
Output only. Marks the beginning of execution. Corresponds to the JSON property `startTime` @return [String]
Output only. Current state of the execution. Corresponds to the JSON property `state` @return [String]
Output only. Revision of the workflow this execution is using. Corresponds to the JSON property `workflowRevisionId` @return [String]
Public Class Methods
# File lib/google/apis/workflowexecutions_v1beta/classes.rb, line 124 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/workflowexecutions_v1beta/classes.rb, line 129 def update!(**args) @argument = args[:argument] if args.key?(:argument) @call_log_level = args[:call_log_level] if args.key?(:call_log_level) @end_time = args[:end_time] if args.key?(:end_time) @error = args[:error] if args.key?(:error) @name = args[:name] if args.key?(:name) @result = args[:result] if args.key?(:result) @start_time = args[:start_time] if args.key?(:start_time) @state = args[:state] if args.key?(:state) @workflow_revision_id = args[:workflow_revision_id] if args.key?(:workflow_revision_id) end