Class UptimeCheckServiceGrpc.UptimeCheckServiceStub (3.2.9)

public static final class UptimeCheckServiceGrpc.UptimeCheckServiceStub extends AbstractAsyncStub<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, selecting the appropriate project, clicking on "Monitoring" on the left-hand side to navigate to Stackdriver, and then clicking on "Uptime".

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > UptimeCheckServiceGrpc.UptimeCheckServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected UptimeCheckServiceGrpc.UptimeCheckServiceStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
UptimeCheckServiceGrpc.UptimeCheckServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createUptimeCheckConfig(CreateUptimeCheckConfigRequest request, StreamObserver<UptimeCheckConfig> responseObserver)

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

Creates a new Uptime check configuration.

Parameters
NameDescription
requestCreateUptimeCheckConfigRequest
responseObserverio.grpc.stub.StreamObserver<UptimeCheckConfig>

deleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest request, StreamObserver<Empty> responseObserver)

public 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
NameDescription
requestDeleteUptimeCheckConfigRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getUptimeCheckConfig(GetUptimeCheckConfigRequest request, StreamObserver<UptimeCheckConfig> responseObserver)

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

Gets a single Uptime check configuration.

Parameters
NameDescription
requestGetUptimeCheckConfigRequest
responseObserverio.grpc.stub.StreamObserver<UptimeCheckConfig>

listUptimeCheckConfigs(ListUptimeCheckConfigsRequest request, StreamObserver<ListUptimeCheckConfigsResponse> responseObserver)

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

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

Parameters
NameDescription
requestListUptimeCheckConfigsRequest
responseObserverio.grpc.stub.StreamObserver<ListUptimeCheckConfigsResponse>

listUptimeCheckIps(ListUptimeCheckIpsRequest request, StreamObserver<ListUptimeCheckIpsResponse> responseObserver)

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

Returns the list of IP addresses that checkers run from

Parameters
NameDescription
requestListUptimeCheckIpsRequest
responseObserverio.grpc.stub.StreamObserver<ListUptimeCheckIpsResponse>

updateUptimeCheckConfig(UpdateUptimeCheckConfigRequest request, StreamObserver<UptimeCheckConfig> responseObserver)

public 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
NameDescription
requestUpdateUptimeCheckConfigRequest
responseObserverio.grpc.stub.StreamObserver<UptimeCheckConfig>