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

Describes a relation and its columns.

Generated from protobuf message `google.cloud.dataform.v1.RelationDescriptor`

## Namespace

Google \\ Cloud \\ Dataform \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ description` | `string` A text description of the relation. |
| `↳ columns` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-dataform/latest/V1.RelationDescriptor.ColumnDescriptor>` A list of descriptions of columns within the relation. |
| `↳ bigquery_labels` | `array|Google\Protobuf\Internal\MapField` A set of BigQuery labels that should be applied to the relation. |

### getDescription

A text description of the relation.

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

### setDescription

A text description of the relation.

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

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

### getColumns

A list of descriptions of columns within the relation.

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

### setColumns

A list of descriptions of columns within the relation.

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

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

### getBigqueryLabels

A set of BigQuery labels that should be applied to the relation.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Internal\MapField` |   |

### setBigqueryLabels

A set of BigQuery labels that should be applied to the relation.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|Google\Protobuf\Internal\MapField` |

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