Class: Google::Apis::DatastreamV1alpha1::SourceConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1alpha1::SourceConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1alpha1/classes.rb,
lib/google/apis/datastream_v1alpha1/representations.rb,
lib/google/apis/datastream_v1alpha1/representations.rb
Overview
The configuration of the stream source.
Instance Attribute Summary collapse
-
#mysql_source_config ⇒ Google::Apis::DatastreamV1alpha1::MysqlSourceConfig
MySQL source configuration Corresponds to the JSON property
mysqlSourceConfig. -
#oracle_source_config ⇒ Google::Apis::DatastreamV1alpha1::OracleSourceConfig
Oracle data source configuration Corresponds to the JSON property
oracleSourceConfig. -
#source_connection_profile_name ⇒ 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.
1646 1647 1648 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1646 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mysql_source_config ⇒ Google::Apis::DatastreamV1alpha1::MysqlSourceConfig
MySQL source configuration
Corresponds to the JSON property mysqlSourceConfig
1634 1635 1636 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1634 def mysql_source_config @mysql_source_config end |
#oracle_source_config ⇒ Google::Apis::DatastreamV1alpha1::OracleSourceConfig
Oracle data source configuration
Corresponds to the JSON property oracleSourceConfig
1639 1640 1641 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1639 def oracle_source_config @oracle_source_config end |
#source_connection_profile_name ⇒ String
Required. Source connection profile identifier.
Corresponds to the JSON property sourceConnectionProfileName
1644 1645 1646 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1644 def source_connection_profile_name @source_connection_profile_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1651 1652 1653 1654 1655 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1651 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) @source_connection_profile_name = args[:source_connection_profile_name] if args.key?(:source_connection_profile_name) end |