Google Cloud Certificate Manager V1 Client - Class SelfManagedCertificate (0.3.7)

Reference documentation and code samples for the Google Cloud Certificate Manager V1 Client class SelfManagedCertificate.

Certificate data for a SelfManaged Certificate.

SelfManaged Certificates are uploaded by the user. Updating such certificates before they expire remains the user's responsibility.

Generated from protobuf message google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ pem_certificate string

Input only. The PEM-encoded certificate chain. Leaf certificate comes first, followed by intermediate ones if any.

↳ pem_private_key string

Input only. The PEM-encoded private key of the leaf certificate.

getPemCertificate

Input only. The PEM-encoded certificate chain.

Leaf certificate comes first, followed by intermediate ones if any.

Returns
TypeDescription
string

setPemCertificate

Input only. The PEM-encoded certificate chain.

Leaf certificate comes first, followed by intermediate ones if any.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPemPrivateKey

Input only. The PEM-encoded private key of the leaf certificate.

Returns
TypeDescription
string

setPemPrivateKey

Input only. The PEM-encoded private key of the leaf certificate.

Parameter
NameDescription
var string
Returns
TypeDescription
$this