Class: Google::Apis::ComputeBeta::FutureReservationStatusLastKnownGoodState

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FutureReservationStatusLastKnownGoodState

Returns a new instance of FutureReservationStatusLastKnownGoodState.



10874
10875
10876
# File 'lib/google/apis/compute_beta/classes.rb', line 10874

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#descriptionString

[Output Only] The description of the FutureReservation before an amendment was requested. Corresponds to the JSON property description

Returns:

  • (String)


10849
10850
10851
# File 'lib/google/apis/compute_beta/classes.rb', line 10849

def description
  @description
end

#future_reservation_specsGoogle::Apis::ComputeBeta::FutureReservationStatusLastKnownGoodStateFutureReservationSpecs

The properties of the last known good state for the Future Reservation. Corresponds to the JSON property futureReservationSpecs



10854
10855
10856
# File 'lib/google/apis/compute_beta/classes.rb', line 10854

def future_reservation_specs
  @future_reservation_specs
end

#lock_timeString

[Output Only] The lock time of the FutureReservation before an amendment was requested. Corresponds to the JSON property lockTime

Returns:

  • (String)


10860
10861
10862
# File 'lib/google/apis/compute_beta/classes.rb', line 10860

def lock_time
  @lock_time
end

#name_prefixString

[Output Only] The name prefix of the Future Reservation before an amendment was requested. Corresponds to the JSON property namePrefix

Returns:

  • (String)


10866
10867
10868
# File 'lib/google/apis/compute_beta/classes.rb', line 10866

def name_prefix
  @name_prefix
end

#procurement_statusString

[Output Only] The status of the last known good state for the Future Reservation. Corresponds to the JSON property procurementStatus

Returns:

  • (String)


10872
10873
10874
# File 'lib/google/apis/compute_beta/classes.rb', line 10872

def procurement_status
  @procurement_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10879
10880
10881
10882
10883
10884
10885
# File 'lib/google/apis/compute_beta/classes.rb', line 10879

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