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.



1669
1670
1671
# File 'lib/google/apis/datastream_v1/classes.rb', line 1669

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)


1637
1638
1639
# File 'lib/google/apis/datastream_v1/classes.rb', line 1637

def asm_service
  @asm_service
end

#connection_attributesHash<String,String>

Optional. Connection string attributes Corresponds to the JSON property connectionAttributes

Returns:

  • (Hash<String,String>)


1642
1643
1644
# File 'lib/google/apis/datastream_v1/classes.rb', line 1642

def connection_attributes
  @connection_attributes
end

#hostnameString

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

Returns:

  • (String)


1647
1648
1649
# File 'lib/google/apis/datastream_v1/classes.rb', line 1647

def hostname
  @hostname
end

#oracle_ssl_configGoogle::Apis::DatastreamV1::OracleSslConfig

Oracle SSL configuration information. Corresponds to the JSON property oracleSslConfig



1652
1653
1654
# File 'lib/google/apis/datastream_v1/classes.rb', line 1652

def oracle_ssl_config
  @oracle_ssl_config
end

#passwordString

Optional. Password for the Oracle ASM connection. Corresponds to the JSON property password

Returns:

  • (String)


1657
1658
1659
# File 'lib/google/apis/datastream_v1/classes.rb', line 1657

def password
  @password
end

#portFixnum

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

Returns:

  • (Fixnum)


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

def port
  @port
end

#usernameString

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

Returns:

  • (String)


1667
1668
1669
# File 'lib/google/apis/datastream_v1/classes.rb', line 1667

def username
  @username
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1674
1675
1676
1677
1678
1679
1680
1681
1682
# File 'lib/google/apis/datastream_v1/classes.rb', line 1674

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)
  @username = args[:username] if args.key?(:username)
end