Google Cloud Datastream V1 Client - Class DestinationConfig (1.0.5)

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

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.