Class: Google::Apis::ComputeV1::NodeGroupNode
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::NodeGroupNode
- Defined in:
- generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/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
13365 13366 13367 |
# File 'generated/google/apis/compute_v1/classes.rb', line 13365 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instances ⇒ Array<String>
Instances scheduled on this node.
Corresponds to the JSON property instances
13348 13349 13350 |
# File 'generated/google/apis/compute_v1/classes.rb', line 13348 def instances @instances end |
#name ⇒ String
The name of the node.
Corresponds to the JSON property name
13353 13354 13355 |
# File 'generated/google/apis/compute_v1/classes.rb', line 13353 def name @name end |
#node_type ⇒ String
The type of this node.
Corresponds to the JSON property nodeType
13358 13359 13360 |
# File 'generated/google/apis/compute_v1/classes.rb', line 13358 def node_type @node_type end |
#status ⇒ String
Corresponds to the JSON property status
13363 13364 13365 |
# File 'generated/google/apis/compute_v1/classes.rb', line 13363 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13370 13371 13372 13373 13374 13375 |
# File 'generated/google/apis/compute_v1/classes.rb', line 13370 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 |