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.
Generated from protobuf field optional string certificate = 341787031;
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.
Generated from protobuf field optional string certificate = 341787031;
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.
Generated from protobuf field optional string private_key = 361331107;
Returns | |
---|---|
Type | Description |
string |
hasPrivateKey
clearPrivateKey
setPrivateKey
A write-only private key in PEM format. Only insert requests will include this field.
Generated from protobuf field optional string private_key = 361331107;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |