# Dataform V1beta1 API - Class Google::Cloud::Dataform::V1beta1::WorkflowInvocationAction (v0.15.0)

0.15.0 (latest) 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.1 0.6.2 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Dataform V1beta1 API class Google::Cloud::Dataform::V1beta1::WorkflowInvocationAction.

Represents a single action in a workflow invocation.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #bigquery_action

    def bigquery_action() -> ::Google::Cloud::Dataform::V1beta1::WorkflowInvocationAction::BigQueryAction

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::WorkflowInvocationAction::BigQueryAction](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-WorkflowInvocationAction-BigQueryAction)) --- Output only. The workflow action's bigquery action details.


  Note: The following fields are mutually exclusive: `bigquery_action`, `notebook_action`, `data_preparation_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #canonical_target

    def canonical_target() -> ::Google::Cloud::Dataform::V1beta1::Target

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::Target](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-Target)) --- Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result.

### #data_preparation_action

    def data_preparation_action() -> ::Google::Cloud::Dataform::V1beta1::WorkflowInvocationAction::DataPreparationAction

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::WorkflowInvocationAction::DataPreparationAction](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-WorkflowInvocationAction-DataPreparationAction)) --- Output only. The workflow action's data preparation action details.


  Note: The following fields are mutually exclusive: `data_preparation_action`, `bigquery_action`, `notebook_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #failure_reason

    def failure_reason() -> ::String

**Returns**

- (::String) --- Output only. If and only if action's state is FAILED a failure reason is set.

### #internal_metadata

    def internal_metadata() -> ::String

**Returns**

- (::String) --- Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string.

### #invocation_timing

    def invocation_timing() -> ::Google::Type::Interval

**Returns**

- ([::Google::Type::Interval](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Type-Interval)) --- Output only. This action's timing details. `start_time` will be set if the action is in \[RUNNING, SUCCEEDED, CANCELLED, FAILED\] state. `end_time` will be set if the action is in \[SUCCEEDED, CANCELLED, FAILED\] state.

### #notebook_action

    def notebook_action() -> ::Google::Cloud::Dataform::V1beta1::WorkflowInvocationAction::NotebookAction

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::WorkflowInvocationAction::NotebookAction](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-WorkflowInvocationAction-NotebookAction)) --- Output only. The workflow action's notebook action details.


  Note: The following fields are mutually exclusive: `notebook_action`, `bigquery_action`, `data_preparation_action`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #state

    def state() -> ::Google::Cloud::Dataform::V1beta1::WorkflowInvocationAction::State

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::WorkflowInvocationAction::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-WorkflowInvocationAction-State)) --- Output only. This action's current state.

### #target

    def target() -> ::Google::Cloud::Dataform::V1beta1::Target

**Returns**

- ([::Google::Cloud::Dataform::V1beta1::Target](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataform-v1beta1/latest/Google-Cloud-Dataform-V1beta1-Target)) --- Output only. This action's identifier. Unique within the workflow invocation.