Class: Google::Apis::BigqueryreservationV1::ListReservationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryreservationV1::ListReservationsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigqueryreservation_v1/classes.rb,
lib/google/apis/bigqueryreservation_v1/representations.rb,
lib/google/apis/bigqueryreservation_v1/representations.rb
Overview
The response for ReservationService.ListReservations.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more results in the list.
-
#reservations ⇒ Array<Google::Apis::BigqueryreservationV1::Reservation>
List of reservations visible to the user.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListReservationsResponse
constructor
A new instance of ListReservationsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListReservationsResponse
Returns a new instance of ListReservationsResponse.
352 353 354 |
# File 'lib/google/apis/bigqueryreservation_v1/classes.rb', line 352 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Token to retrieve the next page of results, or empty if there are no more
results in the list.
Corresponds to the JSON property nextPageToken
345 346 347 |
# File 'lib/google/apis/bigqueryreservation_v1/classes.rb', line 345 def next_page_token @next_page_token end |
#reservations ⇒ Array<Google::Apis::BigqueryreservationV1::Reservation>
List of reservations visible to the user.
Corresponds to the JSON property reservations
350 351 352 |
# File 'lib/google/apis/bigqueryreservation_v1/classes.rb', line 350 def reservations @reservations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
357 358 359 360 |
# File 'lib/google/apis/bigqueryreservation_v1/classes.rb', line 357 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @reservations = args[:reservations] if args.key?(:reservations) end |