Class: Google::Cloud::Spanner::V1::ListSessionsRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Spanner::V1::ListSessionsRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/spanner/v1/spanner.rb
Overview
The request for ListSessions.
Instance Attribute Summary collapse
-
#database ⇒ ::String
Required.
-
#filter ⇒ ::String
An expression for filtering the results of the request.
-
#page_size ⇒ ::Integer
Number of sessions to be returned in the response.
-
#page_token ⇒ ::String
If non-empty,
page_token
should contain a next_page_token from a previous ListSessionsResponse.
Instance Attribute Details
#database ⇒ ::String
Returns Required. The database in which to list sessions.
150 151 152 153 |
# File 'proto_docs/google/spanner/v1/spanner.rb', line 150 class ListSessionsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#filter ⇒ ::String
Returns 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".
150 151 152 153 |
# File 'proto_docs/google/spanner/v1/spanner.rb', line 150 class ListSessionsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#page_size ⇒ ::Integer
Returns Number of sessions to be returned in the response. If 0 or less, defaults to the server's maximum allowed page size.
150 151 152 153 |
# File 'proto_docs/google/spanner/v1/spanner.rb', line 150 class ListSessionsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#page_token ⇒ ::String
Returns If non-empty, page_token
should contain a
next_page_token
from a previous
ListSessionsResponse.
150 151 152 153 |
# File 'proto_docs/google/spanner/v1/spanner.rb', line 150 class ListSessionsRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |