Google Cloud Monitoring v3 API - Class ServiceMonitoringServiceClientImpl (3.5.0)

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.

Inheritance

object > ServiceMonitoringServiceClient > ServiceMonitoringServiceClientImpl

Namespace

Google.Cloud.Monitoring.V3

Assembly

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
NameDescription
grpcClientServiceMonitoringServiceServiceMonitoringServiceClient

The underlying gRPC client.

settingsServiceMonitoringServiceSettings

The base ServiceMonitoringServiceSettings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override ServiceMonitoringService.ServiceMonitoringServiceClient GrpcClient { get; }

The underlying gRPC ServiceMonitoringService client

Property Value
TypeDescription
ServiceMonitoringServiceServiceMonitoringServiceClient
Overrides

Methods

CreateService(CreateServiceRequest, CallSettings)

public override Service CreateService(CreateServiceRequest request, CallSettings callSettings = null)

Create a Service.

Parameters
NameDescription
requestCreateServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Service

The RPC response.

Overrides

CreateServiceAsync(CreateServiceRequest, CallSettings)

public override Task<Service> CreateServiceAsync(CreateServiceRequest request, CallSettings callSettings = null)

Create a Service.

Parameters
NameDescription
requestCreateServiceRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskService

A Task containing the RPC response.

Overrides

CreateServiceLevelObjective(CreateServiceLevelObjectiveRequest, CallSettings)

public override ServiceLevelObjective CreateServiceLevelObjective(CreateServiceLevelObjectiveRequest request, CallSettings callSettings = null)

Create a ServiceLevelObjective for the given Service.

Parameters
NameDescription
requestCreateServiceLevelObjectiveRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ServiceLevelObjective

The RPC response.

Overrides

CreateServiceLevelObjectiveAsync(CreateServiceLevelObjectiveRequest, CallSettings)

public override Task<ServiceLevelObjective> CreateServiceLevelObjectiveAsync(CreateServiceLevelObjectiveRequest request, CallSettings callSettings = null)

Create a ServiceLevelObjective for the given Service.

Parameters
NameDescription</