class Google::Apis::ComputeV1::NodeGroupNode

Attributes

accelerators[RW]

Accelerators for this node. Corresponds to the JSON property `accelerators` @return [Array<Google::Apis::ComputeV1::AcceleratorConfig>]

consumed_resources[RW]

Node resources that are reserved by all instances. Corresponds to the JSON property `consumedResources` @return [Google::Apis::ComputeV1::InstanceConsumptionInfo]

cpu_overcommit_type[RW]

CPU overcommit. Corresponds to the JSON property `cpuOvercommitType` @return [String]

disks[RW]

Local disk configurations. Corresponds to the JSON property `disks` @return [Array<Google::Apis::ComputeV1::LocalDisk>]

instance_consumption_data[RW]

Instance data that shows consumed resources on the node. Corresponds to the JSON property `instanceConsumptionData` @return [Array<Google::Apis::ComputeV1::InstanceConsumptionData>]

instances[RW]

Instances scheduled on this node. Corresponds to the JSON property `instances` @return [Array<String>]

name[RW]

The name of the node. Corresponds to the JSON property `name` @return [String]

node_type[RW]

The type of this node. Corresponds to the JSON property `nodeType` @return [String]

satisfies_pzs[RW]
Output Only

Reserved for future use.

Corresponds to the JSON property `satisfiesPzs` @return [Boolean]

satisfies_pzs?[RW]
Output Only

Reserved for future use.

Corresponds to the JSON property `satisfiesPzs` @return [Boolean]

server_binding[RW]

Binding properties for the physical server. Corresponds to the JSON property `serverBinding` @return [Google::Apis::ComputeV1::ServerBinding]

server_id[RW]

Server ID associated with this node. Corresponds to the JSON property `serverId` @return [String]

status[RW]

Corresponds to the JSON property `status` @return [String]

total_resources[RW]

Total amount of available resources on the node. Corresponds to the JSON property `totalResources` @return [Google::Apis::ComputeV1::InstanceConsumptionInfo]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 22126
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/compute_v1/classes.rb, line 22131
def update!(**args)
  @accelerators = args[:accelerators] if args.key?(:accelerators)
  @consumed_resources = args[:consumed_resources] if args.key?(:consumed_resources)
  @cpu_overcommit_type = args[:cpu_overcommit_type] if args.key?(:cpu_overcommit_type)
  @disks = args[:disks] if args.key?(:disks)
  @instance_consumption_data = args[:instance_consumption_data] if args.key?(:instance_consumption_data)
  @instances = args[:instances] if args.key?(:instances)
  @name = args[:name] if args.key?(:name)
  @node_type = args[:node_type] if args.key?(:node_type)
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
  @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)
  @total_resources = args[:total_resources] if args.key?(:total_resources)
end