Class: Google::Apis::DatastreamV1::OracleAsmConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::OracleAsmConfig
- 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
Configuration for Oracle Automatic Storage Management (ASM) connection.
Instance Attribute Summary collapse
-
#asm_service ⇒ String
Required.
-
#connection_attributes ⇒ Hash<String,String>
Optional.
-
#hostname ⇒ String
Required.
-
#oracle_ssl_config ⇒ Google::Apis::DatastreamV1::OracleSslConfig
Oracle SSL configuration information.
-
#password ⇒ String
Optional.
-
#port ⇒ Fixnum
Required.
-
#secret_manager_stored_password ⇒ String
Optional.
-
#username ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OracleAsmConfig
constructor
A new instance of OracleAsmConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OracleAsmConfig
Returns a new instance of OracleAsmConfig.
2443 2444 2445 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2443 def initialize(**args) update!(**args) end |
Instance Attribute Details
#asm_service ⇒ String
Required. ASM service name for the Oracle ASM connection.
Corresponds to the JSON property asmService
2404 2405 2406 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2404 def asm_service @asm_service end |
#connection_attributes ⇒ Hash<String,String>
Optional. Connection string attributes
Corresponds to the JSON property connectionAttributes
2409 2410 2411 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2409 def connection_attributes @connection_attributes end |
#hostname ⇒ String
Required. Hostname for the Oracle ASM connection.
Corresponds to the JSON property hostname
2414 2415 2416 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2414 def hostname @hostname end |
#oracle_ssl_config ⇒ Google::Apis::DatastreamV1::OracleSslConfig
Oracle SSL configuration information.
Corresponds to the JSON property oracleSslConfig
2419 2420 2421 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2419 def oracle_ssl_config @oracle_ssl_config end |
#password ⇒ String
Optional. Password for the Oracle ASM connection. Mutually exclusive with the
secret_manager_stored_password field.
Corresponds to the JSON property password
2425 2426 2427 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2425 def password @password end |
#port ⇒ Fixnum
Required. Port for the Oracle ASM connection.
Corresponds to the JSON property port
2430 2431 2432 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2430 def port @port end |
#secret_manager_stored_password ⇒ String
Optional. A reference to a Secret Manager resource name storing the Oracle ASM
connection password. Mutually exclusive with the password field.
Corresponds to the JSON property secretManagerStoredPassword
2436 2437 2438 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2436 def secret_manager_stored_password @secret_manager_stored_password end |
#username ⇒ String
Required. Username for the Oracle ASM connection.
Corresponds to the JSON property username
2441 2442 2443 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2441 def username @username end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2448 def update!(**args) @asm_service = args[:asm_service] if args.key?(:asm_service) @connection_attributes = args[:connection_attributes] if args.key?(:connection_attributes) @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) @secret_manager_stored_password = args[:secret_manager_stored_password] if args.key?(:secret_manager_stored_password) @username = args[:username] if args.key?(:username) end |