Google Cloud Container V1 Client - Class RegistryHeader (2.8.1)

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 \ RegistryHostConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ key string

Key configures the header key.

↳ value string[]

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\RepeatedField<string>

setValue

Value configures the header value.

Parameter
Name Description
var string[]
Returns
Type Description
$this