Class: Google::Apis::PubsubV1beta1a::ListTopicsResponse
- Inherits:
-
Object
- Object
- Google::Apis::PubsubV1beta1a::ListTopicsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/pubsub_v1beta1a/classes.rb,
generated/google/apis/pubsub_v1beta1a/representations.rb,
generated/google/apis/pubsub_v1beta1a/representations.rb
Overview
Response for the ListTopics method.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
If not empty, indicates that there are more topics that match the request, and this value should be passed to the next ListTopicsRequest to continue.
-
#topic ⇒ Array<Google::Apis::PubsubV1beta1a::Topic>
The resulting topics.
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.
152 153 154 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 152 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
If not empty, indicates that there are more topics that match the request, and
this value should be passed to the next ListTopicsRequest to continue.
Corresponds to the JSON property nextPageToken
145 146 147 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 145 def next_page_token @next_page_token end |
#topic ⇒ Array<Google::Apis::PubsubV1beta1a::Topic>
The resulting topics.
Corresponds to the JSON property topic
150 151 152 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 150 def topic @topic end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
157 158 159 160 |
# File 'generated/google/apis/pubsub_v1beta1a/classes.rb', line 157 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @topic = args[:topic] if args.key?(:topic) end |