Reference documentation and code samples for the Google Cloud Container V1 Client class RegistryHeader.
RegistryHeader configures headers for the registry.
Generated from protobuf message google.container.v1.ContainerdConfig.RegistryHostConfig.RegistryHeader
Namespace
Google \ Cloud \ Container \ V1 \ ContainerdConfig \ RegistryHostConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ key |
string
Key configures the header key. |
↳ value |
array
Value configures the header value. |
getKey
Key configures the header key.
| Returns | |
|---|---|
| Type | Description |
string |
|
setKey
Key configures the header key.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getValue
Value configures the header value.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setValue
Value configures the header value.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|