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

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

Namespace

Google \ Cloud \ CertificateManager \ V1 \ Certificate

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setPemCertificate

Input only. The PEM-encoded certificate chain.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getPemPrivateKey

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

Returns
Type Description
string

setPemPrivateKey

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

Parameter
Name Description
var string
Returns
Type Description
$this