Advisory Notifications v1 API - Class AdvisoryNotificationsServiceSettings (1.1.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.

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.

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.