public sealed class ErrorHandlingSettings : IMessage<ErrorHandlingSettings>, IEquatable<ErrorHandlingSettings>, IDeepCloneable<ErrorHandlingSettings>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class ErrorHandlingSettings.
Settings to describe how errors should be handled in the app.
Implements
IMessageErrorHandlingSettings, IEquatableErrorHandlingSettings, IDeepCloneableErrorHandlingSettings, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
Google.Cloud.Ces.V1Beta.dll
Constructors
ErrorHandlingSettings()
public ErrorHandlingSettings()ErrorHandlingSettings(ErrorHandlingSettings)
public ErrorHandlingSettings(ErrorHandlingSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
ErrorHandlingSettings |
Properties
EndSessionConfig
public ErrorHandlingSettings.Types.EndSessionConfig EndSessionConfig { get; set; }Optional. Configuration for ending the session in case of system errors (e.g. LLM errors).
| Property Value | |
|---|---|
| Type | Description |
ErrorHandlingSettingsTypesEndSessionConfig |
|
ErrorHandlingStrategy
public ErrorHandlingSettings.Types.ErrorHandlingStrategy ErrorHandlingStrategy { get; set; }Optional. The strategy to use for error handling.
| Property Value | |
|---|---|
| Type | Description |
ErrorHandlingSettingsTypesErrorHandlingStrategy |
|
FallbackResponseConfig
public ErrorHandlingSettings.Types.FallbackResponseConfig FallbackResponseConfig { get; set; }Optional. Configuration for handling fallback responses.
| Property Value | |
|---|---|
| Type | Description |
ErrorHandlingSettingsTypesFallbackResponseConfig |
|