Class ServiceMonitoringServiceClientImpl (2.5.0)

public sealed class ServiceMonitoringServiceClientImpl : ServiceMonitoringServiceClient

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(ServiceMonitoringService.ServiceMonitoringServiceClient, ServiceMonitoringServiceSettings)

public ServiceMonitoringServiceClientImpl(ServiceMonitoringService.ServiceMonitoringServiceClient grpcClient, ServiceMonitoringServiceSettings settings)

Constructs a client wrapper for the ServiceMonitoringService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientServiceMonitoringService.ServiceMonitoringServiceClient

The underlying gRPC client.

settingsServiceMonitoringServiceSettings

The base ServiceMonitoringServiceSettings used within this client.

Properties

GrpcClient

public override ServiceMonitoringService.ServiceMonitoringServiceClient GrpcClient { get; }

The underlying gRPC ServiceMonitoringService client

Property Value
TypeDescription
ServiceMonitoringService.ServiceMonitoringServiceClient
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
Task<Service>

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
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
Task<ServiceLevelObjective>

A Task containing the RPC response.

Overrides

DeleteService(DeleteServiceRequest, CallSettings)

public override void DeleteService(DeleteServiceRequest request, CallSettings callSettings = null)

Soft delete this Service.

Parameters
NameDescription
requestDeleteServiceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteServiceAsync(DeleteServiceRequest, CallSettings)

public override Task DeleteServiceAsync(DeleteServiceRequest request, CallSettings callSettings = null)

Soft delete this Service.

Parameters
NameDescription
requestDeleteServiceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

DeleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest, CallSettings)

public override void DeleteServiceLevelObjective(DeleteServiceLevelObjectiveRequest request, CallSettings callSettings = null)

Delete the given ServiceLevelObjective.

Parameters
NameDescription
requestDeleteServiceLevelObjectiveRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Overrides

DeleteServiceLevelObjectiveAsync(DeleteServiceLevelObjectiveRequest, CallSettings)

public override Task DeleteServiceLevelObjectiveAsync(DeleteServiceLevelObjectiveRequest request, CallSettings callSettings = null)

Delete the given ServiceLevelObjective.

Parameters
NameDescription
requestDeleteServiceLevelObjectiveRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task

A Task containing the RPC response.

Overrides

GetService(GetServiceRequest, CallSettings)

public override Service GetService(GetServiceRequest request, CallSettings callSettings = null)

Get the named Service.

Parameters
NameDescription
requestGetServiceRequest

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

GetServiceAsync(GetServiceRequest, CallSettings)

public override Task<Service> GetServiceAsync(GetServiceRequest request, CallSettings callSettings = null)

Get the named Service.

Parameters
NameDescription
requestGetServiceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Service>

A Task containing the RPC response.

Overrides

GetServiceLevelObjective(GetServiceLevelObjectiveRequest, CallSettings)

public override ServiceLevelObjective GetServiceLevelObjective(GetServiceLevelObjectiveRequest request, CallSettings callSettings = null)

Get a ServiceLevelObjective by name.

Parameters
NameDescription
requestGetServiceLevelObjectiveRequest

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

GetServiceLevelObjectiveAsync(GetServiceLevelObjectiveRequest, CallSettings)

public override Task<ServiceLevelObjective> GetServiceLevelObjectiveAsync(GetServiceLevelObjectiveRequest request, CallSettings callSettings = null)

Get a ServiceLevelObjective by name.

Parameters
NameDescription
requestGetServiceLevelObjectiveRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ServiceLevelObjective>

A Task containing the RPC response.

Overrides

ListServiceLevelObjectives(ListServiceLevelObjectivesRequest, CallSettings)

public override PagedEnumerable<ListServiceLevelObjectivesResponse, ServiceLevelObjective> ListServiceLevelObjectives(ListServiceLevelObjectivesRequest request, CallSettings callSettings = null)

List the ServiceLevelObjectives for the given Service.

Parameters
NameDescription
requestListServiceLevelObjectivesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListServiceLevelObjectivesResponse, ServiceLevelObjective>

A pageable sequence of ServiceLevelObjective resources.

Overrides

ListServiceLevelObjectivesAsync(ListServiceLevelObjectivesRequest, CallSettings)

public override PagedAsyncEnumerable<ListServiceLevelObjectivesResponse, ServiceLevelObjective> ListServiceLevelObjectivesAsync(ListServiceLevelObjectivesRequest request, CallSettings callSettings = null)

List the ServiceLevelObjectives for the given Service.

Parameters
NameDescription
requestListServiceLevelObjectivesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListServiceLevelObjectivesResponse, ServiceLevelObjective>

A pageable asynchronous sequence of ServiceLevelObjective resources.

Overrides

ListServices(ListServicesRequest, CallSettings)

public override PagedEnumerable<ListServicesResponse, Service> ListServices(ListServicesRequest request, CallSettings callSettings = null)

List Services for this workspace.

Parameters
NameDescription
requestListServicesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedEnumerable<ListServicesResponse, Service>

A pageable sequence of Service resources.

Overrides

ListServicesAsync(ListServicesRequest, CallSettings)

public override PagedAsyncEnumerable<ListServicesResponse, Service> ListServicesAsync(ListServicesRequest request, CallSettings callSettings = null)

List Services for this workspace.

Parameters
NameDescription
requestListServicesRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
PagedAsyncEnumerable<ListServicesResponse, Service>

A pageable asynchronous sequence of Service resources.

Overrides

UpdateService(UpdateServiceRequest, CallSettings)

public override Service UpdateService(UpdateServiceRequest request, CallSettings callSettings = null)

Update this Service.

Parameters
NameDescription
requestUpdateServiceRequest

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

UpdateServiceAsync(UpdateServiceRequest, CallSettings)

public override Task<Service> UpdateServiceAsync(UpdateServiceRequest request, CallSettings callSettings = null)

Update this Service.

Parameters
NameDescription
requestUpdateServiceRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<Service>

A Task containing the RPC response.

Overrides

UpdateServiceLevelObjective(UpdateServiceLevelObjectiveRequest, CallSettings)

public override ServiceLevelObjective UpdateServiceLevelObjective(UpdateServiceLevelObjectiveRequest request, CallSettings callSettings = null)

Update the given ServiceLevelObjective.

Parameters
NameDescription
requestUpdateServiceLevelObjectiveRequest

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

UpdateServiceLevelObjectiveAsync(UpdateServiceLevelObjectiveRequest, CallSettings)

public override Task<ServiceLevelObjective> UpdateServiceLevelObjectiveAsync(UpdateServiceLevelObjectiveRequest request, CallSettings callSettings = null)

Update the given ServiceLevelObjective.

Parameters
NameDescription
requestUpdateServiceLevelObjectiveRequest

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

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ServiceLevelObjective>

A Task containing the RPC response.

Overrides