Google Cloud Container V1 Client - Class WorkloadMetadataConfig (1.21.1)

Reference documentation and code samples for the Google Cloud Container V1 Client class WorkloadMetadataConfig.

WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool.

Generated from protobuf message google.container.v1.WorkloadMetadataConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ mode int

Mode is the configuration for how to expose metadata to workloads running on the node pool.

getMode

Mode is the configuration for how to expose metadata to workloads running on the node pool.

Returns
TypeDescription
int

setMode

Mode is the configuration for how to expose metadata to workloads running on the node pool.

Parameter
NameDescription
var int
Returns
TypeDescription
$this