public sealed class GenerateChatTokenRequest : IMessage<GenerateChatTokenRequest>, IEquatable<GenerateChatTokenRequest>, IDeepCloneable<GenerateChatTokenRequest>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class GenerateChatTokenRequest.
Request message for [WidgetService.GenerateChatToken][google.cloud.ces.v1.WidgetService.GenerateChatToken].
Implements
IMessageGenerateChatTokenRequest, IEquatableGenerateChatTokenRequest, IDeepCloneableGenerateChatTokenRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1Assembly
Google.Cloud.Ces.V1.dll
Constructors
GenerateChatTokenRequest()
public GenerateChatTokenRequest()GenerateChatTokenRequest(GenerateChatTokenRequest)
public GenerateChatTokenRequest(GenerateChatTokenRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
GenerateChatTokenRequest |
Properties
Deployment
public string Deployment { get; set; }Required. The deployment of the app to use for the session. Format: projects/{project}/locations/{location}/apps/{app}/deployments/{deployment}
| Property Value | |
|---|---|
| Type | Description |
string |
|
DeploymentAsDeploymentName
public DeploymentName DeploymentAsDeploymentName { get; set; }DeploymentName-typed view over the Deployment resource name property.
| Property Value | |
|---|---|
| Type | Description |
DeploymentName |
|
Name
public string Name { get; set; }Required. The session name to generate the chat token for. Format: projects/{project}/locations/{location}/apps/{app}/sessions/{session}
| Property Value | |
|---|---|
| Type | Description |
string |
|
RecaptchaToken
public string RecaptchaToken { get; set; }Optional. The reCAPTCHA token generated by the client-side chat widget.
| Property Value | |
|---|---|
| Type | Description |
string |
|
SessionName
public SessionName SessionName { get; set; }SessionName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
SessionName |
|