Google Cloud Spanner v1 API - Class ListSessionsResponse (5.0.0-beta02)

public sealed class ListSessionsResponse : IMessage<ListSessionsResponse>, IEquatable<ListSessionsResponse>, IDeepCloneable<ListSessionsResponse>, IBufferMessage, IMessage, IPageResponse<Session>, IEnumerable<Session>, IEnumerable

Reference documentation and code samples for the Google Cloud Spanner v1 API class ListSessionsResponse.

The response for [ListSessions][google.spanner.v1.Spanner.ListSessions].

Inheritance

object > ListSessionsResponse

Namespace

Google.Cloud.Spanner.V1

Assembly

Google.Cloud.Spanner.V1.dll

Constructors

ListSessionsResponse()

public ListSessionsResponse()

ListSessionsResponse(ListSessionsResponse)

public ListSessionsResponse(ListSessionsResponse other)
Parameter
NameDescription
otherListSessionsResponse

Properties

NextPageToken

public string NextPageToken { get; set; }

next_page_token can be sent in a subsequent [ListSessions][google.spanner.v1.Spanner.ListSessions] call to fetch more of the matching sessions.

Property Value
TypeDescription
string

Sessions

public RepeatedField<Session> Sessions { get; }

The list of requested sessions.

Property Value
TypeDescription
RepeatedFieldSession

Methods

GetEnumerator()

public IEnumerator<Session> GetEnumerator()

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

Returns
TypeDescription
IEnumeratorSession