Class: Google::Apis::ComputeAlpha::FutureReservationStatusLastKnownGoodState
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::FutureReservationStatusLastKnownGoodState
- 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
The state that the future reservation will be reverted to should the amendment be declined.
Instance Attribute Summary collapse
-
#description ⇒ String
The description of the FutureReservation before an amendment was requested.
-
#future_reservation_specs ⇒ Google::Apis::ComputeAlpha::FutureReservationStatusLastKnownGoodStateFutureReservationSpecs
The properties of the last known good state for the Future Reservation.
-
#name_prefix ⇒ String
The name prefix of the Future Reservation before an amendment was requested.
-
#procurement_status ⇒ String
The status of the last known good state for the Future Reservation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FutureReservationStatusLastKnownGoodState
constructor
A new instance of FutureReservationStatusLastKnownGoodState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FutureReservationStatusLastKnownGoodState
Returns a new instance of FutureReservationStatusLastKnownGoodState.
11171 11172 11173 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 11171 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
The description of the FutureReservation before an amendment was requested.
Corresponds to the JSON property description
11154 11155 11156 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 11154 def description @description end |
#future_reservation_specs ⇒ Google::Apis::ComputeAlpha::FutureReservationStatusLastKnownGoodStateFutureReservationSpecs
The properties of the last known good state for the Future Reservation.
Corresponds to the JSON property futureReservationSpecs
11159 11160 11161 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 11159 def future_reservation_specs @future_reservation_specs end |
#name_prefix ⇒ String
The name prefix of the Future Reservation before an amendment was requested.
Corresponds to the JSON property namePrefix
11164 11165 11166 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 11164 def name_prefix @name_prefix end |
#procurement_status ⇒ String
The status of the last known good state for the Future Reservation.
Corresponds to the JSON property procurementStatus
11169 11170 11171 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 11169 def procurement_status @procurement_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11176 11177 11178 11179 11180 11181 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 11176 def update!(**args) @description = args[:description] if args.key?(:description) @future_reservation_specs = args[:future_reservation_specs] if args.key?(:future_reservation_specs) @name_prefix = args[:name_prefix] if args.key?(:name_prefix) @procurement_status = args[:procurement_status] if args.key?(:procurement_status) end |