class Google::Apis::ComputeBeta::AllocationSpecificSkuReservation
This reservation type allows to pre allocate specific instance configuration. Next ID: 5
Attributes
count[RW]
Specifies the number of resources that are allocated. Corresponds to the JSON property `count` @return [Fixnum]
in_use_count[RW]
- Output Only
-
Indicates how many instances are in use.
Corresponds to the JSON property `inUseCount` @return [Fixnum]
instance_properties[RW]
Properties of the SKU instances being reserved. Next ID: 9 Corresponds to the JSON property `instanceProperties` @return [Google::Apis::ComputeBeta::AllocationSpecificSkuAllocationReservedInstanceProperties]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 1227 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_beta/classes.rb, line 1232 def update!(**args) @count = args[:count] if args.key?(:count) @in_use_count = args[:in_use_count] if args.key?(:in_use_count) @instance_properties = args[:instance_properties] if args.key?(:instance_properties) end