WidgetListSessionsRequest

Request message for WidgetService.WidgetListSessions method.

JSON representation
{
  "location": string,
  "configId": string,
  "listSessionsRequest": {
    object (ListSessionsRequest)
  },
  "additionalParams": {
    object (AdditionalParams)
  }
}
Fields
location

string

Required. The location resource where widget list sessions will be performed. Format: locations/{location}

configId

string

Required. The UUID of the WidgetConfig. This field is used to identify the widget configuration.

listSessionsRequest

object (ListSessionsRequest)

Required. The proxied request to ConversationalSearchService.ListSessions.

additionalParams

object (AdditionalParams)

Required. Additional params for security and privacy enhancement.

ListSessionsRequest

Request for ListSessions method.

JSON representation
{
  "parent": string,
  "pageSize": integer,
  "pageToken": string,
  "filter": string,
  "orderBy": string
}
Fields
parent

string

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

pageSize

integer

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

pageToken

string

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

filter

string

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

Example: "userPseudoId = some_id"

orderBy

string

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

Example: * "updateTime desc" * "createTime" * "isPinned desc,updateTime desc": list sessions by isPinned first, then by updateTime.