Google Cloud Datastream V1 Client - Class DestinationConfig (1.4.2)

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
NameDescription
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
TypeDescription
string

setDestinationConnectionProfile

Required. Destination connection profile resource.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGcsDestinationConfig

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

Returns
TypeDescription
Google\Cloud\Datastream\V1\GcsDestinationConfig|null

hasGcsDestinationConfig

setGcsDestinationConfig

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

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

getBigqueryDestinationConfig

BigQuery destination configuration.

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

hasBigqueryDestinationConfig

setBigqueryDestinationConfig

BigQuery destination configuration.

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

getDestinationStreamConfig

Returns
TypeDescription
string