Class: Google::Apis::DatastreamV1alpha1::SourceObjectIdentifier
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1alpha1::SourceObjectIdentifier
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1alpha1/classes.rb,
lib/google/apis/datastream_v1alpha1/representations.rb,
lib/google/apis/datastream_v1alpha1/representations.rb
Overview
Represents an identifier of an object in the data source.
Instance Attribute Summary collapse
-
#mysql_identifier ⇒ Google::Apis::DatastreamV1alpha1::MysqlObjectIdentifier
Mysql data source object identifier.
-
#oracle_identifier ⇒ Google::Apis::DatastreamV1alpha1::OracleObjectIdentifier
Oracle data source object identifier.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SourceObjectIdentifier
constructor
A new instance of SourceObjectIdentifier.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SourceObjectIdentifier
Returns a new instance of SourceObjectIdentifier.
1690 1691 1692 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1690 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mysql_identifier ⇒ Google::Apis::DatastreamV1alpha1::MysqlObjectIdentifier
Mysql data source object identifier.
Corresponds to the JSON property mysqlIdentifier
1683 1684 1685 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1683 def mysql_identifier @mysql_identifier end |
#oracle_identifier ⇒ Google::Apis::DatastreamV1alpha1::OracleObjectIdentifier
Oracle data source object identifier.
Corresponds to the JSON property oracleIdentifier
1688 1689 1690 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1688 def oracle_identifier @oracle_identifier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1695 1696 1697 1698 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1695 def update!(**args) @mysql_identifier = args[:mysql_identifier] if args.key?(:mysql_identifier) @oracle_identifier = args[:oracle_identifier] if args.key?(:oracle_identifier) end |