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
Configuration for syncing data from a MongoDB source.
-
#mysql_source_config ⇒ Google::Apis::DatastreamV1::MysqlSourceConfig
Configuration for syncing data from a MySQL source.
-
#oracle_source_config ⇒ Google::Apis::DatastreamV1::OracleSourceConfig
Configuration for syncing data from an Oracle source.
-
#postgresql_source_config ⇒ Google::Apis::DatastreamV1::PostgresqlSourceConfig
Configuration for syncing data from a PostgreSQL source.
-
#salesforce_source_config ⇒ Google::Apis::DatastreamV1::SalesforceSourceConfig
Configuration for syncing data from a Salesforce source.
-
#source_connection_profile ⇒ String
Required.
-
#spanner_source_config ⇒ Google::Apis::DatastreamV1::SpannerSourceConfig
Configuration for syncing data from a Spanner source.
-
#sql_server_source_config ⇒ Google::Apis::DatastreamV1::SqlServerSourceConfig
Configuration for syncing data from a SQLServer source.
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.
4186 4187 4188 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4186 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mongodb_source_config ⇒ Google::Apis::DatastreamV1::MongodbSourceConfig
Configuration for syncing data from a MongoDB source.
Corresponds to the JSON property mongodbSourceConfig
4148 4149 4150 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4148 def mongodb_source_config @mongodb_source_config end |
#mysql_source_config ⇒ Google::Apis::DatastreamV1::MysqlSourceConfig
Configuration for syncing data from a MySQL source.
Corresponds to the JSON property mysqlSourceConfig
4153 4154 4155 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4153 def mysql_source_config @mysql_source_config end |
#oracle_source_config ⇒ Google::Apis::DatastreamV1::OracleSourceConfig
Configuration for syncing data from an Oracle source.
Corresponds to the JSON property oracleSourceConfig
4158 4159 4160 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4158 def oracle_source_config @oracle_source_config end |
#postgresql_source_config ⇒ Google::Apis::DatastreamV1::PostgresqlSourceConfig
Configuration for syncing data from a PostgreSQL source.
Corresponds to the JSON property postgresqlSourceConfig
4163 4164 4165 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4163 def postgresql_source_config @postgresql_source_config end |
#salesforce_source_config ⇒ Google::Apis::DatastreamV1::SalesforceSourceConfig
Configuration for syncing data from a Salesforce source.
Corresponds to the JSON property salesforceSourceConfig
4168 4169 4170 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4168 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`
4174 4175 4176 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4174 def source_connection_profile @source_connection_profile end |
#spanner_source_config ⇒ Google::Apis::DatastreamV1::SpannerSourceConfig
Configuration for syncing data from a Spanner source.
Corresponds to the JSON property spannerSourceConfig
4179 4180 4181 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4179 def spanner_source_config @spanner_source_config end |
#sql_server_source_config ⇒ Google::Apis::DatastreamV1::SqlServerSourceConfig
Configuration for syncing data from a SQLServer source.
Corresponds to the JSON property sqlServerSourceConfig
4184 4185 4186 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4184 def sql_server_source_config @sql_server_source_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4191 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) @spanner_source_config = args[:spanner_source_config] if args.key?(:spanner_source_config) @sql_server_source_config = args[:sql_server_source_config] if args.key?(:sql_server_source_config) end |