[BindServiceMethod(typeof(WidgetService), "BindService")]
public abstract class WidgetService.WidgetServiceBaseReference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class WidgetService.WidgetServiceBase.
Base class for server-side implementations of WidgetService
Namespace
Google.Cloud.Ces.V1Assembly
Google.Cloud.Ces.V1.dll
Methods
GenerateChatToken(GenerateChatTokenRequest, ServerCallContext)
public virtual Task<GenerateChatTokenResponse> GenerateChatToken(GenerateChatTokenRequest request, ServerCallContext context)Generates a session scoped token for chat widget to authenticate with Session APIs.
| Parameters | |
|---|---|
| Name | Description |
request |
GenerateChatTokenRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskGenerateChatTokenResponse |
The response to send back to the client (wrapped by a task). |