Google Cloud Datastream V1 Client - Class SourceConfig (2.0.1)

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

The configuration of the stream source.

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

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ source_connection_profile string

Required. Source connection profile resoource. Format: projects/{project}/locations/{location}/connectionProfiles/{name}

↳ oracle_source_config Google\Cloud\Datastream\V1\OracleSourceConfig

Oracle data source configuration.

↳ mysql_source_config Google\Cloud\Datastream\V1\MysqlSourceConfig

MySQL data source configuration.

↳ postgresql_source_config Google\Cloud\Datastream\V1\PostgresqlSourceConfig

PostgreSQL data source configuration.

getSourceConnectionProfile

Required. Source connection profile resoource.

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

Returns
Type Description
string

setSourceConnectionProfile

Required. Source connection profile resoource.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getOracleSourceConfig

Oracle data source configuration.

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

hasOracleSourceConfig

setOracleSourceConfig

Oracle data source configuration.

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

getMysqlSourceConfig

MySQL data source configuration.

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

hasMysqlSourceConfig

setMysqlSourceConfig

MySQL data source configuration.

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

getPostgresqlSourceConfig

PostgreSQL data source configuration.

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

hasPostgresqlSourceConfig

setPostgresqlSourceConfig

PostgreSQL data source configuration.

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

getSourceStreamConfig

Returns
Type Description
string