Class: Google::Apis::ComputeAlpha::FutureReservationsScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::FutureReservationsScopedList
- 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
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#future_reservations ⇒ Array<Google::Apis::ComputeAlpha::FutureReservation>
A list of future reservations contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::FutureReservationsScopedList::Warning
Informational warning which replaces the list of future reservations when the list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FutureReservationsScopedList
constructor
A new instance of FutureReservationsScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FutureReservationsScopedList
Returns a new instance of FutureReservationsScopedList.
11080 11081 11082 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 11080 def initialize(**args) update!(**args) end |
Instance Attribute Details
#future_reservations ⇒ Array<Google::Apis::ComputeAlpha::FutureReservation>
A list of future reservations contained in this scope.
Corresponds to the JSON property futureReservations
11072 11073 11074 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 11072 def future_reservations @future_reservations end |
#warning ⇒ Google::Apis::ComputeAlpha::FutureReservationsScopedList::Warning
Informational warning which replaces the list of future reservations when the
list is empty.
Corresponds to the JSON property warning
11078 11079 11080 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 11078 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11085 11086 11087 11088 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 11085 def update!(**args) @future_reservations = args[:future_reservations] if args.key?(:future_reservations) @warning = args[:warning] if args.key?(:warning) end |