class Google::Apis::PubsubV1::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::PubsubV1::Topic>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/pubsub_v1/classes.rb, line 505
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/pubsub_v1/classes.rb, line 510
def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @topics = args[:topics] if args.key?(:topics)
end