class Google::Apis::WorkflowexecutionsV1::Execution

A running instance of a [Workflow](/workflows/docs/reference/rest/v1/projects. locations.workflows).

Attributes

argument[RW]

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]

call_log_level[RW]

The call logging level associated to this execution. Corresponds to the JSON property `callLogLevel` @return [String]

end_time[RW]

Output only. Marks the end of execution, successful or not. Corresponds to the JSON property `endTime` @return [String]

error[RW]

Error describes why the execution was abnormally terminated. Corresponds to the JSON property `error` @return [Google::Apis::WorkflowexecutionsV1::Error]

name[RW]

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]

result[RW]

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]

start_time[RW]

Output only. Marks the beginning of execution. Corresponds to the JSON property `startTime` @return [String]

state[RW]

Output only. Current state of the execution. Corresponds to the JSON property `state` @return [String]

workflow_revision_id[RW]

Output only. Revision of the workflow this execution is using. Corresponds to the JSON property `workflowRevisionId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/workflowexecutions_v1/classes.rb, line 124
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/workflowexecutions_v1/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