Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::CustomerManagedCertificate (v0.9.0)

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

#certificate_type=

def certificate_type=(value) -> ::Google::Cloud::Sql::V1::CertificateType
Parameter
Returns

#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 pglogical in PostgreSQL) that need to reference the certificate or key file directly on the VM's filesystem, ex: certs/c1/server-ca.pem