Class: Google::Apis::DatastreamV1::OracleProfile

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

Oracle database profile.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OracleProfile

Returns a new instance of OracleProfile.



1661
1662
1663
# File 'lib/google/apis/datastream_v1/classes.rb', line 1661

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

Instance Attribute Details

#connection_attributesHash<String,String>

Connection string attributes Corresponds to the JSON property connectionAttributes

Returns:

  • (Hash<String,String>)


1629
1630
1631
# File 'lib/google/apis/datastream_v1/classes.rb', line 1629

def connection_attributes
  @connection_attributes
end

#database_serviceString

Required. Database for the Oracle connection. Corresponds to the JSON property databaseService

Returns:

  • (String)


1634
1635
1636
# File 'lib/google/apis/datastream_v1/classes.rb', line 1634

def database_service
  @database_service
end

#hostnameString

Required. Hostname for the Oracle connection. Corresponds to the JSON property hostname

Returns:

  • (String)


1639
1640
1641
# File 'lib/google/apis/datastream_v1/classes.rb', line 1639

def hostname
  @hostname
end

#oracle_ssl_configGoogle::Apis::DatastreamV1::OracleSslConfig

Oracle SSL configuration information. Corresponds to the JSON property oracleSslConfig



1644
1645
1646
# File 'lib/google/apis/datastream_v1/classes.rb', line 1644

def oracle_ssl_config
  @oracle_ssl_config
end

#passwordString

Required. Password for the Oracle connection. Corresponds to the JSON property password

Returns:

  • (String)


1649
1650
1651
# File 'lib/google/apis/datastream_v1/classes.rb', line 1649

def password
  @password
end

#portFixnum

Port for the Oracle connection, default value is 1521. Corresponds to the JSON property port

Returns:

  • (Fixnum)


1654
1655
1656
# File 'lib/google/apis/datastream_v1/classes.rb', line 1654

def port
  @port
end

#usernameString

Required. Username for the Oracle connection. Corresponds to the JSON property username

Returns:

  • (String)


1659
1660
1661
# File 'lib/google/apis/datastream_v1/classes.rb', line 1659

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1666
1667
1668
1669
1670
1671
1672
1673
1674
# File 'lib/google/apis/datastream_v1/classes.rb', line 1666

def update!(**args)
  @connection_attributes = args[:connection_attributes] if args.key?(:connection_attributes)
  @database_service = args[:database_service] if args.key?(:database_service)
  @hostname = args[:hostname] if args.key?(:hostname)
  @oracle_ssl_config = args[:oracle_ssl_config] if args.key?(:oracle_ssl_config)
  @password = args[:password] if args.key?(:password)
  @port = args[:port] if args.key?(:port)
  @username = args[:username] if args.key?(:username)
end