public sealed class WidgetTool : IMessage<WidgetTool>, IEquatable<WidgetTool>, IDeepCloneable<WidgetTool>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class WidgetTool.
Represents a widget tool that the agent can invoke. When the tool is chosen by the agent, agent will return the widget to the client. The client is responsible for processing the widget and generating the next user query to continue the interaction with the agent.
Implements
IMessageWidgetTool, IEquatableWidgetTool, IDeepCloneableWidgetTool, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1Assembly
Google.Cloud.Ces.V1.dll
Constructors
WidgetTool()
public WidgetTool()WidgetTool(WidgetTool)
public WidgetTool(WidgetTool other)| Parameter | |
|---|---|
| Name | Description |
other |
WidgetTool |
Properties
Description
public string Description { get; set; }Optional. The description of the widget tool.
| Property Value | |
|---|---|
| Type | Description |
string |
|
InputCase
public WidgetTool.InputOneofCase InputCase { get; }| Property Value | |
|---|---|
| Type | Description |
WidgetToolInputOneofCase |
|
Name
public string Name { get; set; }Required. The display name of the widget tool.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Parameters
public Schema Parameters { get; set; }Optional. The input parameters of the widget tool.
| Property Value | |
|---|---|
| Type | Description |
Schema |
|
WidgetType
public WidgetTool.Types.WidgetType WidgetType { get; set; }Optional. The type of the widget tool. If not specified, the default type will be CUSTOMIZED.
| Property Value | |
|---|---|
| Type | Description |
WidgetToolTypesWidgetType |
|