class Google::Apis::PubsubV1::ListSnapshotsResponse

Response for the `ListSnapshots` method.

Attributes

next_page_token[RW]

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

snapshots[RW]

The resulting snapshots. Corresponds to the JSON property `snapshots` @return [Array<Google::Apis::PubsubV1::Snapshot>]

Public Class Methods

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