Class ListSnapshotsResponse (2.4.0)

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

Implements

Google.Protobuf.IMessage<ListSnapshotsResponse>, IEquatable<ListSnapshotsResponse>, Google.Protobuf.IDeepCloneable<ListSnapshotsResponse>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage, IPageResponse<Snapshot>, IEnumerable<Snapshot>, IEnumerable

Namespace

Google.Cloud.PubSub.V1

Assembly

Google.Cloud.PubSub.V1.dll

Constructors

ListSnapshotsResponse()

public ListSnapshotsResponse()

ListSnapshotsResponse(ListSnapshotsResponse)

public ListSnapshotsResponse(ListSnapshotsResponse other)
Parameter
NameDescription
otherListSnapshotsResponse

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
Google.Protobuf.Collections.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