1.1.0 (latest) 1.0.0

    public sealed class WidgetServiceSettings : ServiceSettingsBase

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

Settings for [WidgetServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.WidgetServiceClient.md.txt) instances.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ServiceSettingsBase](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html) \> WidgetServiceSettings

## Inherited Members

[ServiceSettingsBase.VersionHeaderBuilder](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_VersionHeaderBuilder) [ServiceSettingsBase.CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_CallSettings) [ServiceSettingsBase.Clock](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_Clock) [ServiceSettingsBase.Scheduler](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_Scheduler) [ServiceSettingsBase.Interceptor](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_Interceptor) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Ces.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.md.txt)

## Assembly

Google.Cloud.Ces.V1.dll

## Constructors

### WidgetServiceSettings()

    public WidgetServiceSettings()

Constructs a new [WidgetServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.WidgetServiceSettings.md.txt) object with default settings.

## Properties

### GenerateChatTokenSettings

    public CallSettings GenerateChatTokenSettings { get; set; }

[CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to
`WidgetServiceClient.GenerateChatToken` and `WidgetServiceClient.GenerateChatTokenAsync`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `CallSettings` |   |

**Remarks**
- This call will not be retried.
- No timeout is applied.

### LocationsSettings

    public LocationsSettings LocationsSettings { get; set; }

The settings to use for the [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.md.txt) associated with the client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `LocationsSettings` |   |

## Methods

### Clone()

    public WidgetServiceSettings Clone()

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `WidgetServiceSettings` | A deep clone of this [WidgetServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.WidgetServiceSettings.md.txt) object. |

### GetDefault()

    public static WidgetServiceSettings GetDefault()

Get a new instance of the default [WidgetServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.WidgetServiceSettings.md.txt).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `WidgetServiceSettings` | A new instance of the default [WidgetServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.WidgetServiceSettings.md.txt). |