Class ProductServiceSettings (1.6.0)

public sealed class ProductServiceSettings : ServiceSettingsBase

Settings for ProductServiceClient instances.

Inheritance

Object > ServiceSettingsBase > ProductServiceSettings

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

ProductServiceSettings()

public ProductServiceSettings()

Constructs a new ProductServiceSettings 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
TypeDescription
OperationsSettings
Remarks

Uses default PollSettings of:

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

AddFulfillmentPlacesSettings

public CallSettings AddFulfillmentPlacesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductServiceClient.AddFulfillmentPlaces and ProductServiceClient.AddFulfillmentPlacesAsync.

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

AddLocalInventoriesOperationsSettings

public OperationsSettings AddLocalInventoriesOperationsSettings { get; set; }

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

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.

AddLocalInventoriesSettings

public CallSettings AddLocalInventoriesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductServiceClient.AddLocalInventories and ProductServiceClient.AddLocalInventoriesAsync.

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

CreateProductSettings

public CallSettings CreateProductSettings { get; set; }

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

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

DeleteProductSettings

public CallSettings DeleteProductSettings { get; set; }

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

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

GetProductSettings

public CallSettings GetProductSettings { get; set; }

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

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

ImportProductsOperationsSettings

public OperationsSettings ImportProductsOperationsSettings { get; set; }

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

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.

ImportProductsSettings

public CallSettings ImportProductsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductServiceClient.ImportProducts and ProductServiceClient.ImportProductsAsync.

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

ListProductsSettings

public CallSettings ListProductsSettings { get; set; }

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

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

RemoveFulfillmentPlacesOperationsSettings

public OperationsSettings RemoveFulfillmentPlacesOperationsSettings { get; set; }

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

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.

RemoveFulfillmentPlacesSettings

public CallSettings RemoveFulfillmentPlacesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductServiceClient.RemoveFulfillmentPlaces and ProductServiceClient.RemoveFulfillmentPlacesAsync .

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

RemoveLocalInventoriesOperationsSettings

public OperationsSettings RemoveLocalInventoriesOperationsSettings { get; set; }

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

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.

RemoveLocalInventoriesSettings

public CallSettings RemoveLocalInventoriesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductServiceClient.RemoveLocalInventories and ProductServiceClient.RemoveLocalInventoriesAsync .

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

SetInventoryOperationsSettings

public OperationsSettings SetInventoryOperationsSettings { get; set; }

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

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.

SetInventorySettings

public CallSettings SetInventorySettings { get; set; }

CallSettings for synchronous and asynchronous calls to ProductServiceClient.SetInventory and ProductServiceClient.SetInventoryAsync.

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

UpdateProductSettings

public CallSettings UpdateProductSettings { get; set; }

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

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

Methods

Clone()

public ProductServiceSettings Clone()

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

Returns
TypeDescription
ProductServiceSettings

A deep clone of this ProductServiceSettings object.

GetDefault()

public static ProductServiceSettings GetDefault()

Get a new instance of the default ProductServiceSettings.

Returns
TypeDescription
ProductServiceSettings

A new instance of the default ProductServiceSettings.