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

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 Google\Cloud\Datastream\V1\GcsDestinationConfig

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

↳ bigquery_destination_config Google\Cloud\Datastream\V1\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
Google\Cloud\Datastream\V1\GcsDestinationConfig|null

hasGcsDestinationConfig

setGcsDestinationConfig

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

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

getBigqueryDestinationConfig

BigQuery destination configuration.

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

hasBigqueryDestinationConfig

setBigqueryDestinationConfig

BigQuery destination configuration.

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

getDestinationStreamConfig

Returns
Type Description
string