Reference documentation and code samples for the Cloud Spanner V1 API class Google::Cloud::Spanner::V1::ListSessionsRequest.
The request for ListSessions.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#database
def database() -> ::String
- (::String) — Required. The database in which to list sessions.
#database=
def database=(value) -> ::String
- value (::String) — Required. The database in which to list sessions.
- (::String) — Required. The database in which to list sessions.
#filter
def filter() -> ::String
-
(::String) —
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".
#filter=
def filter=(value) -> ::String
-
value (::String) —
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".
-
(::String) —
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".
#page_size
def page_size() -> ::Integer
- (::Integer) — Number of sessions to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
#page_size=
def page_size=(value) -> ::Integer
- value (::Integer) — Number of sessions to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
- (::Integer) — Number of sessions to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
#page_token
def page_token() -> ::String
-
(::String) — If non-empty,
page_token
should contain a next_page_token from a previous ListSessionsResponse.
#page_token=
def page_token=(value) -> ::String
-
value (::String) — If non-empty,
page_token
should contain a next_page_token from a previous ListSessionsResponse.
-
(::String) — If non-empty,
page_token
should contain a next_page_token from a previous ListSessionsResponse.