Class: Google::Apis::ComputeV1::ReservationsResizeRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReservationsResizeRequest

Returns a new instance of ReservationsResizeRequest



18410
18411
18412
# File 'generated/google/apis/compute_v1/classes.rb', line 18410

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)


18408
18409
18410
# File 'generated/google/apis/compute_v1/classes.rb', line 18408

def specific_sku_count
  @specific_sku_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18415
18416
18417
# File 'generated/google/apis/compute_v1/classes.rb', line 18415

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