Class: Google::Apis::BigqueryreservationV1beta1::ListReservationsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/bigqueryreservation_v1beta1/classes.rb,
generated/google/apis/bigqueryreservation_v1beta1/representations.rb,
generated/google/apis/bigqueryreservation_v1beta1/representations.rb

Overview

The response for ReservationService.ListReservations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListReservationsResponse

Returns a new instance of ListReservationsResponse.



277
278
279
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 277

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

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


270
271
272
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 270

def next_page_token
  @next_page_token
end

#reservationsArray<Google::Apis::BigqueryreservationV1beta1::Reservation>

List of reservations visible to the user. Corresponds to the JSON property reservations



275
276
277
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 275

def reservations
  @reservations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



282
283
284
285
# File 'generated/google/apis/bigqueryreservation_v1beta1/classes.rb', line 282

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @reservations = args[:reservations] if args.key?(:reservations)
end