2.5.3 (latest) 2.5.2 2.4.0 2.3.1 2.2.0 2.1.1 2.0.1 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Datastream V1 Client class BigQueryDestinationConfig.

BigQuery destination configuration

Generated from protobuf message `google.cloud.datastream.v1.BigQueryDestinationConfig`

## Namespace

Google \\ Cloud \\ Datastream \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ single_target_dataset` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.BigQueryDestinationConfig.SingleTargetDataset` Single destination dataset. |
| `↳ source_hierarchy_datasets` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.BigQueryDestinationConfig.SourceHierarchyDatasets` Source hierarchy datasets. |
| `↳ data_freshness` | `Google\Protobuf\Duration` The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost. |
| `↳ blmt_config` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.BigQueryDestinationConfig.BlmtConfig` Optional. Big Lake Managed Tables (BLMT) configuration. |
| `↳ merge` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.BigQueryDestinationConfig.Merge` The standard mode |
| `↳ append_only` | `https://docs.cloud.google.com/php/docs/reference/cloud-datastream/latest/V1.BigQueryDestinationConfig.AppendOnly` Append only mode |

### getSingleTargetDataset

Single destination dataset.

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

### hasSingleTargetDataset

### setSingleTargetDataset

Single destination dataset.

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

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

### getSourceHierarchyDatasets

Source hierarchy datasets.

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

### hasSourceHierarchyDatasets

### setSourceHierarchyDatasets

Source hierarchy datasets.

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

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

### getDataFreshness

The guaranteed data freshness (in seconds) when querying tables created by
the stream. Editing this field will only affect new tables created in the
future, but existing tables will not be impacted. Lower values mean that
queries will return fresher data, but may result in higher cost.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Duration|null` |   |

### hasDataFreshness

### clearDataFreshness

### setDataFreshness

The guaranteed data freshness (in seconds) when querying tables created by
the stream. Editing this field will only affect new tables created in the
future, but existing tables will not be impacted. Lower values mean that
queries will return fresher data, but may result in higher cost.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Duration` |

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

### getBlmtConfig

Optional. Big Lake Managed Tables (BLMT) configuration.

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

### hasBlmtConfig

### clearBlmtConfig

### setBlmtConfig

Optional. Big Lake Managed Tables (BLMT) configuration.

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

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

### getMerge

The standard mode

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

### hasMerge

### setMerge

The standard mode

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

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

### getAppendOnly

Append only mode

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

### hasAppendOnly

### setAppendOnly

Append only mode

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

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

### getDatasetConfig

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

### getWriteMode

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