Class: Google::Apis::ComputeBeta::NodeGroupNode
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::NodeGroupNode
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- 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
-
#accelerators ⇒ Array<Google::Apis::ComputeBeta::AcceleratorConfig>
Accelerators for this node.
-
#cpu_overcommit_type ⇒ String
CPU overcommit.
-
#disks ⇒ Array<Google::Apis::ComputeBeta::LocalDisk>
Local disk configurations.
-
#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::ComputeBeta::ServerBinding
Binding properties for the physical server.
-
#server_id ⇒ String
Server ID associated with 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.
Constructor Details
#initialize(**args) ⇒ NodeGroupNode
Returns a new instance of NodeGroupNode.
20802 20803 20804 |
# File 'generated/google/apis/compute_beta/classes.rb', line 20802 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accelerators ⇒ Array<Google::Apis::ComputeBeta::AcceleratorConfig>
Accelerators for this node.
Corresponds to the JSON property accelerators
20760 20761 20762 |
# File 'generated/google/apis/compute_beta/classes.rb', line 20760 def accelerators @accelerators end |
#cpu_overcommit_type ⇒ String
CPU overcommit.
Corresponds to the JSON property cpuOvercommitType
20765 20766 20767 |
# File 'generated/google/apis/compute_beta/classes.rb', line 20765 def cpu_overcommit_type @cpu_overcommit_type end |
#disks ⇒ Array<Google::Apis::ComputeBeta::LocalDisk>
Local disk configurations.
Corresponds to the JSON property disks
20770 20771 20772 |
# File 'generated/google/apis/compute_beta/classes.rb', line 20770 def disks @disks end |
#instances ⇒ Array<String>
Instances scheduled on this node.
Corresponds to the JSON property instances
20775 20776 20777 |
# File 'generated/google/apis/compute_beta/classes.rb', line 20775 def instances @instances end |
#name ⇒ String
The name of the node.
Corresponds to the JSON property name
20780 20781 20782 |
# File 'generated/google/apis/compute_beta/classes.rb', line 20780 def name @name end |
#node_type ⇒ String
The type of this node.
Corresponds to the JSON property nodeType
20785 20786 20787 |
# File 'generated/google/apis/compute_beta/classes.rb', line 20785 def node_type @node_type end |
#server_binding ⇒ Google::Apis::ComputeBeta::ServerBinding
Binding properties for the physical server.
Corresponds to the JSON property serverBinding
20790 20791 20792 |
# File 'generated/google/apis/compute_beta/classes.rb', line 20790 def server_binding @server_binding end |
#server_id ⇒ String
Server ID associated with this node.
Corresponds to the JSON property serverId
20795 20796 20797 |
# File 'generated/google/apis/compute_beta/classes.rb', line 20795 def server_id @server_id end |
#status ⇒ String
Corresponds to the JSON property status
20800 20801 20802 |
# File 'generated/google/apis/compute_beta/classes.rb', line 20800 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20807 20808 20809 20810 20811 20812 20813 20814 20815 20816 20817 |
# File 'generated/google/apis/compute_beta/classes.rb', line 20807 def update!(**args) @accelerators = args[:accelerators] if args.key?(:accelerators) @cpu_overcommit_type = args[:cpu_overcommit_type] if args.key?(:cpu_overcommit_type) @disks = args[:disks] if args.key?(:disks) @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) @server_id = args[:server_id] if args.key?(:server_id) @status = args[:status] if args.key?(:status) end |