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 Reference documentation and code samples for the Google Cloud Dataform V1 Client class Operations.

Represents a list of arbitrary database operations.

Generated from protobuf message `google.cloud.dataform.v1.CompilationResultAction.Operations`

## Namespace

Google \\ Cloud \\ Dataform \\ V1 \\ CompilationResultAction

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ dependency_targets` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1.Target>` A list of actions that this action depends on. |
| `↳ disabled` | `bool` Whether this action is disabled (i.e. should not be run). |
| `↳ tags` | `string[]` Arbitrary, user-defined tags on this action. |
| `↳ relation_descriptor` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1.RelationDescriptor` Descriptor for any output relation and its columns. Only set if `has_output` is true. |
| `↳ queries` | `string[]` A list of arbitrary SQL statements that will be executed without alteration. |
| `↳ has_output` | `bool` Whether these operations produce an output relation. |

### getDependencyTargets

A list of actions that this action depends on.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1.Target>` |   |

### setDependencyTargets

A list of actions that this action depends on.

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

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

### getDisabled

Whether this action is disabled (i.e. should not be run).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setDisabled

Whether this action is disabled (i.e. should not be run).

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

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

### getTags

Arbitrary, user-defined tags on this action.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setTags

Arbitrary, user-defined tags on this action.

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

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

### getRelationDescriptor

Descriptor for any output relation and its columns. Only set if
`has_output` is true.

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

### hasRelationDescriptor

### clearRelationDescriptor

### setRelationDescriptor

Descriptor for any output relation and its columns. Only set if
`has_output` is true.

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

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

### getQueries

A list of arbitrary SQL statements that will be executed without
alteration.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\RepeatedField<string>` |   |

### setQueries

A list of arbitrary SQL statements that will be executed without
alteration.

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

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

### getHasOutput

Whether these operations produce an output relation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setHasOutput

Whether these operations produce an output relation.

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

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