public sealed class ListSnapshotsResponse : IMessage<ListSnapshotsResponse>, IEquatable<ListSnapshotsResponse>, IDeepCloneable<ListSnapshotsResponse>, IBufferMessage, IMessage, IPageResponse<Snapshot>, IEnumerable<Snapshot>, IEnumerable
Response for the ListSnapshots
method.
Inheritance
System.Object > ListSnapshotsResponseImplements
Google.Protobuf.IMessage<ListSnapshotsResponse>, System.IEquatable<ListSnapshotsResponse>, Google.Protobuf.IDeepCloneable<ListSnapshotsResponse>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage, Google.Api.Gax.Grpc.IPageResponse<Snapshot>, System.Collections.Generic.IEnumerable<Snapshot>, System.Collections.IEnumerableNamespace
Google.Cloud.PubSub.V1Assembly
Google.Cloud.PubSub.V1.dll
Constructors
ListSnapshotsResponse()
public ListSnapshotsResponse()
ListSnapshotsResponse(ListSnapshotsResponse)
public ListSnapshotsResponse(ListSnapshotsResponse other)
Parameter | |
---|---|
Name | Description |
other | ListSnapshotsResponse |
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 | |
---|---|
Type | Description |
System.String |
Snapshots
public RepeatedField<Snapshot> Snapshots { get; }
The resulting snapshots.
Property Value | |
---|---|
Type | Description |
Google.Protobuf.Collections.RepeatedField<Snapshot> |
Methods
GetEnumerator()
public IEnumerator<Snapshot> GetEnumerator()
Returns an enumerator that iterates through the resources in this response.
Returns | |
---|---|
Type | Description |
System.Collections.Generic.IEnumerator<Snapshot> |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
Returns | |
---|---|
Type | Description |
System.Collections.IEnumerator |