Class: Google::Apis::ContainerV1beta1::NodePoolAutoConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1beta1/classes.rb,
lib/google/apis/container_v1beta1/representations.rb,
lib/google/apis/container_v1beta1/representations.rb

Overview

node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodePoolAutoConfig

Returns a new instance of NodePoolAutoConfig.



5123
5124
5125
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5123

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#network_tagsGoogle::Apis::ContainerV1beta1::NetworkTags

Collection of Compute Engine network tags that can be applied to a node's underlying VM instance. (See tags field in NodeConfig). Corresponds to the JSON property networkTags



5112
5113
5114
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5112

def network_tags
  @network_tags
end

#resource_manager_tagsGoogle::Apis::ContainerV1beta1::ResourceManagerTags

A map of resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Tags must be according to specifications in https://cloud.google.com/vpc/docs/tags- firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be specified. Existing tags will be replaced with new values. Corresponds to the JSON property resourceManagerTags



5121
5122
5123
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5121

def resource_manager_tags
  @resource_manager_tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5128
5129
5130
5131
# File 'lib/google/apis/container_v1beta1/classes.rb', line 5128

def update!(**args)
  @network_tags = args[:network_tags] if args.key?(:network_tags)
  @resource_manager_tags = args[:resource_manager_tags] if args.key?(:resource_manager_tags)
end