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.
4180 4181 4182 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4180 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
4142 4143 4144 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4142 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
4147 4148 4149 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4147 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
4152 4153 4154 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4152 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
4157 4158 4159 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4157 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
4162 4163 4164 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4162 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`
4168 4169 4170 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4168 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
4173 4174 4175 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4173 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
4178 4179 4180 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4178 def sql_server_source_config @sql_server_source_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4185 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 |