WidgetGetSessionRequest

Request message for WidgetService.WidgetGetSession method.

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

string

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

configId

string

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

getSessionRequest

object ( GetSessionRequest )

Required. The proxied request to ConversationalSearchService.GetSession. For [WidgetService.WidgetGetSession.get_session_request.name], only sessionId is required.

additionalParams

object ( AdditionalParams )

Required. Additional params for security and privacy enhancement.

GetSessionRequest

Request for GetSession method.

JSON representation
 { 
 "name" 
 : 
 string 
 , 
 "includeAnswerDetails" 
 : 
 boolean 
 } 
Fields
name

string

Required. The resource name of the Session to get. Format: projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStoreId}/sessions/{sessionId}

includeAnswerDetails

boolean

Optional. If set to true, the full session including all answer details will be returned.

Design a Mobile Site
View Site in Mobile | Classic
Share by: