Advisory Notifications v1 API - Class AdvisoryNotificationsServiceSettings (1.4.0)

public sealed class AdvisoryNotificationsServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Advisory Notifications v1 API class AdvisoryNotificationsServiceSettings.

Settings for AdvisoryNotificationsServiceClient instances.

Inheritance

object > ServiceSettingsBase > AdvisoryNotificationsServiceSettings

Namespace

Google.Cloud.AdvisoryNotifications.V1

Assembly

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
TypeDescription
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.

GetSettingsSettings

public CallSettings GetSettingsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AdvisoryNotificationsServiceClient.GetSettings and AdvisoryNotificationsServiceClient.GetSettingsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
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.

UpdateSettingsSettings

public CallSettings UpdateSettingsSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AdvisoryNotificationsServiceClient.UpdateSettings and AdvisoryNotificationsServiceClient.UpdateSettingsAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • 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
TypeDescription
AdvisoryNotificationsServiceSettings

A deep clone of this AdvisoryNotificationsServiceSettings object.

GetDefault()

public static AdvisoryNotificationsServiceSettings GetDefault()

Get a new instance of the default AdvisoryNotificationsServiceSettings.

Returns
TypeDescription
AdvisoryNotificationsServiceSettings

A new instance of the default AdvisoryNotificationsServiceSettings.