Retail v2 API - Class CatalogServiceSettings (2.6.0)

public sealed class CatalogServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Retail v2 API class CatalogServiceSettings.

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

AddCatalogAttributeSettings

public CallSettings AddCatalogAttributeSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CatalogServiceClient.AddCatalogAttribute and CatalogServiceClient.AddCatalogAttributeAsync.

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

GetAttributesConfigSettings

public CallSettings GetAttributesConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CatalogServiceClient.GetAttributesConfig and CatalogServiceClient.GetAttributesConfigAsync.

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

GetCompletionConfigSettings

public CallSettings GetCompletionConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CatalogServiceClient.GetCompletionConfig and CatalogServiceClient.GetCompletionConfigAsync.

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

GetDefaultBranchSettings

public CallSettings GetDefaultBranchSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CatalogServiceClient.GetDefaultBranch and CatalogServiceClient.GetDefaultBranchAsync.

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

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: 5000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable, DeadlineExceeded.
  • Timeout: 5 seconds.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
TypeDescription
LocationsSettings

RemoveCatalogAttributeSettings

public CallSettings RemoveCatalogAttributeSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CatalogServiceClient.RemoveCatalogAttribute and CatalogServiceClient.RemoveCatalogAttributeAsync .

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

ReplaceCatalogAttributeSettings

public CallSettings ReplaceCatalogAttributeSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CatalogServiceClient.ReplaceCatalogAttribute and CatalogServiceClient.ReplaceCatalogAttributeAsync .

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

SetDefaultBranchSettings

public CallSettings SetDefaultBranchSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CatalogServiceClient.SetDefaultBranch and CatalogServiceClient.SetDefaultBranchAsync.

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

UpdateAttributesConfigSettings

public CallSettings UpdateAttributesConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CatalogServiceClient.UpdateAttributesConfig and CatalogServiceClient.UpdateAttributesConfigAsync .

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

UpdateCompletionConfigSettings

public CallSettings UpdateCompletionConfigSettings { get; set; }

CallSettings for synchronous and asynchronous calls to CatalogServiceClient.UpdateCompletionConfig and CatalogServiceClient.UpdateCompletionConfigAsync .

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