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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ source_connection_profile |
string
Required. Source connection profile resoource. Format: |
↳ oracle_source_config |
OracleSourceConfig
Oracle data source configuration. |
↳ mysql_source_config |
MysqlSourceConfig
MySQL data source configuration. |
↳ postgresql_source_config |
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 |
OracleSourceConfig|null |
hasOracleSourceConfig
setOracleSourceConfig
Oracle data source configuration.
Parameter | |
---|---|
Name | Description |
var |
OracleSourceConfig
|
Returns | |
---|---|
Type | Description |
$this |
getMysqlSourceConfig
MySQL data source configuration.
Returns | |
---|---|
Type | Description |
MysqlSourceConfig|null |
hasMysqlSourceConfig
setMysqlSourceConfig
MySQL data source configuration.
Parameter | |
---|---|
Name | Description |
var |
MysqlSourceConfig
|
Returns | |
---|---|
Type | Description |
$this |
getPostgresqlSourceConfig
PostgreSQL data source configuration.
Returns | |
---|---|
Type | Description |
PostgresqlSourceConfig|null |
hasPostgresqlSourceConfig
setPostgresqlSourceConfig
PostgreSQL data source configuration.
Parameter | |
---|---|
Name | Description |
var |
PostgresqlSourceConfig
|
Returns | |
---|---|
Type | Description |
$this |
getSourceStreamConfig
Returns | |
---|---|
Type | Description |
string |