Class: Google::Apis::ContainerV1::NodePoolDefaults

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

Subset of Nodepool message that has defaults.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodePoolDefaults

Returns a new instance of NodePoolDefaults.



4895
4896
4897
# File 'lib/google/apis/container_v1/classes.rb', line 4895

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

Instance Attribute Details

#node_config_defaultsGoogle::Apis::ContainerV1::NodeConfigDefaults

Subset of NodeConfig message that has defaults. Corresponds to the JSON property nodeConfigDefaults



4893
4894
4895
# File 'lib/google/apis/container_v1/classes.rb', line 4893

def node_config_defaults
  @node_config_defaults
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4900
4901
4902
# File 'lib/google/apis/container_v1/classes.rb', line 4900

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