Class: Google::Apis::DatastreamV1::OracleProfile
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::OracleProfile
- 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
-
#connection_attributes ⇒ Hash<String,String>
Connection string attributes Corresponds to the JSON property
connectionAttributes. -
#database_service ⇒ String
Required.
-
#hostname ⇒ String
Required.
-
#oracle_ssl_config ⇒ Google::Apis::DatastreamV1::OracleSslConfig
Oracle SSL configuration information.
-
#password ⇒ String
Required.
-
#port ⇒ Fixnum
Port for the Oracle connection, default value is 1521.
-
#username ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OracleProfile
constructor
A new instance of OracleProfile.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OracleProfile
Returns a new instance of OracleProfile.
1607 1608 1609 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1607 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_attributes ⇒ Hash<String,String>
Connection string attributes
Corresponds to the JSON property connectionAttributes
1575 1576 1577 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1575 def connection_attributes @connection_attributes end |
#database_service ⇒ String
Required. Database for the Oracle connection.
Corresponds to the JSON property databaseService
1580 1581 1582 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1580 def database_service @database_service end |
#hostname ⇒ String
Required. Hostname for the Oracle connection.
Corresponds to the JSON property hostname
1585 1586 1587 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1585 def hostname @hostname end |
#oracle_ssl_config ⇒ Google::Apis::DatastreamV1::OracleSslConfig
Oracle SSL configuration information.
Corresponds to the JSON property oracleSslConfig
1590 1591 1592 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1590 def oracle_ssl_config @oracle_ssl_config end |
#password ⇒ String
Required. Password for the Oracle connection.
Corresponds to the JSON property password
1595 1596 1597 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1595 def password @password end |
#port ⇒ Fixnum
Port for the Oracle connection, default value is 1521.
Corresponds to the JSON property port
1600 1601 1602 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1600 def port @port end |
#username ⇒ String
Required. Username for the Oracle connection.
Corresponds to the JSON property username
1605 1606 1607 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1605 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1612 1613 1614 1615 1616 1617 1618 1619 1620 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1612 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 |