Google Cloud Datastream V1 Client - Class SourceConfig (1.0.5)

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

Methods

__construct

Constructor.

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

setSourceConnectionProfile

Required. Source connection profile resoource.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOracleSourceConfig

Oracle data source configuration.

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

hasOracleSourceConfig

setOracleSourceConfig

Oracle data source configuration.

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

getMysqlSourceConfig

MySQL data source configuration.

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

hasMysqlSourceConfig

setMysqlSourceConfig

MySQL data source configuration.

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

getPostgresqlSourceConfig

PostgreSQL data source configuration.

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

hasPostgresqlSourceConfig

setPostgresqlSourceConfig

PostgreSQL data source configuration.

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

getSourceStreamConfig

Returns
TypeDescription
string