public sealed class SnoozeServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Google Cloud Monitoring v3 API class SnoozeServiceSettings.
Settings for SnoozeServiceClient instances.
Namespace
Google.Cloud.Monitoring.V3Assembly
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
SnoozeServiceSettings |
A deep clone of this SnoozeServiceSettings object. |
GetDefault()
public static SnoozeServiceSettings GetDefault()
Get a new instance of the default SnoozeServiceSettings.
Returns | |
---|---|
Type | Description |
SnoozeServiceSettings |
A new instance of the default SnoozeServiceSettings. |