Class: Google::Apis::ContainerV1::SoleTenantConfig

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

SoleTenantConfig contains the NodeAffinities to specify what shared sole tenant node groups should back the node pool.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SoleTenantConfig

Returns a new instance of SoleTenantConfig.



6798
6799
6800
# File 'lib/google/apis/container_v1/classes.rb', line 6798

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

Instance Attribute Details

#node_affinitiesArray<Google::Apis::ContainerV1::NodeAffinity>

NodeAffinities used to match to a shared sole tenant node group. Corresponds to the JSON property nodeAffinities



6796
6797
6798
# File 'lib/google/apis/container_v1/classes.rb', line 6796

def node_affinities
  @node_affinities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6803
6804
6805
# File 'lib/google/apis/container_v1/classes.rb', line 6803

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