Class ProductSearchSettings (3.1.0)

public sealed class ProductSearchSettings : ServiceSettingsBase

Settings for ProductSearchClient instances.

Inheritance

Object > ServiceSettingsBase > ProductSearchSettings

Namespace

Google.Cloud.Vision.V1

Assembly

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
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

CreateProductSetSettings

public CallSettings CreateProductSetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductSearchClient.CreateProductSet and ProductSearchClient.CreateProductSetAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • No status codes are retried.
  • Timeout: 600 seconds.

CreateProductSettings

public CallSettings CreateProductSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductSearchClient.CreateProduct and ProductSearchClient.CreateProductAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • No status codes are retried.
  • Timeout: 600 seconds.

CreateReferenceImageSettings

public CallSettings CreateReferenceImageSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductSearchClient.CreateReferenceImage and ProductSearchClient.CreateReferenceImageAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • No status codes are retried.
  • Timeout: 600 seconds.

DeleteProductSetSettings

public CallSettings DeleteProductSetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductSearchClient.DeleteProductSet and ProductSearchClient.DeleteProductSetAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

DeleteProductSettings

public CallSettings DeleteProductSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductSearchClient.DeleteProduct and ProductSearchClient.DeleteProductAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

DeleteReferenceImageSettings

public CallSettings DeleteReferenceImageSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductSearchClient.DeleteReferenceImage and ProductSearchClient.DeleteReferenceImageAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

GetProductSetSettings

public CallSettings GetProductSetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductSearchClient.GetProductSet and ProductSearchClient.GetProductSetAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

GetProductSettings

public CallSettings GetProductSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductSearchClient.GetProduct and ProductSearchClient.GetProductAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

GetReferenceImageSettings

public CallSettings GetReferenceImageSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductSearchClient.GetReferenceImage and ProductSearchClient.GetReferenceImageAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

ImportProductSetsOperationsSettings

public OperationsSettings ImportProductSetsOperationsSettings { get; set; }

Long Running Operation settings for calls to ProductSearchClient.ImportProductSets and ProductSearchClient.ImportProductSetsAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

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
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • No status codes are retried.
  • Timeout: 600 seconds.

ListProductSetsSettings

public CallSettings ListProductSetsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductSearchClient.ListProductSets and ProductSearchClient.ListProductSetsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

ListProductsInProductSetSettings

public CallSettings ListProductsInProductSetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductSearchClient.ListProductsInProductSet and ProductSearchClient.ListProductsInProductSetAsync .

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

ListProductsSettings

public CallSettings ListProductsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductSearchClient.ListProducts and ProductSearchClient.ListProductsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

ListReferenceImagesSettings

public CallSettings ListReferenceImagesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductSearchClient.ListReferenceImages and ProductSearchClient.ListReferenceImagesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

PurgeProductsOperationsSettings

public OperationsSettings PurgeProductsOperationsSettings { get; set; }

Long Running Operation settings for calls to ProductSearchClient.PurgeProducts and ProductSearchClient.PurgeProductsAsync.

Property Value
TypeDescription
OperationsSettings
Remarks

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
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • No status codes are retried.
  • Timeout: 600 seconds.

RemoveProductFromProductSetSettings

public CallSettings RemoveProductFromProductSetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductSearchClient.RemoveProductFromProductSet and ProductSearchClient.RemoveProductFromProductSetAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

UpdateProductSetSettings

public CallSettings UpdateProductSetSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductSearchClient.UpdateProductSet and ProductSearchClient.UpdateProductSetAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

UpdateProductSettings

public CallSettings UpdateProductSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductSearchClient.UpdateProduct and ProductSearchClient.UpdateProductAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: DeadlineExceeded, Unavailable.
  • Timeout: 600 seconds.

Methods

Clone()

public ProductSearchSettings Clone()

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

Returns
TypeDescription
ProductSearchSettings

A deep clone of this ProductSearchSettings object.

GetDefault()

public static ProductSearchSettings GetDefault()

Get a new instance of the default ProductSearchSettings.

Returns
TypeDescription
ProductSearchSettings

A new instance of the default ProductSearchSettings.