class Google::Apis::PubsubV1::ListTopicSubscriptionsResponse

Response for the `ListTopicSubscriptions` method.

Attributes

next_page_token[RW]

If not empty, indicates that there may be more subscriptions that match the request; this value should be passed in a new `ListTopicSubscriptionsRequest` to get more subscriptions. Corresponds to the JSON property `nextPageToken` @return [String]

subscriptions[RW]

The names of subscriptions attached to the topic specified in the request. Corresponds to the JSON property `subscriptions` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/pubsub_v1/classes.rb, line 479
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 484
def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @subscriptions = args[:subscriptions] if args.key?(:subscriptions)
end