Gemini Enterprise for Customer Experience v1 API - Class WidgetTool (1.0.0-beta01)

public sealed class WidgetTool : IMessage<WidgetTool>, IEquatable<WidgetTool>, IDeepCloneable<WidgetTool>, IBufferMessage, IMessage

Reference 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.

Inheritance

object > WidgetTool

Namespace

Google.Cloud.Ces.V1

Assembly

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