Class ListSessionsResponse (4.0.0)

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

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
RepeatedField<Session>

Methods

GetEnumerator()

public IEnumerator<Session> GetEnumerator()

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

Returns
TypeDescription
IEnumerator<Session>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

IEnumerator IEnumerable.GetEnumerator()
Returns
TypeDescription
IEnumerator