Class: Google::Apis::ComputeV1::NodeGroupNode
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::NodeGroupNode
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- 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
-
#accelerators ⇒ Array<Google::Apis::ComputeV1::AcceleratorConfig>
Accelerators for this node.
-
#cpu_overcommit_type ⇒ String
CPU overcommit.
-
#disks ⇒ Array<Google::Apis::ComputeV1::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::ComputeV1::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.
18977 18978 18979 |
# File 'generated/google/apis/compute_v1/classes.rb', line 18977 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accelerators ⇒ Array<Google::Apis::ComputeV1::AcceleratorConfig>
Accelerators for this node.
Corresponds to the JSON property accelerators
18935 18936 18937 |
# File 'generated/google/apis/compute_v1/classes.rb', line 18935 def accelerators @accelerators end |
#cpu_overcommit_type ⇒ String
CPU overcommit.
Corresponds to the JSON property cpuOvercommitType
18940 18941 18942 |
# File 'generated/google/apis/compute_v1/classes.rb', line 18940 def cpu_overcommit_type @cpu_overcommit_type end |
#disks ⇒ Array<Google::Apis::ComputeV1::LocalDisk>
Local disk configurations.
Corresponds to the JSON property disks
18945 18946 18947 |
# File 'generated/google/apis/compute_v1/classes.rb', line 18945 def disks @disks end |
#instances ⇒ Array<String>
Instances scheduled on this node.
Corresponds to the JSON property instances
18950 18951 18952 |
# File 'generated/google/apis/compute_v1/classes.rb', line 18950 def instances @instances end |
#name ⇒ String
The name of the node.
Corresponds to the JSON property name
18955 18956 18957 |
# File 'generated/google/apis/compute_v1/classes.rb', line 18955 def name @name end |
#node_type ⇒ String
The type of this node.
Corresponds to the JSON property nodeType
18960 18961 18962 |
# File 'generated/google/apis/compute_v1/classes.rb', line 18960 def node_type @node_type end |
#server_binding ⇒ Google::Apis::ComputeV1::ServerBinding
Binding properties for the physical server.
Corresponds to the JSON property serverBinding
18965 18966 18967 |
# File 'generated/google/apis/compute_v1/classes.rb', line 18965 def server_binding @server_binding end |
#server_id ⇒ String
Server ID associated with this node.
Corresponds to the JSON property serverId
18970 18971 18972 |
# File 'generated/google/apis/compute_v1/classes.rb', line 18970 def server_id @server_id end |
#status ⇒ String
Corresponds to the JSON property status
18975 18976 18977 |
# File 'generated/google/apis/compute_v1/classes.rb', line 18975 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18982 18983 18984 18985 18986 18987 18988 18989 18990 18991 18992 |
# File 'generated/google/apis/compute_v1/classes.rb', line 18982 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 |