Class ListSnapshotsResponse

public sealed class ListSnapshotsResponse : IMessage<ListSnapshotsResponse>, IEquatable<ListSnapshotsResponse>, IDeepCloneable<ListSnapshotsResponse>, IBufferMessage, IMessage, IPageResponse<Snapshot>, IEnumerable<Snapshot>, IEnumerable

Response for the ListSnapshots method.

Inheritance

Object > ListSnapshotsResponse

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

ListSnapshotsResponse()

public ListSnapshotsResponse()

ListSnapshotsResponse(ListSnapshotsResponse)

public ListSnapshotsResponse(ListSnapshotsResponse other)
Parameter
TypeNameDescription
ListSnapshotsResponseother

Properties

NextPageToken

public string NextPageToken { get; set; }

If not empty, indicates that there may be more snapshot that match the request; this value should be passed in a new ListSnapshotsRequest.

Property Value
TypeDescription
String

Snapshots

public RepeatedField<Snapshot> Snapshots { get; }

The resulting snapshots.

Property Value
TypeDescription
RepeatedField<Snapshot>

Methods

GetEnumerator()

public IEnumerator<Snapshot> GetEnumerator()

Returns an enumerator that iterates through the resources in this response.

Returns
TypeDescription
IEnumerator<Snapshot>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
IEnumerator