Google Cloud Monitoring v3 API - Class SnoozeServiceSettings (3.7.0)

public sealed class SnoozeServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Google Cloud Monitoring v3 API class SnoozeServiceSettings.

Settings for SnoozeServiceClient instances.

Inheritance

object > ServiceSettingsBase > SnoozeServiceSettings

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Constructors

SnoozeServiceSettings()

public SnoozeServiceSettings()

Constructs a new SnoozeServiceSettings object with default settings.

Properties

CreateSnoozeSettings

public CallSettings CreateSnoozeSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SnoozeServiceClient.CreateSnooze and SnoozeServiceClient.CreateSnoozeAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

GetSnoozeSettings

public CallSettings GetSnoozeSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SnoozeServiceClient.GetSnooze and SnoozeServiceClient.GetSnoozeAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 30 seconds.

ListSnoozesSettings

public CallSettings ListSnoozesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SnoozeServiceClient.ListSnoozes and SnoozeServiceClient.ListSnoozesAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 30000 milliseconds.
  • Maximum attempts: 5
  • Retriable status codes: Unavailable.
  • Timeout: 30 seconds.

UpdateSnoozeSettings

public CallSettings UpdateSnoozeSettings { get; set; }

CallSettings for synchronous and asynchronous calls to SnoozeServiceClient.UpdateSnooze and SnoozeServiceClient.UpdateSnoozeAsync.

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 30 seconds.

Methods

Clone()

public SnoozeServiceSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
TypeDescription
SnoozeServiceSettings

A deep clone of this SnoozeServiceSettings object.

GetDefault()

public static SnoozeServiceSettings GetDefault()

Get a new instance of the default SnoozeServiceSettings.

Returns
TypeDescription
SnoozeServiceSettings

A new instance of the default SnoozeServiceSettings.