Reference documentation and code samples for the Google Cloud Container V1 Client class CertificateConfigPair.
CertificateConfigPair configures pairs of certificates, which is used for client certificate and key pairs under a registry.
Generated from protobuf message google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfigPair
Namespace
Google \ Cloud \ Container \ V1 \ ContainerdConfig \ RegistryHostConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ cert |
CertificateConfig
Cert configures the client certificate. |
↳ key |
CertificateConfig
Key configures the client private key. Optional. |
getCert
Cert configures the client certificate.
| Returns | |
|---|---|
| Type | Description |
CertificateConfig|null |
|
hasCert
clearCert
setCert
Cert configures the client certificate.
| Parameter | |
|---|---|
| Name | Description |
var |
CertificateConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getKey
Key configures the client private key. Optional.
| Returns | |
|---|---|
| Type | Description |
CertificateConfig|null |
|
hasKey
clearKey
setKey
Key configures the client private key. Optional.
| Parameter | |
|---|---|
| Name | Description |
var |
CertificateConfig
|
| Returns | |
|---|---|
| Type | Description |
$this |
|