Google Cloud Monitoring v3 API - Class AlertPolicyService (3.9.0)

public static class AlertPolicyService

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

The AlertPolicyService API is used to manage (list, create, delete, edit) alert policies in Cloud 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 Cloud 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(AlertPolicyServiceBase)

public static ServerServiceDefinition BindService(AlertPolicyService.AlertPolicyServiceBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
Name Description
serviceImpl AlertPolicyServiceAlertPolicyServiceBase

An object implementing the server-side handling logic.

Returns
Type Description
ServerServiceDefinition

BindService(ServiceBinderBase, 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
Name Description
serviceBinder ServiceBinderBase

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

serviceImpl AlertPolicyServiceAlertPolicyServiceBase

An object implementing the server-side handling logic.