Gemini Enterprise for Customer Experience v1 API - Class WidgetService.WidgetServiceBase (1.0.0-beta01)

[BindServiceMethod(typeof(WidgetService), "BindService")]
public abstract class WidgetService.WidgetServiceBase

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class WidgetService.WidgetServiceBase.

Base class for server-side implementations of WidgetService

Inheritance

object > WidgetService.WidgetServiceBase

Namespace

Google.Cloud.Ces.V1

Assembly

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 GenerateChatTokenRequest

The request received from the client.

context ServerCallContext

The 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).