public sealed class WidgetTool.Types.TextResponseConfig : IMessage<WidgetTool.Types.TextResponseConfig>, IEquatable<WidgetTool.Types.TextResponseConfig>, IDeepCloneable<WidgetTool.Types.TextResponseConfig>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class WidgetTool.Types.TextResponseConfig.
Configuration for the text response returned with the widget.
Implements
IMessageWidgetToolTypesTextResponseConfig, IEquatableWidgetToolTypesTextResponseConfig, IDeepCloneableWidgetToolTypesTextResponseConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Constructors
TextResponseConfig()
public TextResponseConfig()TextResponseConfig(TextResponseConfig)
public TextResponseConfig(WidgetTool.Types.TextResponseConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
WidgetToolTypesTextResponseConfig |
Properties
StaticText
public string StaticText { get; set; }Optional. The static text response to return when type is STATIC.
| Property Value | |
|---|---|
| Type | Description |
string |
|
TextResponseInstruction
public string TextResponseInstruction { get; set; }Optional. Instruction for the LLM on how to generate the text response. Used as the description for the text response parameter if type is LLM_GENERATED.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Type
public WidgetTool.Types.TextResponseConfig.Types.Type Type { get; set; }Optional. The strategy for providing the text response.
| Property Value | |
|---|---|
| Type | Description |
WidgetToolTypesTextResponseConfigTypesType |
|