Class: Google::Apis::PubsubliteV1::ListTopicsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PubsubliteV1::ListTopicsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/pubsublite_v1/classes.rb,
generated/google/apis/pubsublite_v1/representations.rb,
generated/google/apis/pubsublite_v1/representations.rb
Overview
Response for ListTopics.
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<Google::Apis::PubsubliteV1::Topic>
The list of topic in the requested parent.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListTopicsResponse
constructor
A new instance of ListTopicsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListTopicsResponse
Returns a new instance of ListTopicsResponse.
274 275 276 |
# File 'generated/google/apis/pubsublite_v1/classes.rb', line 274 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
266 267 268 |
# File 'generated/google/apis/pubsublite_v1/classes.rb', line 266 def next_page_token @next_page_token end |
#topics ⇒ Array<Google::Apis::PubsubliteV1::Topic>
The list of topic in the requested parent. The order of the topics is
unspecified.
Corresponds to the JSON property topics
272 273 274 |
# File 'generated/google/apis/pubsublite_v1/classes.rb', line 272 def topics @topics end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
279 280 281 282 |
# File 'generated/google/apis/pubsublite_v1/classes.rb', line 279 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @topics = args[:topics] if args.key?(:topics) end |