Class UptimeCheckService.UptimeCheckServiceBase (2.6.0)

[BindServiceMethod(typeof(UptimeCheckService), "BindService")]
public abstract class UptimeCheckServiceBase

Base class for server-side implementations of UptimeCheckService

Inheritance

Object > UptimeCheckService.UptimeCheckServiceBase

Namespace

Google.Cloud.Monitoring.V3

Assembly

Google.Cloud.Monitoring.V3.dll

Methods

CreateUptimeCheckConfig(CreateUptimeCheckConfigRequest, ServerCallContext)

public virtual Task<UptimeCheckConfig> CreateUptimeCheckConfig(CreateUptimeCheckConfigRequest request, ServerCallContext context)

Creates a new Uptime check configuration.

Parameters
NameDescription
requestCreateUptimeCheckConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<UptimeCheckConfig>

The response to send back to the client (wrapped by a task).

DeleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest, ServerCallContext)

public virtual Task<Empty> DeleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest request, ServerCallContext context)

Deletes an Uptime check configuration. Note that this method will fail if the Uptime check configuration is referenced by an alert policy or other dependent configs that would be rendered invalid by the deletion.

Parameters
NameDescription
requestDeleteUptimeCheckConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<Empty>

The response to send back to the client (wrapped by a task).

GetUptimeCheckConfig(GetUptimeCheckConfigRequest, ServerCallContext)

public virtual Task<UptimeCheckConfig> GetUptimeCheckConfig(GetUptimeCheckConfigRequest request, ServerCallContext context)

Gets a single Uptime check configuration.

Parameters
NameDescription
requestGetUptimeCheckConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<UptimeCheckConfig>

The response to send back to the client (wrapped by a task).

ListUptimeCheckConfigs(ListUptimeCheckConfigsRequest, ServerCallContext)

public virtual Task<ListUptimeCheckConfigsResponse> ListUptimeCheckConfigs(ListUptimeCheckConfigsRequest request, ServerCallContext context)

Lists the existing valid Uptime check configurations for the project (leaving out any invalid configurations).

Parameters
NameDescription
requestListUptimeCheckConfigsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListUptimeCheckConfigsResponse>

The response to send back to the client (wrapped by a task).

ListUptimeCheckIps(ListUptimeCheckIpsRequest, ServerCallContext)

public virtual Task<ListUptimeCheckIpsResponse> ListUptimeCheckIps(ListUptimeCheckIpsRequest request, ServerCallContext context)

Returns the list of IP addresses that checkers run from

Parameters
NameDescription
requestListUptimeCheckIpsRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ListUptimeCheckIpsResponse>

The response to send back to the client (wrapped by a task).

UpdateUptimeCheckConfig(UpdateUptimeCheckConfigRequest, ServerCallContext)

public virtual Task<UptimeCheckConfig> UpdateUptimeCheckConfig(UpdateUptimeCheckConfigRequest request, ServerCallContext context)

Updates an Uptime check configuration. You can either replace the entire configuration with a new one or replace only certain fields in the current configuration by specifying the fields to be updated via updateMask. Returns the updated configuration.

Parameters
NameDescription
requestUpdateUptimeCheckConfigRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<UptimeCheckConfig>

The response to send back to the client (wrapped by a task).