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.
-
#server_binding ⇒ Google::Apis::ComputeV1::ServerBinding
Binding properties for the physical server.
-
#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
16378 16379 16380 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16378 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instances ⇒ Array<String>
Instances scheduled on this node.
Corresponds to the JSON property instances
16356 16357 16358 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16356 def instances @instances end |
#name ⇒ String
The name of the node.
Corresponds to the JSON property name
16361 16362 16363 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16361 def name @name end |
#node_type ⇒ String
The type of this node.
Corresponds to the JSON property nodeType
16366 16367 16368 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16366 def node_type @node_type end |
#server_binding ⇒ Google::Apis::ComputeV1::ServerBinding
Binding properties for the physical server.
Corresponds to the JSON property serverBinding
16371 16372 16373 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16371 def server_binding @server_binding end |
#status ⇒ String
Corresponds to the JSON property status
16376 16377 16378 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16376 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16383 16384 16385 16386 16387 16388 16389 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16383 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) @server_binding = args[:server_binding] if args.key?(:server_binding) @status = args[:status] if args.key?(:status) end |