Class: Google::Cloud::CloudDMS::V1::SslConfig
- Inherits:
-
Object
- Object
- Google::Cloud::CloudDMS::V1::SslConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb
Overview
SSL configuration information.
Defined Under Namespace
Modules: SslType
Instance Attribute Summary collapse
-
#ca_certificate ⇒ ::String
Required.
-
#client_certificate ⇒ ::String
Input only.
-
#client_key ⇒ ::String
Input only.
-
#type ⇒ ::Google::Cloud::CloudDMS::V1::SslConfig::SslType
readonly
Output only.
Instance Attribute Details
#ca_certificate ⇒ ::String
Returns Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server’s certificate. The replica will use this certificate to verify it’s connecting to the right host.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 44 class SslConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies The kind of ssl configuration used. module SslType # Unspecified. SSL_TYPE_UNSPECIFIED = 0 # Only 'ca_certificate' specified. SERVER_ONLY = 1 # Both server ('ca_certificate'), and client ('client_key', # 'client_certificate') specified. SERVER_CLIENT = 2 end end |
#client_certificate ⇒ ::String
Returns Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server.If this field is used then the ‘client_key’ field is mandatory.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 44 class SslConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies The kind of ssl configuration used. module SslType # Unspecified. SSL_TYPE_UNSPECIFIED = 0 # Only 'ca_certificate' specified. SERVER_ONLY = 1 # Both server ('ca_certificate'), and client ('client_key', # 'client_certificate') specified. SERVER_CLIENT = 2 end end |
#client_key ⇒ ::String
Returns Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the ‘client_certificate’ field is mandatory.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 44 class SslConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies The kind of ssl configuration used. module SslType # Unspecified. SSL_TYPE_UNSPECIFIED = 0 # Only 'ca_certificate' specified. SERVER_ONLY = 1 # Both server ('ca_certificate'), and client ('client_key', # 'client_certificate') specified. SERVER_CLIENT = 2 end end |
#type ⇒ ::Google::Cloud::CloudDMS::V1::SslConfig::SslType (readonly)
Returns Output only. The ssl config type according to ‘client_key’, ‘client_certificate’ and ‘ca_certificate’.
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'proto_docs/google/cloud/clouddms/v1/clouddms_resources.rb', line 44 class SslConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies The kind of ssl configuration used. module SslType # Unspecified. SSL_TYPE_UNSPECIFIED = 0 # Only 'ca_certificate' specified. SERVER_ONLY = 1 # Both server ('ca_certificate'), and client ('client_key', # 'client_certificate') specified. SERVER_CLIENT = 2 end end |