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.



1676
1677
1678
# File 'lib/google/apis/datastream_v1/classes.rb', line 1676

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



1669
1670
1671
# File 'lib/google/apis/datastream_v1/classes.rb', line 1669

def mysql_identifier
  @mysql_identifier
end

#oracle_identifierGoogle::Apis::DatastreamV1::OracleObjectIdentifier

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



1674
1675
1676
# File 'lib/google/apis/datastream_v1/classes.rb', line 1674

def oracle_identifier
  @oracle_identifier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1681
1682
1683
1684
# File 'lib/google/apis/datastream_v1/classes.rb', line 1681

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