public sealed class ServiceMonitoringServiceClientImpl : ServiceMonitoringServiceClientReference 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 Metrics Scope'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 | ServiceMonitoringServiceServiceMonitoringServiceClientThe underlying gRPC client. | 
| settings | ServiceMonitoringServiceSettingsThe base ServiceMonitoringServiceSettings used within this client. | 
| logger | ILoggerOptional 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 | CreateServiceRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf 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 | CreateServiceRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf 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 | CreateServiceLevelObjectiveRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf 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 | CreateServiceLevelObjectiveRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf 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 | |
|---|---|
| Name | Description | 
| request | DeleteServiceRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
DeleteServiceAsync(DeleteServiceRequest, CallSettings)
public override Task DeleteServiceAsync(DeleteServiceRequest request, CallSettings callSettings = null)Soft delete this Service.
| Parameters | |
|---|---|
| Name | Description | 
| request | DeleteServiceRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Task | A Task containing the RPC response. | 
DeleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest, CallSettings)
public override void DeleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request, CallSettings callSettings = null)Delete the given ServiceLevelObjective.
| Parameters | |
|---|---|
| Name | Description | 
| request | DeleteServiceLevelObjectiveRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
DeleteServiceLevelObjectiveAsync(DeleteServiceLevelObjectiveRequest, CallSettings)
public override Task DeleteServiceLevelObjectiveAsync(DeleteServiceLevelObjectiveRequest request, CallSettings callSettings = null)Delete the given ServiceLevelObjective.
| Parameters | |
|---|---|
| Name | Description | 
| request | DeleteServiceLevelObjectiveRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Task | A Task containing the RPC response. | 
GetService(GetServiceRequest, CallSettings)
public override Service GetService(GetServiceRequest request, CallSettings callSettings = null)Get the named Service.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetServiceRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Service | The RPC response. | 
GetServiceAsync(GetServiceRequest, CallSettings)
public override Task<Service> GetServiceAsync(GetServiceRequest request, CallSettings callSettings = null)Get the named Service.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetServiceRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskService | A Task containing the RPC response. | 
GetServiceLevelObjective(GetServiceLevelObjectiveRequest, CallSettings)
public override ServiceLevelObjective GetServiceLevelObjective(GetServiceLevelObjectiveRequest request, CallSettings callSettings = null)Get a ServiceLevelObjective by name.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetServiceLevelObjectiveRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceLevelObjective | The RPC response. | 
GetServiceLevelObjectiveAsync(GetServiceLevelObjectiveRequest, CallSettings)
public override Task<ServiceLevelObjective> GetServiceLevelObjectiveAsync(GetServiceLevelObjectiveRequest request, CallSettings callSettings = null)Get a ServiceLevelObjective by name.
| Parameters | |
|---|---|
| Name | Description | 
| request | GetServiceLevelObjectiveRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskServiceLevelObjective | A Task containing the RPC response. | 
ListServiceLevelObjectives(ListServiceLevelObjectivesRequest, CallSettings)
public override PagedEnumerable<ListServiceLevelObjectivesResponse, ServiceLevelObjective> ListServiceLevelObjectives(ListServiceLevelObjectivesRequest request, CallSettings callSettings = null)List the ServiceLevelObjectives for the given Service.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListServiceLevelObjectivesRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| PagedEnumerableListServiceLevelObjectivesResponseServiceLevelObjective | A pageable sequence of ServiceLevelObjective resources. | 
ListServiceLevelObjectivesAsync(ListServiceLevelObjectivesRequest, CallSettings)
public override PagedAsyncEnumerable<ListServiceLevelObjectivesResponse, ServiceLevelObjective> ListServiceLevelObjectivesAsync(ListServiceLevelObjectivesRequest request, CallSettings callSettings = null)List the ServiceLevelObjectives for the given Service.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListServiceLevelObjectivesRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| PagedAsyncEnumerableListServiceLevelObjectivesResponseServiceLevelObjective | A pageable asynchronous sequence of ServiceLevelObjective resources. | 
ListServices(ListServicesRequest, CallSettings)
public override PagedEnumerable<ListServicesResponse, Service> ListServices(ListServicesRequest request, CallSettings callSettings = null)List Services for this Metrics Scope.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListServicesRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| PagedEnumerableListServicesResponseService | A pageable sequence of Service resources. | 
ListServicesAsync(ListServicesRequest, CallSettings)
public override PagedAsyncEnumerable<ListServicesResponse, Service> ListServicesAsync(ListServicesRequest request, CallSettings callSettings = null)List Services for this Metrics Scope.
| Parameters | |
|---|---|
| Name | Description | 
| request | ListServicesRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| PagedAsyncEnumerableListServicesResponseService | A pageable asynchronous sequence of Service resources. | 
UpdateService(UpdateServiceRequest, CallSettings)
public override Service UpdateService(UpdateServiceRequest request, CallSettings callSettings = null)Update this Service.
| Parameters | |
|---|---|
| Name | Description | 
| request | UpdateServiceRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| Service | The RPC response. | 
UpdateServiceAsync(UpdateServiceRequest, CallSettings)
public override Task<Service> UpdateServiceAsync(UpdateServiceRequest request, CallSettings callSettings = null)Update this Service.
| Parameters | |
|---|---|
| Name | Description | 
| request | UpdateServiceRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskService | A Task containing the RPC response. | 
UpdateServiceLevelObjective(UpdateServiceLevelObjectiveRequest, CallSettings)
public override ServiceLevelObjective UpdateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request, CallSettings callSettings = null)Update the given ServiceLevelObjective.
| Parameters | |
|---|---|
| Name | Description | 
| request | UpdateServiceLevelObjectiveRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| ServiceLevelObjective | The RPC response. | 
UpdateServiceLevelObjectiveAsync(UpdateServiceLevelObjectiveRequest, CallSettings)
public override Task<ServiceLevelObjective> UpdateServiceLevelObjectiveAsync(UpdateServiceLevelObjectiveRequest request, CallSettings callSettings = null)Update the given ServiceLevelObjective.
| Parameters | |
|---|---|
| Name | Description | 
| request | UpdateServiceLevelObjectiveRequestThe request object containing all of the parameters for the API call. | 
| callSettings | CallSettingsIf not null, applies overrides to this RPC call. | 
| Returns | |
|---|---|
| Type | Description | 
| TaskServiceLevelObjective | A Task containing the RPC response. |