Class: Google::Apis::ContainerV1::NodePoolAutoConfig

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/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.



3393
3394
3395
# File 'lib/google/apis/container_v1/classes.rb', line 3393

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

Instance Attribute Details

#network_tagsGoogle::Apis::ContainerV1::NetworkTags

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



3391
3392
3393
# File 'lib/google/apis/container_v1/classes.rb', line 3391

def network_tags
  @network_tags
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3398
3399
3400
# File 'lib/google/apis/container_v1/classes.rb', line 3398

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