The request for
ListSessions][google.spanner.v1.Spanner.ListSessions].
Attributes
Name
Description
database
str
Required. The database in which to list
sessions.
page_size
int
Number of sessions to be returned in the
response. If 0 or less, defaults to the server's
maximum allowed page size.
page_token
str
If non-empty, page_token should contain a
next_page_token][google.spanner.v1.ListSessionsResponse.next_page_token]
from a previous
ListSessionsResponse][google.spanner.v1.ListSessionsResponse].
filter
str
An expression for filtering the results of the request.
Filter rules are case insensitive. The fields eligible for
filtering are:
- labels.key where key is the name of a label
Some examples of using filters are:
- labels.env:* --> The session has the label "env".
- labels.env:dev --> The session has the label "env" and
the value of the label contains the string "dev".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-05-09 UTC."],[],[]]