Package com.google.monitoring.v3
Class UptimeCheckServiceGrpc.UptimeCheckServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<UptimeCheckServiceGrpc.UptimeCheckServiceFutureStub>
com.google.monitoring.v3.UptimeCheckServiceGrpc.UptimeCheckServiceFutureStub
- Enclosing class:
- UptimeCheckServiceGrpc
public static final class UptimeCheckServiceGrpc.UptimeCheckServiceFutureStub
extends io.grpc.stub.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] (https://console.cloud.google.com), selecting the appropriate project, clicking on "Monitoring" on the left-hand side to navigate to Cloud Monitoring, and then clicking on "Uptime".
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<UptimeCheckConfig>Creates a new Uptime check configuration.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>Deletes an Uptime check configuration.com.google.common.util.concurrent.ListenableFuture<UptimeCheckConfig>Gets a single Uptime check configuration.com.google.common.util.concurrent.ListenableFuture<ListUptimeCheckConfigsResponse>Lists the existing valid Uptime check configurations for the project (leaving out any invalid configurations).com.google.common.util.concurrent.ListenableFuture<ListUptimeCheckIpsResponse>Returns the list of IP addresses that checkers run from.com.google.common.util.concurrent.ListenableFuture<UptimeCheckConfig>Updates an Uptime check configuration.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected UptimeCheckServiceGrpc.UptimeCheckServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<UptimeCheckServiceGrpc.UptimeCheckServiceFutureStub>
-
listUptimeCheckConfigs
public com.google.common.util.concurrent.ListenableFuture<ListUptimeCheckConfigsResponse> listUptimeCheckConfigs(ListUptimeCheckConfigsRequest request) Lists the existing valid Uptime check configurations for the project (leaving out any invalid configurations).
-
getUptimeCheckConfig
public com.google.common.util.concurrent.ListenableFuture<UptimeCheckConfig> getUptimeCheckConfig(GetUptimeCheckConfigRequest request) Gets a single Uptime check configuration.
-
createUptimeCheckConfig
public com.google.common.util.concurrent.ListenableFuture<UptimeCheckConfig> createUptimeCheckConfig(CreateUptimeCheckConfigRequest request) Creates a new Uptime check configuration.
-
updateUptimeCheckConfig
public com.google.common.util.concurrent.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.
-
deleteUptimeCheckConfig
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.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.
-
listUptimeCheckIps
public com.google.common.util.concurrent.ListenableFuture<ListUptimeCheckIpsResponse> listUptimeCheckIps(ListUptimeCheckIpsRequest request) Returns the list of IP addresses that checkers run from.
-