Class: Google::Apis::ComputeAlpha::FutureReservationStatusLastKnownGoodStateFutureReservationSpecs

Inherits:
Object
  • Object
show all
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 properties of the last known good state for the Future Reservation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FutureReservationStatusLastKnownGoodStateFutureReservationSpecs

Returns a new instance of FutureReservationStatusLastKnownGoodStateFutureReservationSpecs.



11533
11534
11535
# File 'lib/google/apis/compute_alpha/classes.rb', line 11533

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

Instance Attribute Details

#share_settingsGoogle::Apis::ComputeAlpha::ShareSettings

The share setting for reservations and sole tenancy node groups. Corresponds to the JSON property shareSettings



11520
11521
11522
# File 'lib/google/apis/compute_alpha/classes.rb', line 11520

def share_settings
  @share_settings
end

#specific_sku_propertiesGoogle::Apis::ComputeAlpha::FutureReservationSpecificSkuProperties

[Output Only] The previous instance related properties of the Future Reservation. Corresponds to the JSON property specificSkuProperties



11526
11527
11528
# File 'lib/google/apis/compute_alpha/classes.rb', line 11526

def specific_sku_properties
  @specific_sku_properties
end

#time_windowGoogle::Apis::ComputeAlpha::FutureReservationTimeWindow

[Output Only] The previous time window of the Future Reservation. Corresponds to the JSON property timeWindow



11531
11532
11533
# File 'lib/google/apis/compute_alpha/classes.rb', line 11531

def time_window
  @time_window
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11538
11539
11540
11541
11542
# File 'lib/google/apis/compute_alpha/classes.rb', line 11538

def update!(**args)
  @share_settings = args[:share_settings] if args.key?(:share_settings)
  @specific_sku_properties = args[:specific_sku_properties] if args.key?(:specific_sku_properties)
  @time_window = args[:time_window] if args.key?(:time_window)
end