Class: Google::Apis::PubsubliteV1::ListReservationsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PubsubliteV1::ListReservationsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/pubsublite_v1/classes.rb,
lib/google/apis/pubsublite_v1/representations.rb,
lib/google/apis/pubsublite_v1/representations.rb
Overview
Response for ListReservations.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token that can be sent as
page_token
to retrieve the next page of results. -
#reservations ⇒ Array<Google::Apis::PubsubliteV1::Reservation>
The list of reservation in the requested parent.
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.
454 455 456 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 454 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
A token that can be sent as page_token
to retrieve the next page of results.
If this field is omitted, there are no more results.
Corresponds to the JSON property nextPageToken
446 447 448 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 446 def next_page_token @next_page_token end |
#reservations ⇒ Array<Google::Apis::PubsubliteV1::Reservation>
The list of reservation in the requested parent. The order of the reservations
is unspecified.
Corresponds to the JSON property reservations
452 453 454 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 452 def reservations @reservations end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
459 460 461 462 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 459 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @reservations = args[:reservations] if args.key?(:reservations) end |