Cloud Pub/Sub v1 API - Class ListSnapshotsResponse (3.14.0)

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
Name Description
other ListSnapshotsResponse

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
Type Description
string

Snapshots

public RepeatedField<Snapshot> Snapshots { get; }

Optional. The resulting snapshots.

Property Value
Type Description
RepeatedFieldSnapshot

Methods

GetEnumerator()

public IEnumerator<Snapshot> GetEnumerator()

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

Returns
Type Description
IEnumeratorSnapshot