Interface UptimeCheckServiceGrpc.AsyncService (3.47.0)

public static interface UptimeCheckServiceGrpc.AsyncService

The UptimeCheckService API is used to manage (list, create, delete, edit) Uptime check configurations in the Cloud Monitoring product. An Uptime check is a piece of configuration that determines which resources and services to monitor for availability. These configurations can also be configured interactively by navigating to the Cloud console, selecting the appropriate project, clicking on "Monitoring" on the left-hand side to navigate to Cloud Monitoring, and then clicking on "Uptime".

Methods

createUptimeCheckConfig(CreateUptimeCheckConfigRequest request, StreamObserver<UptimeCheckConfig> responseObserver)

public default void createUptimeCheckConfig(CreateUptimeCheckConfigRequest request, StreamObserver<UptimeCheckConfig> responseObserver)

Creates a new Uptime check configuration.

Parameters
Name Description
request CreateUptimeCheckConfigRequest
responseObserver io.grpc.stub.StreamObserver<UptimeCheckConfig>

deleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest request, StreamObserver<Empty> responseObserver)

public default void deleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest request, StreamObserver<Empty> responseObserver)

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
Name Description
request DeleteUptimeCheckConfigRequest
responseObserver io.grpc.stub.StreamObserver<Empty>

getUptimeCheckConfig(GetUptimeCheckConfigRequest request, StreamObserver<UptimeCheckConfig> responseObserver)

public default void getUptimeCheckConfig(GetUptimeCheckConfigRequest request, StreamObserver<UptimeCheckConfig> responseObserver)

Gets a single Uptime check configuration.

Parameters
Name Description
request GetUptimeCheckConfigRequest
responseObserver io.grpc.stub.StreamObserver<UptimeCheckConfig>

listUptimeCheckConfigs(ListUptimeCheckConfigsRequest request, StreamObserver<ListUptimeCheckConfigsResponse> responseObserver)

public default void listUptimeCheckConfigs(ListUptimeCheckConfigsRequest request, StreamObserver<ListUptimeCheckConfigsResponse> responseObserver)

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

Parameters
Name Description
request ListUptimeCheckConfigsRequest
responseObserver io.grpc.stub.StreamObserver<ListUptimeCheckConfigsResponse>

listUptimeCheckIps(ListUptimeCheckIpsRequest request, StreamObserver<ListUptimeCheckIpsResponse> responseObserver)

public default void listUptimeCheckIps(ListUptimeCheckIpsRequest request, StreamObserver<ListUptimeCheckIpsResponse> responseObserver)

Returns the list of IP addresses that checkers run from

Parameters
Name Description
request ListUptimeCheckIpsRequest
responseObserver io.grpc.stub.StreamObserver<ListUptimeCheckIpsResponse>

updateUptimeCheckConfig(UpdateUptimeCheckConfigRequest request, StreamObserver<UptimeCheckConfig> responseObserver)

public default void updateUptimeCheckConfig(UpdateUptimeCheckConfigRequest request, StreamObserver<UptimeCheckConfig> responseObserver)

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
Name Description
request UpdateUptimeCheckConfigRequest
responseObserver io.grpc.stub.StreamObserver<UptimeCheckConfig>