class Google::Apis::ComputeV1::InstanceConsumptionInfo
Attributes
guest_cpus[RW]
The number of virtual CPUs that are available to the instance. Corresponds to the JSON property `guestCpus` @return [Fixnum]
local_ssd_gb[RW]
The amount of local SSD storage available to the instance, defined in GiB. Corresponds to the JSON property `localSsdGb` @return [Fixnum]
memory_mb[RW]
The amount of physical memory available to the instance, defined in MiB. Corresponds to the JSON property `memoryMb` @return [Fixnum]
min_node_cpus[RW]
The minimal guaranteed number of virtual CPUs that are reserved. Corresponds to the JSON property `minNodeCpus` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 13098 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 13103 def update!(**args) @guest_cpus = args[:guest_cpus] if args.key?(:guest_cpus) @local_ssd_gb = args[:local_ssd_gb] if args.key?(:local_ssd_gb) @memory_mb = args[:memory_mb] if args.key?(:memory_mb) @min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus) end