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.



3725
3726
3727
# File 'lib/google/apis/datastream_v1/classes.rb', line 3725

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

Instance Attribute Details

#mongodb_identifierGoogle::Apis::DatastreamV1::MongodbObjectIdentifier

MongoDB data source object identifier. Corresponds to the JSON property mongodbIdentifier



3698
3699
3700
# File 'lib/google/apis/datastream_v1/classes.rb', line 3698

def mongodb_identifier
  @mongodb_identifier
end

#mysql_identifierGoogle::Apis::DatastreamV1::MysqlObjectIdentifier

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



3703
3704
3705
# File 'lib/google/apis/datastream_v1/classes.rb', line 3703

def mysql_identifier
  @mysql_identifier
end

#oracle_identifierGoogle::Apis::DatastreamV1::OracleObjectIdentifier

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



3708
3709
3710
# File 'lib/google/apis/datastream_v1/classes.rb', line 3708

def oracle_identifier
  @oracle_identifier
end

#postgresql_identifierGoogle::Apis::DatastreamV1::PostgresqlObjectIdentifier

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



3713
3714
3715
# File 'lib/google/apis/datastream_v1/classes.rb', line 3713

def postgresql_identifier
  @postgresql_identifier
end

#salesforce_identifierGoogle::Apis::DatastreamV1::SalesforceObjectIdentifier

Salesforce data source object identifier. Corresponds to the JSON property salesforceIdentifier



3718
3719
3720
# File 'lib/google/apis/datastream_v1/classes.rb', line 3718

def salesforce_identifier
  @salesforce_identifier
end

#sql_server_identifierGoogle::Apis::DatastreamV1::SqlServerObjectIdentifier

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



3723
3724
3725
# File 'lib/google/apis/datastream_v1/classes.rb', line 3723

def sql_server_identifier
  @sql_server_identifier
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3730
3731
3732
3733
3734
3735
3736
3737
# File 'lib/google/apis/datastream_v1/classes.rb', line 3730

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)
  @sql_server_identifier = args[:sql_server_identifier] if args.key?(:sql_server_identifier)
end