Workflows Executions V1 API - Class Google::Cloud::Workflows::Executions::V1::Execution (v0.2.0)

Reference documentation and code samples for the Workflows Executions V1 API class Google::Cloud::Workflows::Executions::V1::Execution.

A running instance of a Workflow.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#argument

def argument() -> ::String
Returns
  • (::String) — 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\"}"}'

#argument=

def argument=(value) -> ::String
Parameter
  • value (::String) — 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\"}"}'

Returns
  • (::String) — 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\"}"}'

#call_log_level

def call_log_level() -> ::Google::Cloud::Workflows::Executions::V1::Execution::CallLogLevel
Returns

#call_log_level=

def call_log_level=(value) -> ::Google::Cloud::Workflows::Executions::V1::Execution::CallLogLevel
Parameter
Returns

#end_time

def end_time() -> ::Google::Protobuf::Timestamp
Returns

#error

def error() -> ::Google::Cloud::Workflows::Executions::V1::Execution::Error
Returns

#name

def name() -> ::String
Returns
  • (::String) — Output only. The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}

#result

def result() -> ::String
Returns
  • (::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.

#start_time

def start_time() -> ::Google::Protobuf::Timestamp
Returns

#state

def state() -> ::Google::Cloud::Workflows::Executions::V1::Execution::State
Returns

#workflow_revision_id

def workflow_revision_id() -> ::String
Returns
  • (::String) — Output only. Revision of the workflow this execution is using.