public sealed class CatalogServiceSettings : ServiceSettingsBase
Settings for CatalogServiceClient instances.
Namespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
CatalogServiceSettings()
public CatalogServiceSettings()
Constructs a new CatalogServiceSettings object with default settings.
Properties
GetDefaultBranchSettings
public CallSettings GetDefaultBranchSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
CatalogServiceClient.GetDefaultBranch
and CatalogServiceClient.GetDefaultBranchAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CatalogServiceSettings | A deep clone of this CatalogServiceSettings object. |
GetDefault()
public static CatalogServiceSettings GetDefault()
Get a new instance of the default CatalogServiceSettings.
Returns | |
---|---|
Type | Description |
CatalogServiceSettings | A new instance of the default CatalogServiceSettings. |