Cloud Pub/Sub v1 API - Class ListSnapshotsResponse (3.10.0-beta01)

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

Reference documentation and code samples for the Cloud Pub/Sub v1 API class ListSnapshotsResponse.

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
NameDescription
otherListSnapshotsResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

Optional. 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; }

Optional. The resulting snapshots.

Property Value
TypeDescription
RepeatedFieldSnapshot

Methods

GetEnumerator()

public IEnumerator<Snapshot> GetEnumerator()

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

Returns
TypeDescription
IEnumeratorSnapshot