Class: Google::Apis::ContainerV1beta1::NodeCreationConfig

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

NodeCreationConfig defines the settings of node creation mode.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodeCreationConfig

Returns a new instance of NodeCreationConfig.



7127
7128
7129
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7127

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

Instance Attribute Details

#node_creation_modeString

The mode of node creation. Corresponds to the JSON property nodeCreationMode

Returns:

  • (String)


7125
7126
7127
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7125

def node_creation_mode
  @node_creation_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7132
7133
7134
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7132

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