public sealed class ProductSearchSettings : ServiceSettingsBase
Settings for ProductSearchClient instances.
Namespace
Google.Cloud.Vision.V1Assembly
Google.Cloud.Vision.V1.dll
Constructors
ProductSearchSettings()
public ProductSearchSettings()
Constructs a new ProductSearchSettings object with default settings.
Properties
AddProductToProductSetSettings
public CallSettings AddProductToProductSetSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.AddProductToProductSet
and ProductSearchClient.AddProductToProductSetAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
CreateProductSetSettings
public CallSettings CreateProductSetSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.CreateProductSet
and ProductSearchClient.CreateProductSetAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
CreateProductSettings
public CallSettings CreateProductSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.CreateProduct
and ProductSearchClient.CreateProductAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
CreateReferenceImageSettings
public CallSettings CreateReferenceImageSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.CreateReferenceImage
and ProductSearchClient.CreateReferenceImageAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
DeleteProductSetSettings
public CallSettings DeleteProductSetSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.DeleteProductSet
and ProductSearchClient.DeleteProductSetAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
DeleteProductSettings
public CallSettings DeleteProductSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.DeleteProduct
and ProductSearchClient.DeleteProductAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
DeleteReferenceImageSettings
public CallSettings DeleteReferenceImageSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.DeleteReferenceImage
and ProductSearchClient.DeleteReferenceImageAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
GetProductSetSettings
public CallSettings GetProductSetSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.GetProductSet
and ProductSearchClient.GetProductSetAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
GetProductSettings
public CallSettings GetProductSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.GetProduct
and ProductSearchClient.GetProductAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
GetReferenceImageSettings
public CallSettings GetReferenceImageSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.GetReferenceImage
and ProductSearchClient.GetReferenceImageAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
ImportProductSetsOperationsSettings
public OperationsSettings ImportProductSetsOperationsSettings { get; set; }
Long Running Operation settings for calls to ProductSearchClient.ImportProductSets
and
ProductSearchClient.ImportProductSetsAsync
.
Property Value | |
---|---|
Type | Description |
OperationsSettings |
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
ImportProductSetsSettings
public CallSettings ImportProductSetsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.ImportProductSets
and ProductSearchClient.ImportProductSetsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
ListProductSetsSettings
public CallSettings ListProductSetsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.ListProductSets
and ProductSearchClient.ListProductSetsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
ListProductsInProductSetSettings
public CallSettings ListProductsInProductSetSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.ListProductsInProductSet
and ProductSearchClient.ListProductsInProductSetAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
ListProductsSettings
public CallSettings ListProductsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.ListProducts
and ProductSearchClient.ListProductsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
ListReferenceImagesSettings
public CallSettings ListReferenceImagesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.ListReferenceImages
and ProductSearchClient.ListReferenceImagesAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
PurgeProductsOperationsSettings
public OperationsSettings PurgeProductsOperationsSettings { get; set; }
Long Running Operation settings for calls to ProductSearchClient.PurgeProducts
and
ProductSearchClient.PurgeProductsAsync
.
Property Value | |
---|---|
Type | Description |
OperationsSettings |
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
PurgeProductsSettings
public CallSettings PurgeProductsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.PurgeProducts
and ProductSearchClient.PurgeProductsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
RemoveProductFromProductSetSettings
public CallSettings RemoveProductFromProductSetSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.RemoveProductFromProductSet
and
ProductSearchClient.RemoveProductFromProductSetAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
UpdateProductSetSettings
public CallSettings UpdateProductSetSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.UpdateProductSet
and ProductSearchClient.UpdateProductSetAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
UpdateProductSettings
public CallSettings UpdateProductSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ProductSearchClient.UpdateProduct
and ProductSearchClient.UpdateProductAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
Methods
Clone()
public ProductSearchSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
ProductSearchSettings | A deep clone of this ProductSearchSettings object. |
GetDefault()
public static ProductSearchSettings GetDefault()
Get a new instance of the default ProductSearchSettings.
Returns | |
---|---|
Type | Description |
ProductSearchSettings | A new instance of the default ProductSearchSettings. |