Class UptimeCheckServiceGrpc.UptimeCheckServiceStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<UptimeCheckServiceGrpc.UptimeCheckServiceStub>
com.google.monitoring.v3.UptimeCheckServiceGrpc.UptimeCheckServiceStub
Enclosing class:
UptimeCheckServiceGrpc

public static final class UptimeCheckServiceGrpc.UptimeCheckServiceStub extends io.grpc.stub.AbstractAsyncStub<UptimeCheckServiceGrpc.UptimeCheckServiceStub>
A stub to allow clients to do asynchronous 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".
 
  • Method Details

    • build

      protected UptimeCheckServiceGrpc.UptimeCheckServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<UptimeCheckServiceGrpc.UptimeCheckServiceStub>
    • listUptimeCheckConfigs

      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).
       
    • getUptimeCheckConfig

      public void getUptimeCheckConfig(GetUptimeCheckConfigRequest request, io.grpc.stub.StreamObserver<UptimeCheckConfig> responseObserver)
       Gets a single Uptime check configuration.
       
    • createUptimeCheckConfig

      public void createUptimeCheckConfig(CreateUptimeCheckConfigRequest request, io.grpc.stub.StreamObserver<UptimeCheckConfig> responseObserver)
       Creates a new Uptime check configuration.
       
    • updateUptimeCheckConfig

      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.
       
    • deleteUptimeCheckConfig

      public void deleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.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.
       
    • listUptimeCheckIps

      public void listUptimeCheckIps(ListUptimeCheckIpsRequest request, io.grpc.stub.StreamObserver<ListUptimeCheckIpsResponse> responseObserver)
       Returns the list of IP addresses that checkers run from.