Class CatalogServiceSettings (1.1.0)

public sealed class CatalogServiceSettings : ServiceSettingsBase

Settings for CatalogServiceClient instances.

Inheritance

Object > ServiceSettingsBase > CatalogServiceSettings

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

CatalogServiceSettings()

public CatalogServiceSettings()

Constructs a new CatalogServiceSettings object with default settings.

Properties

ListCatalogsSettings

public CallSettings ListCatalogsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CatalogServiceClient.ListCatalogs and CatalogServiceClient.ListCatalogsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 60 seconds.

UpdateCatalogSettings

public CallSettings UpdateCatalogSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CatalogServiceClient.UpdateCatalog and CatalogServiceClient.UpdateCatalogAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 60 seconds.

Methods

Clone()

public CatalogServiceSettings Clone()

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

Returns
TypeDescription
CatalogServiceSettings

A deep clone of this CatalogServiceSettings object.

GetDefault()

public static CatalogServiceSettings GetDefault()

Get a new instance of the default CatalogServiceSettings.

Returns
TypeDescription
CatalogServiceSettings

A new instance of the default CatalogServiceSettings.