Class: Google::Apis::ComputeBeta::ReservationsResizeRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReservationsResizeRequest

Returns a new instance of ReservationsResizeRequest.



32192
32193
32194
# File 'lib/google/apis/compute_beta/classes.rb', line 32192

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#specific_sku_countFixnum

Number of allocated resources can be resized with minimum = 1 and maximum = 1000. Corresponds to the JSON property specificSkuCount

Returns:

  • (Fixnum)


32190
32191
32192
# File 'lib/google/apis/compute_beta/classes.rb', line 32190

def specific_sku_count
  @specific_sku_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32197
32198
32199
# File 'lib/google/apis/compute_beta/classes.rb', line 32197

def update!(**args)
  @specific_sku_count = args[:specific_sku_count] if args.key?(:specific_sku_count)
end