Class: Google::Apis::DatastreamV1::SourceObjectIdentifier
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::SourceObjectIdentifier
- 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
-
#mysql_identifier ⇒ Google::Apis::DatastreamV1::MysqlObjectIdentifier
Mysql data source object identifier.
-
#oracle_identifier ⇒ Google::Apis::DatastreamV1::OracleObjectIdentifier
Oracle data source object identifier.
-
#postgresql_identifier ⇒ Google::Apis::DatastreamV1::PostgresqlObjectIdentifier
PostgreSQL data source object identifier.
-
#sql_server_identifier ⇒ Google::Apis::DatastreamV1::SqlServerObjectIdentifier
SQLServer 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.
2365 2366 2367 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2365 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mysql_identifier ⇒ Google::Apis::DatastreamV1::MysqlObjectIdentifier
Mysql data source object identifier.
Corresponds to the JSON property mysqlIdentifier
2348 2349 2350 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2348 def mysql_identifier @mysql_identifier end |
#oracle_identifier ⇒ Google::Apis::DatastreamV1::OracleObjectIdentifier
Oracle data source object identifier.
Corresponds to the JSON property oracleIdentifier
2353 2354 2355 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2353 def oracle_identifier @oracle_identifier end |
#postgresql_identifier ⇒ Google::Apis::DatastreamV1::PostgresqlObjectIdentifier
PostgreSQL data source object identifier.
Corresponds to the JSON property postgresqlIdentifier
2358 2359 2360 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2358 def postgresql_identifier @postgresql_identifier end |
#sql_server_identifier ⇒ Google::Apis::DatastreamV1::SqlServerObjectIdentifier
SQLServer data source object identifier.
Corresponds to the JSON property sqlServerIdentifier
2363 2364 2365 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2363 def sql_server_identifier @sql_server_identifier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2370 2371 2372 2373 2374 2375 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2370 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 |