public sealed class ServiceMonitoringServiceClientImpl : ServiceMonitoringServiceClient
Reference documentation and code samples for the Google Cloud Monitoring v3 API class ServiceMonitoringServiceClientImpl.
ServiceMonitoringService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Monitoring.V3Assembly
Google.Cloud.Monitoring.V3.dll
Remarks
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.
Constructors
ServiceMonitoringServiceClientImpl(ServiceMonitoringServiceClient, ServiceMonitoringServiceSettings, ILogger)
public ServiceMonitoringServiceClientImpl(ServiceMonitoringService.ServiceMonitoringServiceClient grpcClient, ServiceMonitoringServiceSettings settings, ILogger logger)
Constructs a client wrapper for the ServiceMonitoringService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | ServiceMonitoringServiceServiceMonitoringServiceClient The underlying gRPC client. |
settings | ServiceMonitoringServiceSettings The base ServiceMonitoringServiceSettings used within this client. |
logger | ILogger Optional ILogger to use within this client. |
Properties
GrpcClient
public override ServiceMonitoringService.ServiceMonitoringServiceClient GrpcClient { get; }
The underlying gRPC ServiceMonitoringService client
Property Value | |
---|---|
Type | Description |
ServiceMonitoringServiceServiceMonitoringServiceClient |
Methods
CreateService(CreateServiceRequest, CallSettings)
public override Service CreateService(CreateServiceRequest request, CallSettings callSettings = null)
Create a Service
.
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Service | The RPC response. |
CreateServiceAsync(CreateServiceRequest, CallSettings)
public override Task<Service> CreateServiceAsync(CreateServiceRequest request, CallSettings callSettings = null)
Create a Service
.
Parameters | |
---|---|
Name | Description |
request | CreateServiceRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskService | A Task containing the RPC response. |
CreateServiceLevelObjective(CreateServiceLevelObjectiveRequest, CallSettings)
public override ServiceLevelObjective CreateServiceLevelObjective(CreateServiceLevelObjectiveRequest request, CallSettings callSettings = null)
Create a ServiceLevelObjective
for the given Service
.
Parameters | |
---|---|
Name | Description |
request | CreateServiceLevelObjectiveRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
ServiceLevelObjective | The RPC response. |
CreateServiceLevelObjectiveAsync(CreateServiceLevelObjectiveRequest, CallSettings)
public override Task<ServiceLevelObjective> CreateServiceLevelObjectiveAsync(CreateServiceLevelObjectiveRequest request, CallSettings callSettings = null)
Create a ServiceLevelObjective
for the given Service
.
Parameters | |
---|---|
Name | Description |
request | CreateServiceLevelObjectiveRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
TaskServiceLevelObjective | A Task containing the RPC response. |
DeleteService(DeleteServiceRequest, CallSettings)
public override void DeleteService(DeleteServiceRequest request, CallSettings callSettings = null)
Soft delete this Service
.
Parameters | |
---|---|