Google Cloud Datastream V1 Client - Class BigQueryDestinationConfig (1.3.0)

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ single_target_dataset Google\Cloud\Datastream\V1\BigQueryDestinationConfig\SingleTargetDataset

Single destination dataset.

↳ source_hierarchy_datasets Google\Cloud\Datastream\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.

getSingleTargetDataset

Single destination dataset.

Returns
TypeDescription
Google\Cloud\Datastream\V1\BigQueryDestinationConfig\SingleTargetDataset|null

hasSingleTargetDataset

setSingleTargetDataset

Single destination dataset.

Parameter
NameDescription
var Google\Cloud\Datastream\V1\BigQueryDestinationConfig\SingleTargetDataset
Returns
TypeDescription
$this

getSourceHierarchyDatasets

Source hierarchy datasets.

Returns
TypeDescription
Google\Cloud\Datastream\V1\BigQueryDestinationConfig\SourceHierarchyDatasets|null

hasSourceHierarchyDatasets

setSourceHierarchyDatasets

Source hierarchy datasets.

Parameter
NameDescription
var Google\Cloud\Datastream\V1\BigQueryDestinationConfig\SourceHierarchyDatasets
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Protobuf\Duration
Returns
TypeDescription
$this

getDatasetConfig

Returns
TypeDescription
string