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

public sealed class ToolServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class ToolServiceSettings.

Settings for ToolServiceClient instances.

Inheritance

object > ServiceSettingsBase > ToolServiceSettings

Namespace

Google.Cloud.Ces.V1

Assembly

Google.Cloud.Ces.V1.dll

Constructors

ToolServiceSettings()

public ToolServiceSettings()

Constructs a new ToolServiceSettings object with default settings.

Properties

ExecuteToolSettings

public CallSettings ExecuteToolSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ToolServiceClient.ExecuteTool and ToolServiceClient.ExecuteToolAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 60 seconds.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
Type Description
LocationsSettings

RetrieveToolSchemaSettings

public CallSettings RetrieveToolSchemaSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ToolServiceClient.RetrieveToolSchema and ToolServiceClient.RetrieveToolSchemaAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 60 seconds.

RetrieveToolsSettings

public CallSettings RetrieveToolsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ToolServiceClient.RetrieveTools and ToolServiceClient.RetrieveToolsAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 60 seconds.

Methods

Clone()

public ToolServiceSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
Type Description
ToolServiceSettings

A deep clone of this ToolServiceSettings object.

GetDefault()

public static ToolServiceSettings GetDefault()

Get a new instance of the default ToolServiceSettings.

Returns
Type Description
ToolServiceSettings

A new instance of the default ToolServiceSettings.