class Google::Apis::PubsubliteV1::ListSubscriptionsResponse

Response for ListSubscriptions.

Attributes

next_page_token[RW]

A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results. Corresponds to the JSON property `nextPageToken` @return [String]

subscriptions[RW]

The list of subscriptions in the requested parent. The order of the subscriptions is unspecified. Corresponds to the JSON property `subscriptions` @return [Array<Google::Apis::PubsubliteV1::Subscription>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

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