class Google::Apis::ContainerV1::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]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/container_v1/classes.rb, line 5043 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_v1/classes.rb, line 5048 def update!(**args) @mode = args[:mode] if args.key?(:mode) end