Class: Google::Apis::ComputeV1::FutureReservationStatusLastKnownGoodState

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/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.



10747
10748
10749
# File 'lib/google/apis/compute_v1/classes.rb', line 10747

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)


10716
10717
10718
# File 'lib/google/apis/compute_v1/classes.rb', line 10716

def description
  @description
end

#existing_matching_usage_infoGoogle::Apis::ComputeV1::FutureReservationStatusExistingMatchingUsageInfo

[Output Only] Represents the existing matching usage for the future reservation. Corresponds to the JSON property existingMatchingUsageInfo



10722
10723
10724
# File 'lib/google/apis/compute_v1/classes.rb', line 10722

def existing_matching_usage_info
  @existing_matching_usage_info
end

#future_reservation_specsGoogle::Apis::ComputeV1::FutureReservationStatusLastKnownGoodStateFutureReservationSpecs

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



10727
10728
10729
# File 'lib/google/apis/compute_v1/classes.rb', line 10727

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)


10733
10734
10735
# File 'lib/google/apis/compute_v1/classes.rb', line 10733

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)


10739
10740
10741
# File 'lib/google/apis/compute_v1/classes.rb', line 10739

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)


10745
10746
10747
# File 'lib/google/apis/compute_v1/classes.rb', line 10745

def procurement_status
  @procurement_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10752
10753
10754
10755
10756
10757
10758
10759
# File 'lib/google/apis/compute_v1/classes.rb', line 10752

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