Class: Google::Apis::ComputeBeta::NodeGroupNode
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::NodeGroupNode
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/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
14548 14549 14550 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14548 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instances ⇒ Array<String>
Instances scheduled on this node.
Corresponds to the JSON property instances
14531 14532 14533 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14531 def instances @instances end |
#name ⇒ String
The name of the node.
Corresponds to the JSON property name
14536 14537 14538 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14536 def name @name end |
#node_type ⇒ String
The type of this node.
Corresponds to the JSON property nodeType
14541 14542 14543 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14541 def node_type @node_type end |
#status ⇒ String
Corresponds to the JSON property status
14546 14547 14548 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14546 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14553 14554 14555 14556 14557 14558 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14553 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 |