Google Cloud Monitoring v3 API - Class SnoozeService (3.2.0)

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.

Inheritance

Object > SnoozeService

Namespace

Google.Cloud.Monitoring.V3

Assembly

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
NameDescription
serviceImplSnoozeService.SnoozeServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
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
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplSnoozeService.SnoozeServiceBase

An object implementing the server-side handling logic.