class Google::Apis::ComputeV1::AllocationSpecificSkuReservation

This reservation type allows to pre allocate specific instance configuration. Next ID: 6

Attributes

assured_count[RW]
Output Only

Indicates how many instances are actually usable currently.

Corresponds to the JSON property `assuredCount` @return [Fixnum]

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::ComputeV1::AllocationSpecificSkuAllocationReservedInstanceProperties]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 1225
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 1230
def update!(**args)
  @assured_count = args[:assured_count] if args.key?(:assured_count)
  @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