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.
-
#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
16213 16214 16215 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16213 def initialize(**args) update!(**args) end |
Instance Attribute Details
#index ⇒ Fixnum
Corresponds to the JSON property index
16201 16202 16203 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16201 def index @index end |
#instances ⇒ Array<String>
Instances scheduled on this node.
Corresponds to the JSON property instances
16206 16207 16208 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16206 def instances @instances end |
#node_type ⇒ String
The type of this node.
Corresponds to the JSON property nodeType
16211 16212 16213 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16211 def node_type @node_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16218 16219 16220 16221 16222 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16218 def update!(**args) @index = args[:index] if args.key?(:index) @instances = args[:instances] if args.key?(:instances) @node_type = args[:node_type] if args.key?(:node_type) end |