public static class SnoozeService
Reference documentation and code samples for the Google Cloud Monitoring v3 API class SnoozeService.
The SnoozeService API is used to temporarily prevent an alert policy from generating alerts. A Snooze is a description of the criteria under which one or more alert policies should not fire alerts for the specified duration.
Namespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Methods
BindService(SnoozeService.SnoozeServiceBase)
public static ServerServiceDefinition BindService(SnoozeService.SnoozeServiceBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl | SnoozeService.SnoozeServiceBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, SnoozeService.SnoozeServiceBase)
public static void BindService(ServiceBinderBase serviceBinder, SnoozeService.SnoozeServiceBase serviceImpl)
Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.
Parameters | |
---|---|
Name | Description |
serviceBinder | ServiceBinderBase Service methods will be bound by calling |
serviceImpl | SnoozeService.SnoozeServiceBase An object implementing the server-side handling logic. |