class Google::Apis::ComputeBeta::ReservationsScopedList
Attributes
reservations[RW]
A list of reservations contained in this scope. Corresponds to the JSON property `reservations` @return [Array<Google::Apis::ComputeBeta::Reservation>]
warning[RW]
Informational warning which replaces the list of reservations when the list is empty. Corresponds to the JSON property `warning` @return [Google::Apis::ComputeBeta::ReservationsScopedList::Warning]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_beta/classes.rb, line 27816 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/compute_beta/classes.rb, line 27821 def update!(**args) @reservations = args[:reservations] if args.key?(:reservations) @warning = args[:warning] if args.key?(:warning) end