2.16.0 (latest) 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class ProductServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Retail v2 API class ProductServiceSettings.

Settings for [ProductServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.ProductServiceClient.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) \> ProductServiceSettings

## 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.Retail.V2](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.md.txt)

## Assembly

Google.Cloud.Retail.V2.dll

## Constructors

### ProductServiceSettings()

    public ProductServiceSettings()

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

## Properties

### AddFulfillmentPlacesOperationsSettings

    public OperationsSettings AddFulfillmentPlacesOperationsSettings { get; set; }

Long Running Operation settings for calls to `ProductServiceClient.AddFulfillmentPlaces` and
`ProductServiceClient.AddFulfillmentPlacesAsync`.

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

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.

<br />

### AddFulfillmentPlacesSettings

    public CallSettings AddFulfillmentPlacesSettings { 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
`ProductServiceClient.AddFulfillmentPlaces` and `ProductServiceClient.AddFulfillmentPlacesAsync`.

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

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

### AddLocalInventoriesOperationsSettings

    public OperationsSettings AddLocalInventoriesOperationsSettings { get; set; }

Long Running Operation settings for calls to `ProductServiceClient.AddLocalInventories` and
`ProductServiceClient.AddLocalInventoriesAsync`.

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

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.

<br />

### AddLocalInventoriesSettings

    public CallSettings AddLocalInventoriesSettings { 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
`ProductServiceClient.AddLocalInventories` and `ProductServiceClient.AddLocalInventoriesAsync`.

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

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

### CreateProductSettings

    public CallSettings CreateProductSettings { 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
`ProductServiceClient.CreateProduct` and `ProductServiceClient.CreateProductAsync`.

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

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

### DeleteProductSettings

    public CallSettings DeleteProductSettings { 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
`ProductServiceClient.DeleteProduct` and `ProductServiceClient.DeleteProductAsync`.

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

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

### GetProductSettings

    public CallSettings GetProductSettings { 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
`ProductServiceClient.GetProduct` and `ProductServiceClient.GetProductAsync`.

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

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

### ImportProductsOperationsSettings

    public OperationsSettings ImportProductsOperationsSettings { get; set; }

Long Running Operation settings for calls to `ProductServiceClient.ImportProducts` and
`ProductServiceClient.ImportProductsAsync`.

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

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.

<br />

### ImportProductsSettings

    public CallSettings ImportProductsSettings { 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
`ProductServiceClient.ImportProducts` and `ProductServiceClient.ImportProductsAsync`.

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

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

### ListProductsSettings

    public CallSettings ListProductsSettings { 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
`ProductServiceClient.ListProducts` and `ProductServiceClient.ListProductsAsync`.

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

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

### 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` |   |

### PurgeProductsOperationsSettings

    public OperationsSettings PurgeProductsOperationsSettings { get; set; }

Long Running Operation settings for calls to `ProductServiceClient.PurgeProducts` and
`ProductServiceClient.PurgeProductsAsync`.

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

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.

<br />

### PurgeProductsSettings

    public CallSettings PurgeProductsSettings { 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
`ProductServiceClient.PurgeProducts` and `ProductServiceClient.PurgeProductsAsync`.

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

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

### RemoveFulfillmentPlacesOperationsSettings

    public OperationsSettings RemoveFulfillmentPlacesOperationsSettings { get; set; }

Long Running Operation settings for calls to `ProductServiceClient.RemoveFulfillmentPlaces` and
`ProductServiceClient.RemoveFulfillmentPlacesAsync`.

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

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.

<br />

### RemoveFulfillmentPlacesSettings

    public CallSettings RemoveFulfillmentPlacesSettings { 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
`ProductServiceClient.RemoveFulfillmentPlaces` and `ProductServiceClient.RemoveFulfillmentPlacesAsync`
.

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

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

### RemoveLocalInventoriesOperationsSettings

    public OperationsSettings RemoveLocalInventoriesOperationsSettings { get; set; }

Long Running Operation settings for calls to `ProductServiceClient.RemoveLocalInventories` and
`ProductServiceClient.RemoveLocalInventoriesAsync`.

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

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.

<br />

### RemoveLocalInventoriesSettings

    public CallSettings RemoveLocalInventoriesSettings { 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
`ProductServiceClient.RemoveLocalInventories` and `ProductServiceClient.RemoveLocalInventoriesAsync`
.

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

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

### SetInventoryOperationsSettings

    public OperationsSettings SetInventoryOperationsSettings { get; set; }

Long Running Operation settings for calls to `ProductServiceClient.SetInventory` and
`ProductServiceClient.SetInventoryAsync`.

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

**Remarks** Uses default [PollSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.md.txt) of:

- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.

<br />

### SetInventorySettings

    public CallSettings SetInventorySettings { 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
`ProductServiceClient.SetInventory` and `ProductServiceClient.SetInventoryAsync`.

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

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

### UpdateProductSettings

    public CallSettings UpdateProductSettings { 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
`ProductServiceClient.UpdateProduct` and `ProductServiceClient.UpdateProductAsync`.

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

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

## Methods

### Clone()

    public ProductServiceSettings Clone()

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

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

### GetDefault()

    public static ProductServiceSettings GetDefault()

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

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