Package com.google.monitoring.v3
Class AlertPolicyServiceGrpc
java.lang.Object
com.google.monitoring.v3.AlertPolicyServiceGrpc
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](https://cloud.google.com/monitoring/docs/), which can be reached by clicking the "Monitoring" tab in [Cloud console](https://console.cloud.google.com/).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA stub to allow clients to do limited synchronous rpc calls to service AlertPolicyService.static final classA stub to allow clients to do synchronous rpc calls to service AlertPolicyService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service AlertPolicyService.static classBase class for the server implementation of the service AlertPolicyService.static final classA stub to allow clients to do asynchronous rpc calls to service AlertPolicyService.static interfaceThe AlertPolicyService API is used to manage (list, create, delete, edit) alert policies in Cloud Monitoring. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<CreateAlertPolicyRequest,AlertPolicy> static io.grpc.MethodDescriptor<DeleteAlertPolicyRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<GetAlertPolicyRequest,AlertPolicy> static io.grpc.MethodDescriptor<ListAlertPoliciesRequest,ListAlertPoliciesResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<UpdateAlertPolicyRequest,AlertPolicy> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getListAlertPoliciesMethod
public static io.grpc.MethodDescriptor<ListAlertPoliciesRequest,ListAlertPoliciesResponse> getListAlertPoliciesMethod() -
getGetAlertPolicyMethod
-
getCreateAlertPolicyMethod
public static io.grpc.MethodDescriptor<CreateAlertPolicyRequest,AlertPolicy> getCreateAlertPolicyMethod() -
getDeleteAlertPolicyMethod
public static io.grpc.MethodDescriptor<DeleteAlertPolicyRequest,com.google.protobuf.Empty> getDeleteAlertPolicyMethod() -
getUpdateAlertPolicyMethod
public static io.grpc.MethodDescriptor<UpdateAlertPolicyRequest,AlertPolicy> getUpdateAlertPolicyMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
public static AlertPolicyServiceGrpc.AlertPolicyServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
public static AlertPolicyServiceGrpc.AlertPolicyServiceBlockingStub newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
public static AlertPolicyServiceGrpc.AlertPolicyServiceFutureStub newFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(AlertPolicyServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-