Class: Google::Cloud::DiscoveryEngine::V1::ListSessionsRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb

Overview

Request for ListSessions method.

Instance Attribute Summary collapse

Instance Attribute Details

#filter::String

Returns A filter to apply on the list results. The supported features are: user_pseudo_id, state.

Example: "user_pseudo_id = some_id".

Returns:

  • (::String)

    A filter to apply on the list results. The supported features are: user_pseudo_id, state.

    Example: "user_pseudo_id = some_id"



948
949
950
951
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 948

class ListSessionsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#order_by::String

Returns A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields:

  • update_time
  • create_time
  • session_name
  • is_pinned

Example:

  • "update_time desc"
  • "create_time"
  • "is_pinned desc,update_time desc": list sessions by is_pinned first, then by update_time.

Returns:

  • (::String)

    A comma-separated list of fields to order by, sorted in ascending order. Use "desc" after a field name for descending. Supported fields:

    • update_time
    • create_time
    • session_name
    • is_pinned

    Example:

    • "update_time desc"
    • "create_time"
    • "is_pinned desc,update_time desc": list sessions by is_pinned first, then by update_time.


948
949
950
951
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 948

class ListSessionsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#page_size::Integer

Returns Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.

Returns:

  • (::Integer)

    Maximum number of results to return. If unspecified, defaults to 50. Max allowed value is 1000.



948
949
950
951
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 948

class ListSessionsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#page_token::String

Returns A page token, received from a previous ListSessions call. Provide this to retrieve the subsequent page.

Returns:

  • (::String)

    A page token, received from a previous ListSessions call. Provide this to retrieve the subsequent page.



948
949
950
951
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 948

class ListSessionsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#parent::String

Returns Required. The data store resource name. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}.

Returns:

  • (::String)

    Required. The data store resource name. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store_id}



948
949
950
951
# File 'proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb', line 948

class ListSessionsRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end