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.
10759 10760 10761 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 10759 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
10757 10758 10759 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 10757 def source_instance_template_id @source_instance_template_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10764 10765 10766 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 10764 def update!(**args) @source_instance_template_id = args[:source_instance_template_id] if args.key?(:source_instance_template_id) end |