public static final class UptimeCheckServiceGrpc.UptimeCheckServiceFutureStub extends AbstractFutureStub<UptimeCheckServiceGrpc.UptimeCheckServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service UptimeCheckService.
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".
Inheritance
java.lang.Object >
io.grpc.stub.AbstractStub >
io.grpc.stub.AbstractFutureStub >
UptimeCheckServiceGrpc.UptimeCheckServiceFutureStub
Inherited Members
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractFutureStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()
Methods
build(Channel channel, CallOptions callOptions)
protected UptimeCheckServiceGrpc.UptimeCheckServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters |
Name |
Description |
channel |
io.grpc.Channel
|
callOptions |
io.grpc.CallOptions
|
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createUptimeCheckConfig(CreateUptimeCheckConfigRequest request)
public ListenableFuture<UptimeCheckConfig> createUptimeCheckConfig(CreateUptimeCheckConfigRequest request)
Creates a new Uptime check configuration.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<UptimeCheckConfig> |
|
deleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest request)
public ListenableFuture<Empty> deleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest request)
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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
|
getUptimeCheckConfig(GetUptimeCheckConfigRequest request)
public ListenableFuture<UptimeCheckConfig> getUptimeCheckConfig(GetUptimeCheckConfigRequest request)
Gets a single Uptime check configuration.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<UptimeCheckConfig> |
|
listUptimeCheckConfigs(ListUptimeCheckConfigsRequest request)
public ListenableFuture<ListUptimeCheckConfigsResponse> listUptimeCheckConfigs(ListUptimeCheckConfigsRequest request)
Lists the existing valid Uptime check configurations for the project
(leaving out any invalid configurations).
listUptimeCheckIps(ListUptimeCheckIpsRequest request)
public ListenableFuture<ListUptimeCheckIpsResponse> listUptimeCheckIps(ListUptimeCheckIpsRequest request)
Returns the list of IP addresses that checkers run from
updateUptimeCheckConfig(UpdateUptimeCheckConfigRequest request)
public ListenableFuture<UptimeCheckConfig> updateUptimeCheckConfig(UpdateUptimeCheckConfigRequest request)
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.
Returns |
Type |
Description |
com.google.common.util.concurrent.ListenableFuture<UptimeCheckConfig> |
|