Class: Google::Apis::DatastreamV1alpha1::OracleProfile
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1alpha1::OracleProfile
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastream_v1alpha1/classes.rb,
lib/google/apis/datastream_v1alpha1/representations.rb,
lib/google/apis/datastream_v1alpha1/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.
-
#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.
1261 1262 1263 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1261 def initialize(**args) update!(**args) end |
Instance Attribute Details
#connection_attributes ⇒ Hash<String,String>
Connection string attributes
Corresponds to the JSON property connectionAttributes
1234 1235 1236 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1234 def connection_attributes @connection_attributes end |
#database_service ⇒ String
Required. Database for the Oracle connection.
Corresponds to the JSON property databaseService
1239 1240 1241 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1239 def database_service @database_service end |
#hostname ⇒ String
Required. Hostname for the Oracle connection.
Corresponds to the JSON property hostname
1244 1245 1246 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1244 def hostname @hostname end |
#password ⇒ String
Required. Password for the Oracle connection.
Corresponds to the JSON property password
1249 1250 1251 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1249 def password @password end |
#port ⇒ Fixnum
Port for the Oracle connection, default value is 1521.
Corresponds to the JSON property port
1254 1255 1256 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1254 def port @port end |
#username ⇒ String
Required. Username for the Oracle connection.
Corresponds to the JSON property username
1259 1260 1261 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1259 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1266 1267 1268 1269 1270 1271 1272 1273 |
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1266 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) @password = args[:password] if args.key?(:password) @port = args[:port] if args.key?(:port) @username = args[:username] if args.key?(:username) end |