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
-
#mongodb_identifier ⇒ Google::Apis::DatastreamV1::MongodbObjectIdentifier
MongoDB data source object identifier.
-
#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.
-
#salesforce_identifier ⇒ Google::Apis::DatastreamV1::SalesforceObjectIdentifier
Salesforce data source object identifier.
-
#spanner_identifier ⇒ Google::Apis::DatastreamV1::SpannerObjectIdentifier
Spanner 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.
4263 4264 4265 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4263 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mongodb_identifier ⇒ Google::Apis::DatastreamV1::MongodbObjectIdentifier
MongoDB data source object identifier.
Corresponds to the JSON property mongodbIdentifier
4231 4232 4233 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4231 def mongodb_identifier @mongodb_identifier end |
#mysql_identifier ⇒ Google::Apis::DatastreamV1::MysqlObjectIdentifier
Mysql data source object identifier.
Corresponds to the JSON property mysqlIdentifier
4236 4237 4238 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4236 def mysql_identifier @mysql_identifier end |
#oracle_identifier ⇒ Google::Apis::DatastreamV1::OracleObjectIdentifier
Oracle data source object identifier.
Corresponds to the JSON property oracleIdentifier
4241 4242 4243 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4241 def oracle_identifier @oracle_identifier end |
#postgresql_identifier ⇒ Google::Apis::DatastreamV1::PostgresqlObjectIdentifier
PostgreSQL data source object identifier.
Corresponds to the JSON property postgresqlIdentifier
4246 4247 4248 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4246 def postgresql_identifier @postgresql_identifier end |
#salesforce_identifier ⇒ Google::Apis::DatastreamV1::SalesforceObjectIdentifier
Salesforce data source object identifier.
Corresponds to the JSON property salesforceIdentifier
4251 4252 4253 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4251 def salesforce_identifier @salesforce_identifier end |
#spanner_identifier ⇒ Google::Apis::DatastreamV1::SpannerObjectIdentifier
Spanner data source object identifier.
Corresponds to the JSON property spannerIdentifier
4256 4257 4258 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4256 def spanner_identifier @spanner_identifier end |
#sql_server_identifier ⇒ Google::Apis::DatastreamV1::SqlServerObjectIdentifier
SQLServer data source object identifier.
Corresponds to the JSON property sqlServerIdentifier
4261 4262 4263 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4261 def sql_server_identifier @sql_server_identifier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4268 4269 4270 4271 4272 4273 4274 4275 4276 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 4268 def update!(**args) @mongodb_identifier = args[:mongodb_identifier] if args.key?(:mongodb_identifier) @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) @salesforce_identifier = args[:salesforce_identifier] if args.key?(:salesforce_identifier) @spanner_identifier = args[:spanner_identifier] if args.key?(:spanner_identifier) @sql_server_identifier = args[:sql_server_identifier] if args.key?(:sql_server_identifier) end |