0.18.0 (latest) 0.17.1 0.16.0 0.15.3 0.12.0 0.11.0 0.10.1 0.9.2 0.8.1 0.7.0 0.6.0 0.5.1 0.4.7 0.3.0 0.2.3 0.1.6

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Dataform V1beta1 Client class WorkflowInvocationAction.

Represents a single action in a workflow invocation.

Generated from protobuf message `google.cloud.dataform.v1beta1.WorkflowInvocationAction`

## Namespace

Google \\ Cloud \\ Dataform \\ V1beta1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ bigquery_action` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.WorkflowInvocationAction.BigQueryAction` Output only. The workflow action's bigquery action details. |
| `↳ notebook_action` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.WorkflowInvocationAction.NotebookAction` Output only. The workflow action's notebook action details. |
| `↳ data_preparation_action` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.WorkflowInvocationAction.DataPreparationAction` Output only. The workflow action's data preparation action details. |
| `↳ target` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.Target` Output only. This action's identifier. Unique within the workflow invocation. |
| `↳ canonical_target` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.Target` Output only. The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result. |
| `↳ state` | `int` Output only. This action's current state. |
| `↳ failure_reason` | `string` Output only. If and only if action's state is FAILED a failure reason is set. |
| `↳ invocation_timing` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Interval.html` 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. |
| `↳ internal_metadata` | `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. |

### getBigqueryAction

Output only. The workflow action's bigquery action details.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.WorkflowInvocationAction.BigQueryAction|null` |   |

### hasBigqueryAction

### setBigqueryAction

Output only. The workflow action's bigquery action details.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.WorkflowInvocationAction.BigQueryAction` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getNotebookAction

Output only. The workflow action's notebook action details.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.WorkflowInvocationAction.NotebookAction|null` |   |

### hasNotebookAction

### setNotebookAction

Output only. The workflow action's notebook action details.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.WorkflowInvocationAction.NotebookAction` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDataPreparationAction

Output only. The workflow action's data preparation action details.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.WorkflowInvocationAction.DataPreparationAction|null` |   |

### hasDataPreparationAction

### setDataPreparationAction

Output only. The workflow action's data preparation action details.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.WorkflowInvocationAction.DataPreparationAction` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getTarget

Output only. This action's identifier. Unique within the workflow
invocation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.Target|null` |   |

### hasTarget

### clearTarget

### setTarget

Output only. This action's identifier. Unique within the workflow
invocation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.Target` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCanonicalTarget

Output only. The action's identifier if the project had been compiled
without any overrides configured. Unique within the compilation result.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.Target|null` |   |

### hasCanonicalTarget

### clearCanonicalTarget

### setCanonicalTarget

Output only. The action's identifier if the project had been compiled
without any overrides configured. Unique within the compilation result.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.Target` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getState

Output only. This action's current state.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.WorkflowInvocationAction.State). |

### setState

Output only. This action's current state.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [State](https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.WorkflowInvocationAction.State). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getFailureReason

Output only. If and only if action's state is FAILED a failure reason is
set.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setFailureReason

Output only. If and only if action's state is FAILED a failure reason is
set.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getInvocationTiming

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Interval.html|null` |   |

### hasInvocationTiming

### clearInvocationTiming

### setInvocationTiming

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/common-protos/latest/Type.Interval.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getInternalMetadata

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### hasInternalMetadata

### clearInternalMetadata

### setInternalMetadata

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAction

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |