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
-
#mongodb_source_config ⇒ Google::Apis::DatastreamV1::MongodbSourceConfig
MongoDB source configuration.
-
#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. -
#salesforce_source_config ⇒ Google::Apis::DatastreamV1::SalesforceSourceConfig
Salesforce source configuration Corresponds to the JSON property
salesforceSourceConfig. -
#source_connection_profile ⇒ String
Required.
-
#sql_server_source_config ⇒ Google::Apis::DatastreamV1::SqlServerSourceConfig
SQLServer data source configuration Corresponds to the JSON property
sqlServerSourceConfig.
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.
3648 3649 3650 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3648 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mongodb_source_config ⇒ Google::Apis::DatastreamV1::MongodbSourceConfig
MongoDB source configuration.
Corresponds to the JSON property mongodbSourceConfig
3615 3616 3617 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3615 def mongodb_source_config @mongodb_source_config end |
#mysql_source_config ⇒ Google::Apis::DatastreamV1::MysqlSourceConfig
MySQL source configuration
Corresponds to the JSON property mysqlSourceConfig
3620 3621 3622 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3620 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
3625 3626 3627 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3625 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
3630 3631 3632 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3630 def postgresql_source_config @postgresql_source_config end |
#salesforce_source_config ⇒ Google::Apis::DatastreamV1::SalesforceSourceConfig
Salesforce source configuration
Corresponds to the JSON property salesforceSourceConfig
3635 3636 3637 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3635 def salesforce_source_config @salesforce_source_config end |
#source_connection_profile ⇒ String
Required. Source connection profile resource. Format: projects/project/
locations/location/connectionProfiles/name`
Corresponds to the JSON propertysourceConnectionProfile`
3641 3642 3643 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3641 def source_connection_profile @source_connection_profile end |
#sql_server_source_config ⇒ Google::Apis::DatastreamV1::SqlServerSourceConfig
SQLServer data source configuration
Corresponds to the JSON property sqlServerSourceConfig
3646 3647 3648 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3646 def sql_server_source_config @sql_server_source_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3653 3654 3655 3656 3657 3658 3659 3660 3661 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3653 def update!(**args) @mongodb_source_config = args[:mongodb_source_config] if args.key?(:mongodb_source_config) @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) @salesforce_source_config = args[:salesforce_source_config] if args.key?(:salesforce_source_config) @source_connection_profile = args[:source_connection_profile] if args.key?(:source_connection_profile) @sql_server_source_config = args[:sql_server_source_config] if args.key?(:sql_server_source_config) end |