Class: Google::Apis::DatastreamV1::OracleSslConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::OracleSslConfig
- 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
-
#ca_certificate ⇒ String
Input only.
-
#ca_certificate_set ⇒ Boolean
(also: #ca_certificate_set?)
Output only.
-
#server_certificate_distinguished_name ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OracleSslConfig
constructor
A new instance of OracleSslConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_certificate ⇒ String
Input only. PEM-encoded certificate of the CA that signed the source database
server's certificate.
Corresponds to the JSON property caCertificate
3020 3021 3022 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3020 def ca_certificate @ca_certificate end |
#ca_certificate_set ⇒ Boolean 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
3026 3027 3028 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 3026 def ca_certificate_set @ca_certificate_set end |
#server_certificate_distinguished_name ⇒ String
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
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 |