# Datastream V1 API - Class Google::Cloud::Datastream::V1::BigQueryDestinationConfig (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.1 1.0.0 0.13.0 0.12.0 0.11.0 0.10.1 0.9.2 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Datastream V1 API class Google::Cloud::Datastream::V1::BigQueryDestinationConfig.

BigQuery destination configuration

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #append_only

    def append_only() -> ::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::AppendOnly

**Returns**

- ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::AppendOnly](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-AppendOnly)) --- Append only mode


  Note: The following fields are mutually exclusive: `append_only`, `merge`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #append_only=

    def append_only=(value) -> ::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::AppendOnly

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::AppendOnly](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-AppendOnly)) --- Append only mode


  Note: The following fields are mutually exclusive: `append_only`, `merge`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::AppendOnly](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-AppendOnly)) --- Append only mode


  Note: The following fields are mutually exclusive: `append_only`, `merge`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #blmt_config

    def blmt_config() -> ::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::BlmtConfig

**Returns**

- ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::BlmtConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-BlmtConfig)) --- Optional. Big Lake Managed Tables (BLMT) configuration.

### #blmt_config=

    def blmt_config=(value) -> ::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::BlmtConfig

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::BlmtConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-BlmtConfig)) --- Optional. Big Lake Managed Tables (BLMT) configuration.
**Returns**

- ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::BlmtConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-BlmtConfig)) --- Optional. Big Lake Managed Tables (BLMT) configuration.

### #data_freshness

    def data_freshness() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/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.

### #data_freshness=

    def data_freshness=(value) -> ::Google::Protobuf::Duration

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/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.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/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.

### #merge

    def merge() -> ::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::Merge

**Returns**

- ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::Merge](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-Merge)) --- The standard mode


  Note: The following fields are mutually exclusive: `merge`, `append_only`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #merge=

    def merge=(value) -> ::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::Merge

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::Merge](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-Merge)) --- The standard mode


  Note: The following fields are mutually exclusive: `merge`, `append_only`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::Merge](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-Merge)) --- The standard mode


  Note: The following fields are mutually exclusive: `merge`, `append_only`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #single_target_dataset

    def single_target_dataset() -> ::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SingleTargetDataset

**Returns**

- ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SingleTargetDataset](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-SingleTargetDataset)) --- Single destination dataset.


  Note: The following fields are mutually exclusive: `single_target_dataset`, `source_hierarchy_datasets`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #single_target_dataset=

    def single_target_dataset=(value) -> ::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SingleTargetDataset

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SingleTargetDataset](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-SingleTargetDataset)) --- Single destination dataset.


  Note: The following fields are mutually exclusive: `single_target_dataset`, `source_hierarchy_datasets`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SingleTargetDataset](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-SingleTargetDataset)) --- Single destination dataset.


  Note: The following fields are mutually exclusive: `single_target_dataset`, `source_hierarchy_datasets`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #source_hierarchy_datasets

    def source_hierarchy_datasets() -> ::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets

**Returns**

- ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-SourceHierarchyDatasets)) --- Source hierarchy datasets.


  Note: The following fields are mutually exclusive: `source_hierarchy_datasets`, `single_target_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #source_hierarchy_datasets=

    def source_hierarchy_datasets=(value) -> ::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets

**Parameter**

- **value** ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-SourceHierarchyDatasets)) --- Source hierarchy datasets.


  Note: The following fields are mutually exclusive: `source_hierarchy_datasets`, `single_target_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Datastream::V1::BigQueryDestinationConfig::SourceHierarchyDatasets](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastream-v1/latest/Google-Cloud-Datastream-V1-BigQueryDestinationConfig-SourceHierarchyDatasets)) --- Source hierarchy datasets.


  Note: The following fields are mutually exclusive: `source_hierarchy_datasets`, `single_target_dataset`. If a field in that set is populated, all other fields in the set will automatically be cleared.