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.
10928 10929 10930 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 10928 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
10926 10927 10928 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 10926 def source_instance_template_id @source_instance_template_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10933 10934 10935 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 10933 def update!(**args) @source_instance_template_id = args[:source_instance_template_id] if args.key?(:source_instance_template_id) end |