0.15.0 (latest) 0.14.2 0.13.1 0.12.1 0.11.0 0.10.1 0.9.0 0.8.1 0.7.2 0.6.0 0.5.1 0.4.0 0.3.6 Reference documentation and code samples for the Workflows Executions V1beta API class Google::Cloud::Workflows::Executions::V1beta::Execution.

A running instance of a \[Workflow\]\[google.cloud.workflows.v1beta.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.

### #argument=

    def argument=(value) -> ::String

**Parameter**

- **value** (::String) --- Input parameters of the execution represented as a JSON string. The size limit is 32KB.
**Returns**

- (::String) --- Input parameters of the execution represented as a JSON string. The size limit is 32KB.

### #end_time

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

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workflows-executions-v1beta/latest/Google-Protobuf-Timestamp)) --- Output only. Marks the end of execution, successful or not.

### #error

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

**Returns**

- ([::Google::Cloud::Workflows::Executions::V1beta::Execution::Error](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workflows-executions-v1beta/latest/Google-Cloud-Workflows-Executions-V1beta-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`.

### #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**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workflows-executions-v1beta/latest/Google-Protobuf-Timestamp)) --- Output only. Marks the beginning of execution.

### #state

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

**Returns**

- ([::Google::Cloud::Workflows::Executions::V1beta::Execution::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-workflows-executions-v1beta/latest/Google-Cloud-Workflows-Executions-V1beta-Execution-State)) --- Output only. Current state of the execution.

### #workflow_revision_id

    def workflow_revision_id() -> ::String

**Returns**

- (::String) --- Output only. Revision of the workflow this execution is using.