Class: Google::Apis::ContainerV1beta1::MaxPodsConstraint
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContainerV1beta1::MaxPodsConstraint
 
 
- Defined in:
 - generated/google/apis/container_v1beta1/classes.rb,
generated/google/apis/container_v1beta1/representations.rb,
generated/google/apis/container_v1beta1/representations.rb 
Overview
Constraints applied to pods.
Instance Attribute Summary collapse
- 
  
    
      #max_pods_per_node  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Constraint enforced on the max num of pods per node.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ MaxPodsConstraint 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of MaxPodsConstraint.
 - 
  
    
      #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) ⇒ MaxPodsConstraint
Returns a new instance of MaxPodsConstraint
      1529 1530 1531  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 1529 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#max_pods_per_node ⇒ Fixnum
Constraint enforced on the max num of pods per node.
Corresponds to the JSON property maxPodsPerNode
      1527 1528 1529  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 1527 def max_pods_per_node @max_pods_per_node end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1534 1535 1536  | 
    
      # File 'generated/google/apis/container_v1beta1/classes.rb', line 1534 def update!(**args) @max_pods_per_node = args[:max_pods_per_node] if args.key?(:max_pods_per_node) end  |