class Google::Apis::PubsubV1::ListSubscriptionsResponse

Response for the `ListSubscriptions` 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 `ListSubscriptionsRequest` to get more subscriptions. Corresponds to the JSON property `nextPageToken` @return [String]

subscriptions[RW]

The subscriptions that match the request. Corresponds to the JSON property `subscriptions` @return [Array<Google::Apis::PubsubV1::Subscription>]

Public Class Methods

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