Class: Google::Apis::PubsubliteV1::ListReservationTopicsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PubsubliteV1::ListReservationTopicsResponse
- 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 ListReservationTopics.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
A token that can be sent as
page_token
to retrieve the next page of results. -
#topics ⇒ Array<String>
The names of topics attached to the reservation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListReservationTopicsResponse
constructor
A new instance of ListReservationTopicsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListReservationTopicsResponse
Returns a new instance of ListReservationTopicsResponse.
427 428 429 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 427 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
419 420 421 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 419 def next_page_token @next_page_token end |
#topics ⇒ Array<String>
The names of topics attached to the reservation. The order of the topics is
unspecified.
Corresponds to the JSON property topics
425 426 427 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 425 def topics @topics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
432 433 434 435 |
# File 'lib/google/apis/pubsublite_v1/classes.rb', line 432 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @topics = args[:topics] if args.key?(:topics) end |