Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::CustomerManagedCertificate.
A single certificate or key in a customer managed certificate bundle.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#certificate_type
def certificate_type() -> ::Google::Cloud::Sql::V1::CertificateType
Returns
- (::Google::Cloud::Sql::V1::CertificateType) — Required. The certificate type.
#certificate_type=
def certificate_type=(value) -> ::Google::Cloud::Sql::V1::CertificateType
Parameter
- value (::Google::Cloud::Sql::V1::CertificateType) — Required. The certificate type.
Returns
- (::Google::Cloud::Sql::V1::CertificateType) — Required. The certificate type.
#content
def content() -> ::String
Returns
- (::String) — Required. Input only. The PEM-encoded certificate or key content in base64 format.
#content=
def content=(value) -> ::String
Parameter
- value (::String) — Required. Input only. The PEM-encoded certificate or key content in base64 format.
Returns
- (::String) — Required. Input only. The PEM-encoded certificate or key content in base64 format.
#file_path
def file_path() -> ::String
Returns
-
(::String) — Output only. File path of the PEM-encoded certificate or key content on the
database virtual machine. This path can be used by database extensions or
plugins (for example, to configure
pglogicalin PostgreSQL) that need to reference the certificate or key file directly on the VM's filesystem, ex: certs/c1/server-ca.pem