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.



7042
7043
7044
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7042

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)


7040
7041
7042
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7040

def node_creation_mode
  @node_creation_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7047
7048
7049
# File 'lib/google/apis/container_v1beta1/classes.rb', line 7047

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