public sealed class ProductServiceSettings : ServiceSettingsBaseSettings for ProductServiceClient instances.
Inheritance
System.Object > Google.Api.Gax.Grpc.ServiceSettingsBase > ProductServiceSettingsNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
ProductServiceSettings()
public ProductServiceSettings()Constructs a new ProductServiceSettings object with default settings.
Properties
CreateProductSettings
public CallSettings CreateProductSettings { get; set; }Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to
ProductServiceClient.CreateProduct and ProductServiceClient.CreateProductAsync.
| Property Value | |
|---|---|
| Type | Description |
Google.Api.Gax.Grpc.CallSettings |
|
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
DeleteProductSettings
public CallSettings DeleteProductSettings { get; set; }Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to
ProductServiceClient.DeleteProduct and ProductServiceClient.DeleteProductAsync.
| Property Value | |
|---|---|
| Type | Description |
Google.Api.Gax.Grpc.CallSettings |
|
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
GetProductSettings
public CallSettings GetProductSettings { get; set; }Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to
ProductServiceClient.GetProduct and ProductServiceClient.GetProductAsync.
| Property Value | |
|---|---|
| Type | Description |
Google.Api.Gax.Grpc.CallSettings |
|
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
ImportProductsOperationsSettings
public OperationsSettings ImportProductsOperationsSettings { get; set; }Long Running Operation settings for calls to ProductServiceClient.ImportProducts and
ProductServiceClient.ImportProductsAsync.
| Property Value | |
|---|---|
| Type | Description |
Google.LongRunning.OperationsSettings |
|
Uses default Google.Api.Gax.PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
ImportProductsSettings
public CallSettings ImportProductsSettings { get; set; }Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to
ProductServiceClient.ImportProducts and ProductServiceClient.ImportProductsAsync.
| Property Value | |
|---|---|
| Type | Description |
Google.Api.Gax.Grpc.CallSettings |
|
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
UpdateProductSettings
public CallSettings UpdateProductSettings { get; set; }Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to
ProductServiceClient.UpdateProduct and ProductServiceClient.UpdateProductAsync.
| Property Value | |
|---|---|
| Type | Description |
Google.Api.Gax.Grpc.CallSettings |
|
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 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 object. |
GetDefault()
public static ProductServiceSettings GetDefault()Get a new instance of the default ProductServiceSettings.
| Returns | |
|---|---|
| Type | Description |
ProductServiceSettings |
A new instance of the default ProductServiceSettings. |