class Google::Apis::PubsubV1beta2::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 the subscriptions that match the request. Corresponds to the JSON property `subscriptions` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/pubsub_v1beta2/classes.rb, line 319
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 324
def update!(**args)
  @subscriptions = args[:subscriptions] unless args[:subscriptions].nil?
  @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
end