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.
-
#server_binding ⇒ Google::Apis::ComputeAlpha::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
18505 18506 18507 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 18505 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instances ⇒ Array<String>
Instances scheduled on this node.
Corresponds to the JSON property instances
18483 18484 18485 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 18483 def instances @instances end |
#name ⇒ String
The name of the node.
Corresponds to the JSON property name
18488 18489 18490 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 18488 def name @name end |
#node_type ⇒ String
The type of this node.
Corresponds to the JSON property nodeType
18493 18494 18495 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 18493 def node_type @node_type end |
#server_binding ⇒ Google::Apis::ComputeAlpha::ServerBinding
Binding properties for the physical server.
Corresponds to the JSON property serverBinding
18498 18499 18500 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 18498 def server_binding @server_binding end |
#status ⇒ String
Corresponds to the JSON property status
18503 18504 18505 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 18503 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18510 18511 18512 18513 18514 18515 18516 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 18510 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 |