Google Cloud Datastream V1 Client - Class BigQueryDestinationConfig (2.0.0-RC1)

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 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
Type Description
Google\Cloud\Datastream\V1\BigQueryDestinationConfig\SingleTargetDataset|null

hasSingleTargetDataset

setSingleTargetDataset

Single destination dataset.

Parameter
Name Description
var Google\Cloud\Datastream\V1\BigQueryDestinationConfig\SingleTargetDataset
Returns
Type Description
$this

getSourceHierarchyDatasets

Source hierarchy datasets.

Returns
Type Description
Google\Cloud\Datastream\V1\BigQueryDestinationConfig\SourceHierarchyDatasets|null

hasSourceHierarchyDatasets

setSourceHierarchyDatasets

Source hierarchy datasets.

Parameter
Name Description
var Google\Cloud\Datastream\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

getDatasetConfig

Returns
Type Description
string