class Google::Apis::PubsubV1beta2::ListTopicsResponse
Response for the `ListTopics` method.
Attributes
next_page_token[RW]
If not empty, indicates that there may be more topics that match the request; this value should be passed in a new `ListTopicsRequest`. Corresponds to the JSON property `nextPageToken` @return [String]
topics[RW]
The resulting topics. Corresponds to the JSON property `topics` @return [Array<Google::Apis::PubsubV1beta2::Topic>]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/pubsub_v1beta2/classes.rb, line 292 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/pubsub_v1beta2/classes.rb, line 297 def update!(**args) @topics = args[:topics] unless args[:topics].nil? @next_page_token = args[:next_page_token] unless args[:next_page_token].nil? end