WidgetService.WidgetGetSession
方法的请求消息。
JSON 表示法 |
---|
{ "location": string, "configId": string, "getSessionRequest": { object ( |
字段 | |
---|---|
location |
必需。将执行 widget 获取会话的位置资源。格式: |
configId |
必需。WidgetConfig 的 UUID。此字段用于标识 widget 配置。 |
getSessionRequest |
必需。向 ConversationalSearchService.GetSession 发出的代理请求。对于 [WidgetService.WidgetGetSession.get_session_request.name],只需要 sessionId。 |
additionalParams |
必需。用于增强安全性和隐私性的其他参数。 |
GetSessionRequest
对 GetSession 方法的请求。
JSON 表示法 |
---|
{ "name": string, "includeAnswerDetails": boolean } |
字段 | |
---|---|
name |
必需。要获取的会话的资源名称。格式: |
includeAnswerDetails |
可选。如果设置为 true,则返回完整会话,包括所有回答详情。 |