3.9.0 (latest) 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.8.0 2.7.0 2.6.0 2.5.0

    public sealed class RecommenderSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Recommender v1 API class RecommenderSettings.

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

## Inheritance

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

## Inherited Members

[ServiceSettingsBase.VersionHeaderBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.md.txt#Google_Api_Gax_Grpc_ServiceSettingsBase_VersionHeaderBuilder) [ServiceSettingsBase.CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.md.txt#Google_Api_Gax_Grpc_ServiceSettingsBase_CallSettings) [ServiceSettingsBase.Clock](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.md.txt#Google_Api_Gax_Grpc_ServiceSettingsBase_Clock) [ServiceSettingsBase.Scheduler](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.md.txt#Google_Api_Gax_Grpc_ServiceSettingsBase_Scheduler) [ServiceSettingsBase.Interceptor](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.md.txt#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.Recommender.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Recommender.V1/latest/Google.Cloud.Recommender.V1.md.txt)

## Assembly

Google.Cloud.Recommender.V1.dll

## Constructors

### RecommenderSettings()

    public RecommenderSettings()

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

## Properties

### GetInsightSettings

    public CallSettings GetInsightSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`RecommenderClient.GetInsight` and `RecommenderClient.GetInsightAsync`.

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

**Remarks**
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: [DeadlineExceeded](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_DeadlineExceeded), [Unavailable](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_Unavailable).
- Timeout: 60 seconds.

### GetInsightTypeConfigSettings

    public CallSettings GetInsightTypeConfigSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`RecommenderClient.GetInsightTypeConfig` and `RecommenderClient.GetInsightTypeConfigAsync`.

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

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

### GetRecommendationSettings

    public CallSettings GetRecommendationSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`RecommenderClient.GetRecommendation` and `RecommenderClient.GetRecommendationAsync`.

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

**Remarks**
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: [DeadlineExceeded](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_DeadlineExceeded), [Unavailable](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_Unavailable).
- Timeout: 60 seconds.

### GetRecommenderConfigSettings

    public CallSettings GetRecommenderConfigSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`RecommenderClient.GetRecommenderConfig` and `RecommenderClient.GetRecommenderConfigAsync`.

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

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

### ListInsightsSettings

    public CallSettings ListInsightsSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`RecommenderClient.ListInsights` and `RecommenderClient.ListInsightsAsync`.

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

**Remarks**
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: [DeadlineExceeded](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_DeadlineExceeded), [Unavailable](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_Unavailable).
- Timeout: 60 seconds.

### ListRecommendationsSettings

    public CallSettings ListRecommendationsSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`RecommenderClient.ListRecommendations` and `RecommenderClient.ListRecommendationsAsync`.

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

**Remarks**
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: [DeadlineExceeded](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_DeadlineExceeded), [Unavailable](https://docs.cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.md.txt#Grpc_Core_StatusCode_Unavailable).
- Timeout: 60 seconds.

### MarkInsightAcceptedSettings

    public CallSettings MarkInsightAcceptedSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`RecommenderClient.MarkInsightAccepted` and `RecommenderClient.MarkInsightAcceptedAsync`.

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

**Remarks**
- This call will not be retried.
- Timeout: 60 seconds.

### MarkRecommendationClaimedSettings

    public CallSettings MarkRecommendationClaimedSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`RecommenderClient.MarkRecommendationClaimed` and `RecommenderClient.MarkRecommendationClaimedAsync`
.

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

**Remarks**
- This call will not be retried.
- Timeout: 60 seconds.

### MarkRecommendationDismissedSettings

    public CallSettings MarkRecommendationDismissedSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`RecommenderClient.MarkRecommendationDismissed` and
`RecommenderClient.MarkRecommendationDismissedAsync`.

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

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

### MarkRecommendationFailedSettings

    public CallSettings MarkRecommendationFailedSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`RecommenderClient.MarkRecommendationFailed` and `RecommenderClient.MarkRecommendationFailedAsync`
.

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

**Remarks**
- This call will not be retried.
- Timeout: 60 seconds.

### MarkRecommendationSucceededSettings

    public CallSettings MarkRecommendationSucceededSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`RecommenderClient.MarkRecommendationSucceeded` and
`RecommenderClient.MarkRecommendationSucceededAsync`.

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

**Remarks**
- This call will not be retried.
- Timeout: 60 seconds.

### UpdateInsightTypeConfigSettings

    public CallSettings UpdateInsightTypeConfigSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`RecommenderClient.UpdateInsightTypeConfig` and `RecommenderClient.UpdateInsightTypeConfigAsync`.

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

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

### UpdateRecommenderConfigSettings

    public CallSettings UpdateRecommenderConfigSettings { get; set; }

[CallSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.md.txt) for synchronous and asynchronous calls to
`RecommenderClient.UpdateRecommenderConfig` and `RecommenderClient.UpdateRecommenderConfigAsync`.

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

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

## Methods

### Clone()

    public RecommenderSettings Clone()

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

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

### GetDefault()

    public static RecommenderSettings GetDefault()

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

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