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
16316 16317 16318 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16316 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instances ⇒ Array<String>
Instances scheduled on this node.
Corresponds to the JSON property instances
16294 16295 16296 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16294 def instances @instances end |
#name ⇒ String
The name of the node.
Corresponds to the JSON property name
16299 16300 16301 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16299 def name @name end |
#node_type ⇒ String
The type of this node.
Corresponds to the JSON property nodeType
16304 16305 16306 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16304 def node_type @node_type end |
#server_binding ⇒ Google::Apis::ComputeV1::ServerBinding
Binding properties for the physical server.
Corresponds to the JSON property serverBinding
16309 16310 16311 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16309 def server_binding @server_binding end |
#status ⇒ String
Corresponds to the JSON property status
16314 16315 16316 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16314 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16321 16322 16323 16324 16325 16326 16327 |
# File 'generated/google/apis/compute_v1/classes.rb', line 16321 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 |