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
-
#instances ⇒ Array<String>
Instances scheduled on this node.
-
#name ⇒ String
The name of the node.
-
#node_type ⇒ String
The type of this node.
-
#status ⇒ String
Corresponds to the JSON property
status.
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
16631 16632 16633 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16631 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instances ⇒ Array<String>
Instances scheduled on this node.
Corresponds to the JSON property instances
16614 16615 16616 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16614 def instances @instances end |
#name ⇒ String
The name of the node.
Corresponds to the JSON property name
16619 16620 16621 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16619 def name @name end |
#node_type ⇒ String
The type of this node.
Corresponds to the JSON property nodeType
16624 16625 16626 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16624 def node_type @node_type end |
#status ⇒ String
Corresponds to the JSON property status
16629 16630 16631 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16629 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16636 16637 16638 16639 16640 16641 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 16636 def update!(**args) @instances = args[:instances] if args.key?(:instances) @name = args[:name] if args.key?(:name) @node_type = args[:node_type] if args.key?(:node_type) @status = args[:status] if args.key?(:status) end |