public static final class UptimeCheckServiceGrpc.UptimeCheckServiceStub extends io.grpc.stub.AbstractStub<UptimeCheckServiceGrpc.UptimeCheckServiceStub>
The UptimeCheckService API is used to manage (list, create, delete, edit) uptime check configurations in the Stackdriver 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] (http://console.cloud.google.com), selecting the appropriate project, clicking on "Monitoring" on the left-hand side to navigate to Stackdriver, and then clicking on "Uptime".
Modifier and Type | Method and Description |
---|---|
protected UptimeCheckServiceGrpc.UptimeCheckServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
createUptimeCheckConfig(CreateUptimeCheckConfigRequest request,
io.grpc.stub.StreamObserver<UptimeCheckConfig> responseObserver)
Creates a new uptime check configuration.
|
void |
deleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest request,
io.grpc.stub.StreamObserver<Empty> responseObserver)
Deletes an uptime check configuration.
|
void |
getUptimeCheckConfig(GetUptimeCheckConfigRequest request,
io.grpc.stub.StreamObserver<UptimeCheckConfig> responseObserver)
Gets a single uptime check configuration.
|
void |
listUptimeCheckConfigs(ListUptimeCheckConfigsRequest request,
io.grpc.stub.StreamObserver<ListUptimeCheckConfigsResponse> responseObserver)
Lists the existing valid uptime check configurations for the project,
leaving out any invalid configurations.
|
void |
listUptimeCheckIps(ListUptimeCheckIpsRequest request,
io.grpc.stub.StreamObserver<ListUptimeCheckIpsResponse> responseObserver)
Returns the list of IPs that checkers run from
|
void |
updateUptimeCheckConfig(UpdateUptimeCheckConfigRequest request,
io.grpc.stub.StreamObserver<UptimeCheckConfig> responseObserver)
Updates an uptime check configuration.
|
protected UptimeCheckServiceGrpc.UptimeCheckServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<UptimeCheckServiceGrpc.UptimeCheckServiceStub>
public void listUptimeCheckConfigs(ListUptimeCheckConfigsRequest request, io.grpc.stub.StreamObserver<ListUptimeCheckConfigsResponse> responseObserver)
Lists the existing valid uptime check configurations for the project, leaving out any invalid configurations.
public void getUptimeCheckConfig(GetUptimeCheckConfigRequest request, io.grpc.stub.StreamObserver<UptimeCheckConfig> responseObserver)
Gets a single uptime check configuration.
public void createUptimeCheckConfig(CreateUptimeCheckConfigRequest request, io.grpc.stub.StreamObserver<UptimeCheckConfig> responseObserver)
Creates a new uptime check configuration.
public void updateUptimeCheckConfig(UpdateUptimeCheckConfigRequest request, io.grpc.stub.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.
public void deleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest request, io.grpc.stub.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.
public void listUptimeCheckIps(ListUptimeCheckIpsRequest request, io.grpc.stub.StreamObserver<ListUptimeCheckIpsResponse> responseObserver)
Returns the list of IPs that checkers run from