Class BigQueryDestinationConfig (1.11.0)

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 google.cloud.datastream_v1.types.BigQueryDestinationConfig.SingleTargetDataset
Single destination dataset. This field is a member of oneof_ dataset_config.
source_hierarchy_datasets 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.
merge google.cloud.datastream_v1.types.BigQueryDestinationConfig.Merge
The standard mode This field is a member of oneof_ write_mode.
append_only 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.

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.