Google Cloud Container V1 Client - Class WorkloadMetadataConfig (2.2.0)

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
Name Description
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
Type Description
int

setMode

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

Parameter
Name Description
var int
Returns
Type Description
$this