Google Cloud Container V1 Client - Class WorkloadMetadataConfig (2.10.0)Stay organized with collectionsSave and categorize content based on your preferences.
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 messagegoogle.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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-09 UTC."],[],[]]