Class: Google::Apis::DatastreamV1::SourceConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SourceConfig

Returns a new instance of SourceConfig.



4512
4513
4514
# File 'lib/google/apis/datastream_v1/classes.rb', line 4512

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#dataverse_source_configGoogle::Apis::DatastreamV1::DataverseSourceConfig

Configuration for syncing data from a Dataverse source. Corresponds to the JSON property dataverseSourceConfig



4459
4460
4461
# File 'lib/google/apis/datastream_v1/classes.rb', line 4459

def dataverse_source_config
  @dataverse_source_config
end

#mongodb_source_configGoogle::Apis::DatastreamV1::MongodbSourceConfig

Configuration for syncing data from a MongoDB source. Corresponds to the JSON property mongodbSourceConfig



4464
4465
4466
# File 'lib/google/apis/datastream_v1/classes.rb', line 4464

def mongodb_source_config
  @mongodb_source_config
end

#mysql_source_configGoogle::Apis::DatastreamV1::MysqlSourceConfig

Configuration for syncing data from a MySQL source. Corresponds to the JSON property mysqlSourceConfig



4469
4470
4471
# File 'lib/google/apis/datastream_v1/classes.rb', line 4469

def mysql_source_config
  @mysql_source_config
end

#oracle_source_configGoogle::Apis::DatastreamV1::OracleSourceConfig

Configuration for syncing data from an Oracle source. Corresponds to the JSON property oracleSourceConfig



4474
4475
4476
# File 'lib/google/apis/datastream_v1/classes.rb', line 4474

def oracle_source_config
  @oracle_source_config
end

#postgresql_source_configGoogle::Apis::DatastreamV1::PostgresqlSourceConfig

Configuration for syncing data from a PostgreSQL source. Corresponds to the JSON property postgresqlSourceConfig



4479
4480
4481
# File 'lib/google/apis/datastream_v1/classes.rb', line 4479

def postgresql_source_config
  @postgresql_source_config
end

#salesforce_marketing_cloud_source_configGoogle::Apis::DatastreamV1::SalesforceMarketingCloudSourceConfig

Configuration for syncing data from a Salesforce Marketing Cloud source. Corresponds to the JSON property salesforceMarketingCloudSourceConfig



4484
4485
4486
# File 'lib/google/apis/datastream_v1/classes.rb', line 4484

def salesforce_marketing_cloud_source_config
  @salesforce_marketing_cloud_source_config
end

#salesforce_source_configGoogle::Apis::DatastreamV1::SalesforceSourceConfig

Configuration for syncing data from a Salesforce source. Corresponds to the JSON property salesforceSourceConfig



4489
4490
4491
# File 'lib/google/apis/datastream_v1/classes.rb', line 4489

def salesforce_source_config
  @salesforce_source_config
end

#service_now_source_configGoogle::Apis::DatastreamV1::ServiceNowSourceConfig

Configuration for syncing data from a ServiceNow source. Corresponds to the JSON property serviceNowSourceConfig



4494
4495
4496
# File 'lib/google/apis/datastream_v1/classes.rb', line 4494

def service_now_source_config
  @service_now_source_config
end

#source_connection_profileString

Required. Source connection profile resource. Format: projects/project/ locations/location/connectionProfiles/name` Corresponds to the JSON propertysourceConnectionProfile`

Returns:

  • (String)


4500
4501
4502
# File 'lib/google/apis/datastream_v1/classes.rb', line 4500

def source_connection_profile
  @source_connection_profile
end

#spanner_source_configGoogle::Apis::DatastreamV1::SpannerSourceConfig

Configuration for syncing data from a Spanner source. Corresponds to the JSON property spannerSourceConfig



4505
4506
4507
# File 'lib/google/apis/datastream_v1/classes.rb', line 4505

def spanner_source_config
  @spanner_source_config
end

#sql_server_source_configGoogle::Apis::DatastreamV1::SqlServerSourceConfig

Configuration for syncing data from a SQLServer source. Corresponds to the JSON property sqlServerSourceConfig



4510
4511
4512
# File 'lib/google/apis/datastream_v1/classes.rb', line 4510

def sql_server_source_config
  @sql_server_source_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
# File 'lib/google/apis/datastream_v1/classes.rb', line 4517

def update!(**args)
  @dataverse_source_config = args[:dataverse_source_config] if args.key?(:dataverse_source_config)
  @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_marketing_cloud_source_config = args[:salesforce_marketing_cloud_source_config] if args.key?(:salesforce_marketing_cloud_source_config)
  @salesforce_source_config = args[:salesforce_source_config] if args.key?(:salesforce_source_config)
  @service_now_source_config = args[:service_now_source_config] if args.key?(:service_now_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