Class: Google::Apis::ComputeAlpha::NodeGroupNode
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::NodeGroupNode
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#index ⇒ Fixnum
Corresponds to the JSON property
index
. -
#instances ⇒ Array<String>
Instances scheduled on this node.
-
#name ⇒ String
The name of the node.
-
#node_type ⇒ String
The type of this node.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NodeGroupNode
constructor
A new instance of NodeGroupNode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ NodeGroupNode
Returns a new instance of NodeGroupNode
16342 16343 16344 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16342 def initialize(**args) update!(**args) end |
Instance Attribute Details
#index ⇒ Fixnum
Corresponds to the JSON property index
16325 16326 16327 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16325 def index @index end |
#instances ⇒ Array<String>
Instances scheduled on this node.
Corresponds to the JSON property instances
16330 16331 16332 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16330 def instances @instances end |
#name ⇒ String
The name of the node.
Corresponds to the JSON property name
16335 16336 16337 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16335 def name @name end |
#node_type ⇒ String
The type of this node.
Corresponds to the JSON property nodeType
16340 16341 16342 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16340 def node_type @node_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16347 16348 16349 16350 16351 16352 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16347 def update!(**args) @index = args[:index] if args.key?(:index) @instances = args[:instances] if args.key?(:instances) @name = args[:name] if args.key?(:name) @node_type = args[:node_type] if args.key?(:node_type) end |