class Google::Apis::ComputeV1::ReservationsScopedList
Attributes
reservations[RW]
A list of reservations contained in this scope. Corresponds to the JSON property `reservations` @return [Array<Google::Apis::ComputeV1::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::ComputeV1::ReservationsScopedList::Warning]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/compute_v1/classes.rb, line 26274 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_v1/classes.rb, line 26279 def update!(**args) @reservations = args[:reservations] if args.key?(:reservations) @warning = args[:warning] if args.key?(:warning) end