Class AlertPolicyService (2.5.0)

public static class AlertPolicyService

The AlertPolicyService API is used to manage (list, create, delete, edit) alert policies in Stackdriver Monitoring. An alerting policy is a description of the conditions under which some aspect of your system is considered to be "unhealthy" and the ways to notify people or services about this state. In addition to using this API, alert policies can also be managed through Stackdriver Monitoring, which can be reached by clicking the "Monitoring" tab in Cloud Console.

Inheritance

Object > AlertPolicyService

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Methods

BindService(AlertPolicyService.AlertPolicyServiceBase)

public static ServerServiceDefinition BindService(AlertPolicyService.AlertPolicyServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplAlertPolicyService.AlertPolicyServiceBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, AlertPolicyService.AlertPolicyServiceBase)

public static void BindService(ServiceBinderBase serviceBinder, AlertPolicyService.AlertPolicyServiceBase 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.

serviceImplAlertPolicyService.AlertPolicyServiceBase

An object implementing the server-side handling logic.