Class: Google::Apis::DatastreamV1::DiscoverConnectionProfileResponse

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

Response from a discover request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DiscoverConnectionProfileResponse

Returns a new instance of DiscoverConnectionProfileResponse.



833
834
835
# File 'lib/google/apis/datastream_v1/classes.rb', line 833

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

Instance Attribute Details

#mongodb_clusterGoogle::Apis::DatastreamV1::MongodbCluster

MongoDB Cluster structure. Corresponds to the JSON property mongodbCluster



801
802
803
# File 'lib/google/apis/datastream_v1/classes.rb', line 801

def mongodb_cluster
  @mongodb_cluster
end

#mysql_rdbmsGoogle::Apis::DatastreamV1::MysqlRdbms

MySQL database structure Corresponds to the JSON property mysqlRdbms



806
807
808
# File 'lib/google/apis/datastream_v1/classes.rb', line 806

def mysql_rdbms
  @mysql_rdbms
end

#oracle_rdbmsGoogle::Apis::DatastreamV1::OracleRdbms

Oracle database structure. Corresponds to the JSON property oracleRdbms



811
812
813
# File 'lib/google/apis/datastream_v1/classes.rb', line 811

def oracle_rdbms
  @oracle_rdbms
end

#postgresql_rdbmsGoogle::Apis::DatastreamV1::PostgresqlRdbms

PostgreSQL database structure. Corresponds to the JSON property postgresqlRdbms



816
817
818
# File 'lib/google/apis/datastream_v1/classes.rb', line 816

def postgresql_rdbms
  @postgresql_rdbms
end

#salesforce_orgGoogle::Apis::DatastreamV1::SalesforceOrg

Salesforce organization structure. Corresponds to the JSON property salesforceOrg



821
822
823
# File 'lib/google/apis/datastream_v1/classes.rb', line 821

def salesforce_org
  @salesforce_org
end

#spanner_databaseGoogle::Apis::DatastreamV1::SpannerDatabase

Spanner database structure. Corresponds to the JSON property spannerDatabase



826
827
828
# File 'lib/google/apis/datastream_v1/classes.rb', line 826

def spanner_database
  @spanner_database
end

#sql_server_rdbmsGoogle::Apis::DatastreamV1::SqlServerRdbms

SQLServer database structure. Corresponds to the JSON property sqlServerRdbms



831
832
833
# File 'lib/google/apis/datastream_v1/classes.rb', line 831

def sql_server_rdbms
  @sql_server_rdbms
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



838
839
840
841
842
843
844
845
846
# File 'lib/google/apis/datastream_v1/classes.rb', line 838

def update!(**args)
  @mongodb_cluster = args[:mongodb_cluster] if args.key?(:mongodb_cluster)
  @mysql_rdbms = args[:mysql_rdbms] if args.key?(:mysql_rdbms)
  @oracle_rdbms = args[:oracle_rdbms] if args.key?(:oracle_rdbms)
  @postgresql_rdbms = args[:postgresql_rdbms] if args.key?(:postgresql_rdbms)
  @salesforce_org = args[:salesforce_org] if args.key?(:salesforce_org)
  @spanner_database = args[:spanner_database] if args.key?(:spanner_database)
  @sql_server_rdbms = args[:sql_server_rdbms] if args.key?(:sql_server_rdbms)
end