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
Inherited Members
Namespace: Google.Apis.CustomerEngagementSuite.v1.Data
Assembly: Google.Apis.CustomerEngagementSuite.v1.dll
Syntax
public class WidgetTool : IDirectResponseSchema
Properties
Description
Optional. The description of the widget tool.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Required. The display name of the widget tool.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Parameters
Optional. The input parameters of the widget tool.
Declaration
[JsonProperty("parameters")]
public virtual Schema Parameters { get; set; }
Property Value
| Type | Description |
|---|---|
| Schema |
WidgetType
Optional. The type of the widget tool. If not specified, the default type will be CUSTOMIZED.
Declaration
[JsonProperty("widgetType")]
public virtual string WidgetType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |