Google Cloud Datastream V1 Client - Class DestinationConfig (2.0.1)

Reference documentation and code samples for the Google Cloud Datastream V1 Client class DestinationConfig.

The configuration of the stream destination.

Generated from protobuf message google.cloud.datastream.v1.DestinationConfig

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ destination_connection_profile string

Required. Destination connection profile resource. Format: projects/{project}/locations/{location}/connectionProfiles/{name}

↳ gcs_destination_config GcsDestinationConfig

A configuration for how data should be loaded to Cloud Storage.

↳ bigquery_destination_config BigQueryDestinationConfig

BigQuery destination configuration.

getDestinationConnectionProfile

Required. Destination connection profile resource.

Format: projects/{project}/locations/{location}/connectionProfiles/{name}

Returns
Type Description
string

setDestinationConnectionProfile

Required. Destination connection profile resource.

Format: projects/{project}/locations/{location}/connectionProfiles/{name}

Parameter
Name Description
var string
Returns
Type Description
$this

getGcsDestinationConfig

A configuration for how data should be loaded to Cloud Storage.

Returns
Type Description
GcsDestinationConfig|null

hasGcsDestinationConfig

setGcsDestinationConfig

A configuration for how data should be loaded to Cloud Storage.

Parameter
Name Description
var GcsDestinationConfig
Returns
Type Description
$this

getBigqueryDestinationConfig

BigQuery destination configuration.

Returns
Type Description
BigQueryDestinationConfig|null

hasBigqueryDestinationConfig

setBigqueryDestinationConfig

BigQuery destination configuration.

Parameter
Name Description
var BigQueryDestinationConfig
Returns
Type Description
$this

getDestinationStreamConfig

Returns
Type Description
string