Class: Google::Apis::DatastreamV1::SourceConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::SourceConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1/classes.rb,
lib/google/apis/datastream_v1/representations.rb,
lib/google/apis/datastream_v1/representations.rb
Overview
The configuration of the stream source.
Instance Attribute Summary collapse
-
#mysql_source_config ⇒ Google::Apis::DatastreamV1::MysqlSourceConfig
MySQL source configuration Corresponds to the JSON property
mysqlSourceConfig. -
#oracle_source_config ⇒ Google::Apis::DatastreamV1::OracleSourceConfig
Oracle data source configuration Corresponds to the JSON property
oracleSourceConfig. -
#postgresql_source_config ⇒ Google::Apis::DatastreamV1::PostgresqlSourceConfig
PostgreSQL data source configuration Corresponds to the JSON property
postgresqlSourceConfig. -
#source_connection_profile ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SourceConfig
constructor
A new instance of SourceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SourceConfig
Returns a new instance of SourceConfig.
2210 2211 2212 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2210 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mysql_source_config ⇒ Google::Apis::DatastreamV1::MysqlSourceConfig
MySQL source configuration
Corresponds to the JSON property mysqlSourceConfig
2192 2193 2194 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2192 def mysql_source_config @mysql_source_config end |
#oracle_source_config ⇒ Google::Apis::DatastreamV1::OracleSourceConfig
Oracle data source configuration
Corresponds to the JSON property oracleSourceConfig
2197 2198 2199 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2197 def oracle_source_config @oracle_source_config end |
#postgresql_source_config ⇒ Google::Apis::DatastreamV1::PostgresqlSourceConfig
PostgreSQL data source configuration
Corresponds to the JSON property postgresqlSourceConfig
2202 2203 2204 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2202 def postgresql_source_config @postgresql_source_config end |
#source_connection_profile ⇒ String
Required. Source connection profile resoource. Format: projects/project/
locations/location/connectionProfiles/name`
Corresponds to the JSON propertysourceConnectionProfile`
2208 2209 2210 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2208 def source_connection_profile @source_connection_profile end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2215 2216 2217 2218 2219 2220 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2215 def update!(**args) @mysql_source_config = args[:mysql_source_config] if args.key?(:mysql_source_config) @oracle_source_config = args[:oracle_source_config] if args.key?(:oracle_source_config) @postgresql_source_config = args[:postgresql_source_config] if args.key?(:postgresql_source_config) @source_connection_profile = args[:source_connection_profile] if args.key?(:source_connection_profile) end |