Class: Google::Apis::ComputeV1::FutureReservationSpecificSkuProperties
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::FutureReservationSpecificSkuProperties
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
-
#instance_properties ⇒ Google::Apis::ComputeV1::AllocationSpecificSkuAllocationReservedInstanceProperties
Properties of the SKU instances being reserved.
-
#source_instance_template ⇒ String
The instance template that will be used to populate the ReservedInstanceProperties of the future reservation Corresponds to the JSON property
sourceInstanceTemplate
. -
#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.
10600 10601 10602 |
# File 'lib/google/apis/compute_v1/classes.rb', line 10600 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instance_properties ⇒ Google::Apis::ComputeV1::AllocationSpecificSkuAllocationReservedInstanceProperties
Properties of the SKU instances being reserved. Next ID: 9
Corresponds to the JSON property instanceProperties
10586 10587 10588 |
# File 'lib/google/apis/compute_v1/classes.rb', line 10586 def instance_properties @instance_properties end |
#source_instance_template ⇒ String
The instance template that will be used to populate the
ReservedInstanceProperties of the future reservation
Corresponds to the JSON property sourceInstanceTemplate
10592 10593 10594 |
# File 'lib/google/apis/compute_v1/classes.rb', line 10592 def source_instance_template @source_instance_template 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
10598 10599 10600 |
# File 'lib/google/apis/compute_v1/classes.rb', line 10598 def total_count @total_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10605 10606 10607 10608 10609 |
# File 'lib/google/apis/compute_v1/classes.rb', line 10605 def update!(**args) @instance_properties = args[:instance_properties] if args.key?(:instance_properties) @source_instance_template = args[:source_instance_template] if args.key?(:source_instance_template) @total_count = args[:total_count] if args.key?(:total_count) end |