public static class ServiceMonitoringService
Reference documentation and code samples for the Google Cloud Monitoring v3 API class ServiceMonitoringService.
The Cloud Monitoring Service-Oriented Monitoring API has endpoints for
managing and querying aspects of a workspace's services. These include the
Service
's monitored resources, its Service-Level Objectives, and a taxonomy
of categorized Health Metrics.
Namespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Methods
BindService(ServiceMonitoringService.ServiceMonitoringServiceBase)
public static ServerServiceDefinition BindService(ServiceMonitoringService.ServiceMonitoringServiceBase serviceImpl)
Creates service definition that can be registered with a server
Parameter | |
---|---|
Name | Description |
serviceImpl | ServiceMonitoringService.ServiceMonitoringServiceBase An object implementing the server-side handling logic. |
Returns | |
---|---|
Type | Description |
ServerServiceDefinition |
BindService(ServiceBinderBase, ServiceMonitoringService.ServiceMonitoringServiceBase)
public static void BindService(ServiceBinderBase serviceBinder, ServiceMonitoringService.ServiceMonitoringServiceBase 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 | ServiceMonitoringService.ServiceMonitoringServiceBase An object implementing the server-side handling logic. |