Class: Google::Apis::DatastreamV1::OracleAsmConfig

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

Configuration for Oracle Automatic Storage Management (ASM) connection.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OracleAsmConfig

Returns a new instance of OracleAsmConfig.



2693
2694
2695
# File 'lib/google/apis/datastream_v1/classes.rb', line 2693

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

Instance Attribute Details

#asm_serviceString

Required. ASM service name for the Oracle ASM connection. Corresponds to the JSON property asmService

Returns:

  • (String)


2654
2655
2656
# File 'lib/google/apis/datastream_v1/classes.rb', line 2654

def asm_service
  @asm_service
end

#connection_attributesHash<String,String>

Optional. Connection string attributes Corresponds to the JSON property connectionAttributes

Returns:

  • (Hash<String,String>)


2659
2660
2661
# File 'lib/google/apis/datastream_v1/classes.rb', line 2659

def connection_attributes
  @connection_attributes
end

#hostnameString

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

Returns:

  • (String)


2664
2665
2666
# File 'lib/google/apis/datastream_v1/classes.rb', line 2664

def hostname
  @hostname
end

#oracle_ssl_configGoogle::Apis::DatastreamV1::OracleSslConfig

Oracle SSL configuration information. Corresponds to the JSON property oracleSslConfig



2669
2670
2671
# File 'lib/google/apis/datastream_v1/classes.rb', line 2669

def oracle_ssl_config
  @oracle_ssl_config
end

#passwordString

Optional. Password for the Oracle ASM connection. Mutually exclusive with the secret_manager_stored_password field. Corresponds to the JSON property password

Returns:

  • (String)


2675
2676
2677
# File 'lib/google/apis/datastream_v1/classes.rb', line 2675

def password
  @password
end

#portFixnum

Required. Port for the Oracle ASM connection. Corresponds to the JSON property port

Returns:

  • (Fixnum)


2680
2681
2682
# File 'lib/google/apis/datastream_v1/classes.rb', line 2680

def port
  @port
end

#secret_manager_stored_passwordString

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

Returns:

  • (String)


2686
2687
2688
# File 'lib/google/apis/datastream_v1/classes.rb', line 2686

def secret_manager_stored_password
  @secret_manager_stored_password
end

#usernameString

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

Returns:

  • (String)


2691
2692
2693
# File 'lib/google/apis/datastream_v1/classes.rb', line 2691

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
# File 'lib/google/apis/datastream_v1/classes.rb', line 2698

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