Class: Google::Apis::DatastreamV1::SourceObjectIdentifier

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

Represents an identifier of an object in the data source.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SourceObjectIdentifier

Returns a new instance of SourceObjectIdentifier.



2346
2347
2348
# File 'lib/google/apis/datastream_v1/classes.rb', line 2346

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

Instance Attribute Details

#mysql_identifierGoogle::Apis::DatastreamV1::MysqlObjectIdentifier

Mysql data source object identifier. Corresponds to the JSON property mysqlIdentifier



2329
2330
2331
# File 'lib/google/apis/datastream_v1/classes.rb', line 2329

def mysql_identifier
  @mysql_identifier
end

#oracle_identifierGoogle::Apis::DatastreamV1::OracleObjectIdentifier

Oracle data source object identifier. Corresponds to the JSON property oracleIdentifier



2334
2335
2336
# File 'lib/google/apis/datastream_v1/classes.rb', line 2334

def oracle_identifier
  @oracle_identifier
end

#postgresql_identifierGoogle::Apis::DatastreamV1::PostgresqlObjectIdentifier

PostgreSQL data source object identifier. Corresponds to the JSON property postgresqlIdentifier



2339
2340
2341
# File 'lib/google/apis/datastream_v1/classes.rb', line 2339

def postgresql_identifier
  @postgresql_identifier
end

#sql_server_identifierGoogle::Apis::DatastreamV1::SqlServerObjectIdentifier

SQLServer data source object identifier. Corresponds to the JSON property sqlServerIdentifier



2344
2345
2346
# File 'lib/google/apis/datastream_v1/classes.rb', line 2344

def sql_server_identifier
  @sql_server_identifier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2351
2352
2353
2354
2355
2356
# File 'lib/google/apis/datastream_v1/classes.rb', line 2351

def update!(**args)
  @mysql_identifier = args[:mysql_identifier] if args.key?(:mysql_identifier)
  @oracle_identifier = args[:oracle_identifier] if args.key?(:oracle_identifier)
  @postgresql_identifier = args[:postgresql_identifier] if args.key?(:postgresql_identifier)
  @sql_server_identifier = args[:sql_server_identifier] if args.key?(:sql_server_identifier)
end