Class: Google::Apis::DatastreamV1::OracleSslConfig

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

Oracle SSL configuration information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OracleSslConfig

Returns a new instance of OracleSslConfig.



3038
3039
3040
# File 'lib/google/apis/datastream_v1/classes.rb', line 3038

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

Instance Attribute Details

#ca_certificateString

Input only. PEM-encoded certificate of the CA that signed the source database server's certificate. Corresponds to the JSON property caCertificate

Returns:

  • (String)


3020
3021
3022
# File 'lib/google/apis/datastream_v1/classes.rb', line 3020

def ca_certificate
  @ca_certificate
end

#ca_certificate_setBoolean Also known as: ca_certificate_set?

Output only. Indicates whether the ca_certificate field has been set for this Connection-Profile. Corresponds to the JSON property caCertificateSet

Returns:

  • (Boolean)


3026
3027
3028
# File 'lib/google/apis/datastream_v1/classes.rb', line 3026

def ca_certificate_set
  @ca_certificate_set
end

#server_certificate_distinguished_nameString

Optional. The distinguished name (DN) mentioned in the server certificate. This corresponds to SSL_SERVER_CERT_DN sqlnet parameter. Refer https://docs. oracle.com/en/database/oracle/oracle-database/19/netrf/local-naming-parameters- in-tns-ora-file.html#GUID-70AB0695-A9AA-4A94-B141-4C605236EEB7 If this field is not provided, the DN matching is not enforced. Corresponds to the JSON property serverCertificateDistinguishedName

Returns:

  • (String)


3036
3037
3038
# File 'lib/google/apis/datastream_v1/classes.rb', line 3036

def server_certificate_distinguished_name
  @server_certificate_distinguished_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3043
3044
3045
3046
3047
# File 'lib/google/apis/datastream_v1/classes.rb', line 3043

def update!(**args)
  @ca_certificate = args[:ca_certificate] if args.key?(:ca_certificate)
  @ca_certificate_set = args[:ca_certificate_set] if args.key?(:ca_certificate_set)
  @server_certificate_distinguished_name = args[:server_certificate_distinguished_name] if args.key?(:server_certificate_distinguished_name)
end