# Class BigQueryDestinationConfig (1.19.0)

1.19.0 (latest) 1.18.0 1.17.0 1.16.0 1.15.0 1.14.1 1.13.2 1.12.0 1.11.0 1.10.1 1.9.5 1.8.0 1.7.0 1.6.1 1.5.1 1.4.1 1.3.0 1.2.2 1.1.1 1.0.2 0.4.3 0.3.1 0.2.0 0.1.3

    BigQueryDestinationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

BigQuery destination configuration

This message has `oneof`_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `single_target_dataset` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.BigQueryDestinationConfig.SingleTargetDataset` Single destination dataset. This field is a member of `oneof`_ `dataset_config`. |
| `source_hierarchy_datasets` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.BigQueryDestinationConfig.SourceHierarchyDatasets` Source hierarchy datasets. This field is a member of `oneof`_ `dataset_config`. |
| `data_freshness` | `google.protobuf.duration_pb2.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/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.BigQueryDestinationConfig.BlmtConfig` Optional. Big Lake Managed Tables (BLMT) configuration. |
| `merge` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.BigQueryDestinationConfig.Merge` The standard mode This field is a member of `oneof`_ `write_mode`. |
| `append_only` | `https://docs.cloud.google.com/python/docs/reference/datastream/latest/google.cloud.datastream_v1.types.BigQueryDestinationConfig.AppendOnly` Append only mode This field is a member of `oneof`_ `write_mode`. |

## Classes

### AppendOnly

    AppendOnly(mapping=None, *, ignore_unknown_fields=False, **kwargs)

AppendOnly mode defines that all changes to a table will be
written to the destination table.

### BlmtConfig

    BlmtConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The configuration for BLMT.

### Merge

    Merge(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Merge mode defines that all changes to a table will be merged
at the destination table.

### SingleTargetDataset

    SingleTargetDataset(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A single target dataset to which all data will be streamed.

### SourceHierarchyDatasets

    SourceHierarchyDatasets(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Destination datasets are created so that hierarchy of the
destination data objects matches the source hierarchy.

.. _oneof: <https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields>