Class: Google::Apis::ComputeBeta::FutureReservationStatusLastKnownGoodState
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::FutureReservationStatusLastKnownGoodState
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/google/apis/compute_beta/representations.rb
Overview
The state that the future reservation will be reverted to should the amendment be declined.
Instance Attribute Summary collapse
-
#description ⇒ String
[Output Only] The description of the FutureReservation before an amendment was requested.
-
#future_reservation_specs ⇒ Google::Apis::ComputeBeta::FutureReservationStatusLastKnownGoodStateFutureReservationSpecs
The properties of the last known good state for the Future Reservation.
-
#lock_time ⇒ String
[Output Only] The lock time of the FutureReservation before an amendment was requested.
-
#name_prefix ⇒ String
[Output Only] The name prefix of the Future Reservation before an amendment was requested.
-
#procurement_status ⇒ String
[Output Only] 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.
10832 10833 10834 |
# File 'lib/google/apis/compute_beta/classes.rb', line 10832 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
[Output Only] The description of the FutureReservation before an amendment was
requested.
Corresponds to the JSON property description
10807 10808 10809 |
# File 'lib/google/apis/compute_beta/classes.rb', line 10807 def description @description end |
#future_reservation_specs ⇒ Google::Apis::ComputeBeta::FutureReservationStatusLastKnownGoodStateFutureReservationSpecs
The properties of the last known good state for the Future Reservation.
Corresponds to the JSON property futureReservationSpecs
10812 10813 10814 |
# File 'lib/google/apis/compute_beta/classes.rb', line 10812 def future_reservation_specs @future_reservation_specs end |
#lock_time ⇒ String
[Output Only] The lock time of the FutureReservation before an amendment was
requested.
Corresponds to the JSON property lockTime
10818 10819 10820 |
# File 'lib/google/apis/compute_beta/classes.rb', line 10818 def lock_time @lock_time end |
#name_prefix ⇒ String
[Output Only] The name prefix of the Future Reservation before an amendment
was requested.
Corresponds to the JSON property namePrefix
10824 10825 10826 |
# File 'lib/google/apis/compute_beta/classes.rb', line 10824 def name_prefix @name_prefix end |
#procurement_status ⇒ String
[Output Only] The status of the last known good state for the Future
Reservation.
Corresponds to the JSON property procurementStatus
10830 10831 10832 |
# File 'lib/google/apis/compute_beta/classes.rb', line 10830 def procurement_status @procurement_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10837 10838 10839 10840 10841 10842 10843 |
# File 'lib/google/apis/compute_beta/classes.rb', line 10837 def update!(**args) @description = args[:description] if args.key?(:description) @future_reservation_specs = args[:future_reservation_specs] if args.key?(:future_reservation_specs) @lock_time = args[:lock_time] if args.key?(:lock_time) @name_prefix = args[:name_prefix] if args.key?(:name_prefix) @procurement_status = args[:procurement_status] if args.key?(:procurement_status) end |