public sealed class CatalogServiceSettings : ServiceSettingsBaseReference documentation and code samples for the Recommendations AI v1beta1 API class CatalogServiceSettings.
Settings for CatalogServiceClient instances.
Namespace
Google.Cloud.RecommendationEngine.V1Beta1Assembly
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 | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable, DeadlineExceeded.
- Timeout: 600 seconds.
DeleteCatalogItemSettings
public CallSettings DeleteCatalogItemSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CatalogServiceClient.DeleteCatalogItem and CatalogServiceClient.DeleteCatalogItemAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable, DeadlineExceeded.
- Timeout: 600 seconds.
GetCatalogItemSettings
public CallSettings GetCatalogItemSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CatalogServiceClient.GetCatalogItem and CatalogServiceClient.GetCatalogItemAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable, DeadlineExceeded.
- Timeout: 600 seconds.
ImportCatalogItemsOperationsSettings
public OperationsSettings ImportCatalogItemsOperationsSettings { get; set; }Long Running Operation settings for calls to CatalogServiceClient.ImportCatalogItems and
CatalogServiceClient.ImportCatalogItemsAsync.
| Property Value | |
|---|---|
| Type | Description |
OperationsSettings |
|
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 | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable, DeadlineExceeded.
- Timeout: 600 seconds.
ListCatalogItemsSettings
public CallSettings ListCatalogItemsSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CatalogServiceClient.ListCatalogItems and CatalogServiceClient.ListCatalogItemsAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable, DeadlineExceeded.
- Timeout: 600 seconds.
UpdateCatalogItemSettings
public CallSettings UpdateCatalogItemSettings { get; set; }CallSettings for synchronous and asynchronous calls to
CatalogServiceClient.UpdateCatalogItem and CatalogServiceClient.UpdateCatalogItemAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable, DeadlineExceeded.
- Timeout: 600 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. |