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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPrivateKey
A write-only private key in PEM format. Only insert requests will include this field.
Returns | |
---|---|
Type | Description |
string |
hasPrivateKey
clearPrivateKey
setPrivateKey
A write-only private key in PEM format. Only insert requests will include this field.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |