Class NotificationsApiServiceSettings
Settings for NotificationsApiServiceClient instances.
Inherited Members
Namespace: Google.Shopping.Merchant.Notifications.V1Beta
Assembly: Google.Shopping.Merchant.Notifications.V1Beta.dll
Syntax
public sealed class NotificationsApiServiceSettings : ServiceSettingsBase
Constructors
NotificationsApiServiceSettings()
Constructs a new NotificationsApiServiceSettings object with default settings.
Declaration
public NotificationsApiServiceSettings()
Properties
CreateNotificationSubscriptionSettings
CallSettings for synchronous and asynchronous calls to
NotificationsApiServiceClient.CreateNotificationSubscription
and
NotificationsApiServiceClient.CreateNotificationSubscriptionAsync
.
Declaration
public CallSettings CreateNotificationSubscriptionSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
DeleteNotificationSubscriptionSettings
CallSettings for synchronous and asynchronous calls to
NotificationsApiServiceClient.DeleteNotificationSubscription
and
NotificationsApiServiceClient.DeleteNotificationSubscriptionAsync
.
Declaration
public CallSettings DeleteNotificationSubscriptionSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
GetNotificationSubscriptionSettings
CallSettings for synchronous and asynchronous calls to
NotificationsApiServiceClient.GetNotificationSubscription
and
NotificationsApiServiceClient.GetNotificationSubscriptionAsync
.
Declaration
public CallSettings GetNotificationSubscriptionSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
ListNotificationSubscriptionsSettings
CallSettings for synchronous and asynchronous calls to
NotificationsApiServiceClient.ListNotificationSubscriptions
and
NotificationsApiServiceClient.ListNotificationSubscriptionsAsync
.
Declaration
public CallSettings ListNotificationSubscriptionsSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
UpdateNotificationSubscriptionSettings
CallSettings for synchronous and asynchronous calls to
NotificationsApiServiceClient.UpdateNotificationSubscription
and
NotificationsApiServiceClient.UpdateNotificationSubscriptionAsync
.
Declaration
public CallSettings UpdateNotificationSubscriptionSettings { get; set; }
Property Value
Type | Description |
---|---|
CallSettings |
Remarks
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
Methods
Clone()
Creates a deep clone of this object, with all the same property values.
Declaration
public NotificationsApiServiceSettings Clone()
Returns
Type | Description |
---|---|
NotificationsApiServiceSettings | A deep clone of this NotificationsApiServiceSettings object. |
GetDefault()
Get a new instance of the default NotificationsApiServiceSettings.
Declaration
public static NotificationsApiServiceSettings GetDefault()
Returns
Type | Description |
---|---|
NotificationsApiServiceSettings | A new instance of the default NotificationsApiServiceSettings. |