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
[Output Only] The description of the FutureReservation before an amendment was requested.
-
#existing_matching_usage_info ⇒ Google::Apis::ComputeAlpha::FutureReservationStatusExistingMatchingUsageInfo
[Output Only] Represents the existing matching usage for the future reservation.
-
#future_reservation_specs ⇒ Google::Apis::ComputeAlpha::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.
12789 12790 12791 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12789 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
12758 12759 12760 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12758 def description @description end |
#existing_matching_usage_info ⇒ Google::Apis::ComputeAlpha::FutureReservationStatusExistingMatchingUsageInfo
[Output Only] Represents the existing matching usage for the future
reservation.
Corresponds to the JSON property existingMatchingUsageInfo
12764 12765 12766 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12764 def existing_matching_usage_info @existing_matching_usage_info 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
12769 12770 12771 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12769 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
12775 12776 12777 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12775 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
12781 12782 12783 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12781 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
12787 12788 12789 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12787 def procurement_status @procurement_status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12794 12795 12796 12797 12798 12799 12800 12801 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 12794 def update!(**args) @description = args[:description] if args.key?(:description) @existing_matching_usage_info = args[:existing_matching_usage_info] if args.key?(:existing_matching_usage_info) @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 |