Class: Google::Apis::ComputeAlpha::FutureReservationStatusSpecificSkuProperties
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::FutureReservationStatusSpecificSkuProperties
- 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
Overview
Properties to be set for the Future Reservation.
Instance Attribute Summary collapse
-
#source_instance_template_id ⇒ String
ID of the instance template used to populate the Future Reservation properties.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FutureReservationStatusSpecificSkuProperties
constructor
A new instance of FutureReservationStatusSpecificSkuProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FutureReservationStatusSpecificSkuProperties
Returns a new instance of FutureReservationStatusSpecificSkuProperties.
11646 11647 11648 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 11646 def initialize(**args) update!(**args) end |
Instance Attribute Details
#source_instance_template_id ⇒ String
ID of the instance template used to populate the Future Reservation properties.
Corresponds to the JSON property sourceInstanceTemplateId
11644 11645 11646 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 11644 def source_instance_template_id @source_instance_template_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11651 11652 11653 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 11651 def update!(**args) @source_instance_template_id = args[:source_instance_template_id] if args.key?(:source_instance_template_id) end |