Class: Google::Apis::ContainerV1beta1::WorkloadMetadataConfig
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContainerV1beta1::WorkloadMetadataConfig
 
 
- Defined in:
 - generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb 
Overview
WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool.
Instance Attribute Summary collapse
- 
  
    
      #node_metadata  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
NodeMetadata is the configuration for how to expose the node metadata to the workload running on the node.
 
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
      3398 3399 3400  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 3398 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#node_metadata ⇒ String
NodeMetadata is the configuration for how to expose the node metadata to
the workload running on the node.
Corresponds to the JSON property nodeMetadata
      3396 3397 3398  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 3396 def @node_metadata end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3403 3404 3405  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 3403 def update!(**args) @node_metadata = args[:node_metadata] if args.key?(:node_metadata) end  |