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 CompilationResultAction.

Represents a single Dataform action in a compilation result.

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

## Namespace

Google \\ Cloud \\ Dataform \\ V1beta1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ relation` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.CompilationResultAction.Relation` The database relation created/updated by this action. |
| `↳ operations` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.CompilationResultAction.Operations` The database operations executed by this action. |
| `↳ assertion` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.CompilationResultAction.Assertion` The assertion executed by this action. |
| `↳ declaration` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.CompilationResultAction.Declaration` The declaration declared by this action. |
| `↳ notebook` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.CompilationResultAction.Notebook` The notebook executed by this action. |
| `↳ data_preparation` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.CompilationResultAction.DataPreparation` The data preparation executed by this action. |
| `↳ target` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.Target` This action's identifier. Unique within the compilation result. |
| `↳ canonical_target` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.Target` The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result. |
| `↳ file_path` | `string` The full path including filename in which this action is located, relative to the workspace root. |
| `↳ 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. |

### getRelation

The database relation created/updated by this action.

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

### hasRelation

### setRelation

The database relation created/updated by this action.

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

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

### getOperations

The database operations executed by this action.

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

### hasOperations

### setOperations

The database operations executed by this action.

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

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

### getAssertion

The assertion executed by this action.

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

### hasAssertion

### setAssertion

The assertion executed by this action.

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

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

### getDeclaration

The declaration declared by this action.

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

### hasDeclaration

### setDeclaration

The declaration declared by this action.

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

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

### getNotebook

The notebook executed by this action.

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

### hasNotebook

### setNotebook

The notebook executed by this action.

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

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

### getDataPreparation

The data preparation executed by this action.

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

### hasDataPreparation

### setDataPreparation

The data preparation executed by this action.

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

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

### getTarget

This action's identifier. Unique within the compilation result.

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

### hasTarget

### clearTarget

### setTarget

This action's identifier. 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` |   |

### getCanonicalTarget

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

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` |   |

### getFilePath

The full path including filename in which this action is located, relative
to the workspace root.

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

### setFilePath

The full path including filename in which this action is located, relative
to the workspace root.

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

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

### getCompiledObject

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