Class CatalogServiceSettings
Settings for CatalogServiceClient instances.
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Retail.V2
Assembly: Google.Cloud.Retail.V2.dll
Syntax
public sealed class CatalogServiceSettings : ServiceSettingsBase
Constructors
CatalogServiceSettings()
Constructs a new CatalogServiceSettings object with default settings.
Declaration
public CatalogServiceSettings()
Properties
ListCatalogsSettings
CallSettings for synchronous and asynchronous calls to
CatalogServiceClient.ListCatalogs
and CatalogServiceClient.ListCatalogsAsync
.
Declaration
public CallSettings ListCatalogsSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
UpdateCatalogSettings
CallSettings for synchronous and asynchronous calls to
CatalogServiceClient.UpdateCatalog
and CatalogServiceClient.UpdateCatalogAsync
.
Declaration
public CallSettings UpdateCatalogSettings { get; set; }
Property Value
Type | Description |
---|---|
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()
Creates a deep clone of this object, with all the same property values.
Declaration
public CatalogServiceSettings Clone()
Returns
Type | Description |
---|---|
CatalogServiceSettings | A deep clone of this CatalogServiceSettings object. |
GetDefault()
Get a new instance of the default CatalogServiceSettings.
Declaration
public static CatalogServiceSettings GetDefault()
Returns
Type | Description |
---|---|
CatalogServiceSettings | A new instance of the default CatalogServiceSettings. |