Class: Google::Apis::ComputeAlpha::FutureReservationSpecificSkuProperties
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::FutureReservationSpecificSkuProperties
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#instance_properties ⇒ Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationReservedInstanceProperties
Properties of the SKU instances being reserved.
-
#total_count ⇒ Fixnum
Total number of instances for which capacity assurance is requested at a future time period.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FutureReservationSpecificSkuProperties
constructor
A new instance of FutureReservationSpecificSkuProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FutureReservationSpecificSkuProperties
Returns a new instance of FutureReservationSpecificSkuProperties.
9773 9774 9775 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 9773 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_properties ⇒ Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationReservedInstanceProperties
Properties of the SKU instances being reserved. Next ID: 9
Corresponds to the JSON property instanceProperties
9765 9766 9767 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 9765 def instance_properties @instance_properties end |
#total_count ⇒ Fixnum
Total number of instances for which capacity assurance is requested at a
future time period.
Corresponds to the JSON property totalCount
9771 9772 9773 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 9771 def total_count @total_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9778 9779 9780 9781 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 9778 def update!(**args) @instance_properties = args[:instance_properties] if args.key?(:instance_properties) @total_count = args[:total_count] if args.key?(:total_count) end |