Class: Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::GkehubV1::ConfigManagementHierarchyControllerConfig
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/gkehub_v1/classes.rb,
lib/google/apis/gkehub_v1/representations.rb,
lib/google/apis/gkehub_v1/representations.rb 
Overview
Configuration for Hierarchy Controller
Instance Attribute Summary collapse
- 
  
    
      #enable_hierarchical_resource_quota  ⇒ Boolean 
    
    
      (also: #enable_hierarchical_resource_quota?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether hierarchical resource quota is enabled in this cluster.
 - 
  
    
      #enable_pod_tree_labels  ⇒ Boolean 
    
    
      (also: #enable_pod_tree_labels?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether pod tree labels are enabled in this cluster.
 - 
  
    
      #enabled  ⇒ Boolean 
    
    
      (also: #enabled?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Whether Hierarchy Controller is enabled in this cluster.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ConfigManagementHierarchyControllerConfig 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ConfigManagementHierarchyControllerConfig.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ ConfigManagementHierarchyControllerConfig
Returns a new instance of ConfigManagementHierarchyControllerConfig.
      1281 1282 1283  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 1281 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#enable_hierarchical_resource_quota ⇒ Boolean Also known as: enable_hierarchical_resource_quota?
Whether hierarchical resource quota is enabled in this cluster.
Corresponds to the JSON property enableHierarchicalResourceQuota
      1266 1267 1268  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 1266 def enable_hierarchical_resource_quota @enable_hierarchical_resource_quota end  | 
  
#enable_pod_tree_labels ⇒ Boolean Also known as: enable_pod_tree_labels?
Whether pod tree labels are enabled in this cluster.
Corresponds to the JSON property enablePodTreeLabels
      1272 1273 1274  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 1272 def enable_pod_tree_labels @enable_pod_tree_labels end  | 
  
#enabled ⇒ Boolean Also known as: enabled?
Whether Hierarchy Controller is enabled in this cluster.
Corresponds to the JSON property enabled
      1278 1279 1280  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 1278 def enabled @enabled end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1286 1287 1288 1289 1290  | 
    
      # File 'lib/google/apis/gkehub_v1/classes.rb', line 1286 def update!(**args) @enable_hierarchical_resource_quota = args[:enable_hierarchical_resource_quota] if args.key?(:enable_hierarchical_resource_quota) @enable_pod_tree_labels = args[:enable_pod_tree_labels] if args.key?(:enable_pod_tree_labels) @enabled = args[:enabled] if args.key?(:enabled) end  |