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.



2788
2789
2790
# File 'lib/google/apis/datastream_v1/classes.rb', line 2788

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)


2770
2771
2772
# File 'lib/google/apis/datastream_v1/classes.rb', line 2770

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)


2776
2777
2778
# File 'lib/google/apis/datastream_v1/classes.rb', line 2776

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)


2786
2787
2788
# File 'lib/google/apis/datastream_v1/classes.rb', line 2786

def server_certificate_distinguished_name
  @server_certificate_distinguished_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2793
2794
2795
2796
2797
# File 'lib/google/apis/datastream_v1/classes.rb', line 2793

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