Class CatalogServiceSettings

public sealed class CatalogServiceSettings : ServiceSettingsBase

Settings for CatalogServiceClient instances.

Inheritance

Object > ServiceSettingsBase > CatalogServiceSettings

Namespace

Google.Cloud.RecommendationEngine.V1Beta1

Assembly

Google.Cloud.RecommendationEngine.V1Beta1.dll

Constructors

CatalogServiceSettings()

public CatalogServiceSettings()

Constructs a new CatalogServiceSettings object with default settings.

Properties

CreateCatalogItemSettings

public CallSettings CreateCatalogItemSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CatalogServiceClient.CreateCatalogItem and CatalogServiceClient.CreateCatalogItemAsync.

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

DeleteCatalogItemSettings

public CallSettings DeleteCatalogItemSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CatalogServiceClient.DeleteCatalogItem and CatalogServiceClient.DeleteCatalogItemAsync.

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

GetCatalogItemSettings

public CallSettings GetCatalogItemSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CatalogServiceClient.GetCatalogItem and CatalogServiceClient.GetCatalogItemAsync.

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

ImportCatalogItemsOperationsSettings

public OperationsSettings ImportCatalogItemsOperationsSettings { get; set; }

Long Running Operation settings for calls to CatalogServiceClient.ImportCatalogItems and CatalogServiceClient.ImportCatalogItemsAsync.

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.

ImportCatalogItemsSettings

public CallSettings ImportCatalogItemsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CatalogServiceClient.ImportCatalogItems and CatalogServiceClient.ImportCatalogItemsAsync.

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

ListCatalogItemsSettings

public CallSettings ListCatalogItemsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CatalogServiceClient.ListCatalogItems and CatalogServiceClient.ListCatalogItemsAsync.

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

UpdateCatalogItemSettings

public CallSettings UpdateCatalogItemSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CatalogServiceClient.UpdateCatalogItem and CatalogServiceClient.UpdateCatalogItemAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 60000 milliseconds.
  • Maximum attempts: Unlimited
  • Timeout: 600 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.