public sealed class AdvisoryNotificationsServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Advisory Notifications v1 API class AdvisoryNotificationsServiceSettings.
Settings for AdvisoryNotificationsServiceClient instances.
Namespace
Google.Cloud.AdvisoryNotifications.V1Assembly
Google.Cloud.AdvisoryNotifications.V1.dll
Constructors
AdvisoryNotificationsServiceSettings()
public AdvisoryNotificationsServiceSettings()
Constructs a new AdvisoryNotificationsServiceSettings object with default settings.
Properties
GetNotificationSettings
public CallSettings GetNotificationSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AdvisoryNotificationsServiceClient.GetNotification
and
AdvisoryNotificationsServiceClient.GetNotificationAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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.
GetSettingsSettings
public CallSettings GetSettingsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AdvisoryNotificationsServiceClient.GetSettings
and
AdvisoryNotificationsServiceClient.GetSettingsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
ListNotificationsSettings
public CallSettings ListNotificationsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AdvisoryNotificationsServiceClient.ListNotifications
and
AdvisoryNotificationsServiceClient.ListNotificationsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- 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.
UpdateSettingsSettings
public CallSettings UpdateSettingsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
AdvisoryNotificationsServiceClient.UpdateSettings
and
AdvisoryNotificationsServiceClient.UpdateSettingsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- No timeout is applied.
Methods
Clone()
public AdvisoryNotificationsServiceSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
AdvisoryNotificationsServiceSettings |
A deep clone of this AdvisoryNotificationsServiceSettings object. |
GetDefault()
public static AdvisoryNotificationsServiceSettings GetDefault()
Get a new instance of the default AdvisoryNotificationsServiceSettings.
Returns | |
---|---|
Type | Description |
AdvisoryNotificationsServiceSettings |
A new instance of the default AdvisoryNotificationsServiceSettings. |