Class: Google::Cloud::Spanner::V1::ListSessionsRequest

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#database::String

Returns Required. The database in which to list sessions.

Returns:

  • (::String)

    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".

Returns:

  • (::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".


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.

Returns:

  • (::Integer)

    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.

Returns:



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