class Google::Apis::ContainerV1beta1::WorkloadMetadataConfig
WorkloadMetadataConfig
defines the metadata configuration to expose to workloads on the node pool.
Attributes
mode[RW]
Mode is the configuration for how to expose metadata to workloads running on the node pool. Corresponds to the JSON property `mode` @return [String]
node_metadata[RW]
NodeMetadata is the configuration for how to expose metadata to the workloads running on the node. Corresponds to the JSON property `nodeMetadata` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/container_v1beta1/classes.rb, line 5775 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/container_v1beta1/classes.rb, line 5780 def update!(**args) @mode = args[:mode] if args.key?(:mode) @node_metadata = args[:node_metadata] if args.key?(:node_metadata) end