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
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.
Generated from protobuf field .google.container.v1.WorkloadMetadataConfig.Mode mode = 2;
Returns | |
---|---|
Type | Description |
int |
setMode
Mode is the configuration for how to expose metadata to workloads running on the node pool.
Generated from protobuf field .google.container.v1.WorkloadMetadataConfig.Mode mode = 2;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |