Class: Google::Apis::ContainerV1::WorkloadMetadataConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::WorkloadMetadataConfig
- Defined in:
- generated/google/apis/container_v1/classes.rb,
generated/google/apis/container_v1/representations.rb,
generated/google/apis/container_v1/representations.rb
Overview
WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool.
Instance Attribute Summary collapse
-
#mode ⇒ String
Mode is the configuration for how to expose metadata to workloads running on the node pool.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkloadMetadataConfig
constructor
A new instance of WorkloadMetadataConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ WorkloadMetadataConfig
Returns a new instance of WorkloadMetadataConfig.
4199 4200 4201 |
# File 'generated/google/apis/container_v1/classes.rb', line 4199 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mode ⇒ String
Mode is the configuration for how to expose metadata to workloads running
on the node pool.
Corresponds to the JSON property mode
4197 4198 4199 |
# File 'generated/google/apis/container_v1/classes.rb', line 4197 def mode @mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4204 4205 4206 |
# File 'generated/google/apis/container_v1/classes.rb', line 4204 def update!(**args) @mode = args[:mode] if args.key?(:mode) end |