Google Cloud Datastream V1 Client - Class BigQueryDestinationConfig (2.1.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
Name Description
data array

Optional. Data for populating the Message object.

↳ single_target_dataset BigQueryDestinationConfig\SingleTargetDataset

Single destination dataset.

↳ source_hierarchy_datasets 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.

↳ merge BigQueryDestinationConfig\Merge

The standard mode

↳ append_only BigQueryDestinationConfig\AppendOnly

Append only mode

getSingleTargetDataset

Single destination dataset.

Returns
Type Description
BigQueryDestinationConfig\SingleTargetDataset|null

hasSingleTargetDataset

setSingleTargetDataset

Single destination dataset.

Parameter
Name Description
var BigQueryDestinationConfig\SingleTargetDataset
Returns
Type Description
$this

getSourceHierarchyDatasets

Source hierarchy datasets.

Returns
Type Description
BigQueryDestinationConfig\SourceHierarchyDatasets|null

hasSourceHierarchyDatasets

setSourceHierarchyDatasets

Source hierarchy datasets.

Parameter
Name Description
var 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

getMerge

The standard mode

Returns
Type Description
BigQueryDestinationConfig\Merge|null

hasMerge

setMerge

The standard mode

Parameter
Name Description
var BigQueryDestinationConfig\Merge
Returns
Type Description
$this

getAppendOnly

Append only mode

Returns
Type Description
BigQueryDestinationConfig\AppendOnly|null

hasAppendOnly

setAppendOnly

Append only mode

Parameter
Name Description
var BigQueryDestinationConfig\AppendOnly
Returns
Type Description
$this

getDatasetConfig

Returns
Type Description
string

getWriteMode

Returns
Type Description
string