Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::WorkloadMetadataConfig.
WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#mode
def mode() -> ::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig::Mode
Returns
- (::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig::Mode) — Mode is the configuration for how to expose metadata to workloads running on the node pool.
#mode=
def mode=(value) -> ::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig::Mode
Parameter
- value (::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig::Mode) — Mode is the configuration for how to expose metadata to workloads running on the node pool.
Returns
- (::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig::Mode) — Mode is the configuration for how to expose metadata to workloads running on the node pool.
#node_metadata
def node_metadata() -> ::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig::NodeMetadata
Returns
- (::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig::NodeMetadata) — NodeMetadata is the configuration for how to expose metadata to the workloads running on the node.
#node_metadata=
def node_metadata=(value) -> ::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig::NodeMetadata
Parameter
- value (::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig::NodeMetadata) — NodeMetadata is the configuration for how to expose metadata to the workloads running on the node.
Returns
- (::Google::Cloud::Container::V1beta1::WorkloadMetadataConfig::NodeMetadata) — NodeMetadata is the configuration for how to expose metadata to the workloads running on the node.