Compute V1 Client - Class SslCertificateSelfManagedSslCertificate (1.14.0)

Reference documentation and code samples for the Compute V1 Client class SslCertificateSelfManagedSslCertificate.

Configuration and status of a self-managed SSL certificate.

Generated from protobuf message google.cloud.compute.v1.SslCertificateSelfManagedSslCertificate

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ certificate string

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

↳ private_key string

A write-only private key in PEM format. Only insert requests will include this field.

getCertificate

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

Returns
TypeDescription
string

hasCertificate

clearCertificate

setCertificate

A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPrivateKey

A write-only private key in PEM format. Only insert requests will include this field.

Returns
TypeDescription
string

hasPrivateKey

clearPrivateKey

setPrivateKey

A write-only private key in PEM format. Only insert requests will include this field.

Parameter
NameDescription
var string
Returns
TypeDescription
$this