Class UptimeCheckServiceGrpc.UptimeCheckServiceBlockingV2Stub

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

public static final class UptimeCheckServiceGrpc.UptimeCheckServiceBlockingV2Stub extends io.grpc.stub.AbstractBlockingStub<UptimeCheckServiceGrpc.UptimeCheckServiceBlockingV2Stub>
A stub to allow clients to do synchronous 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.UptimeCheckServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<UptimeCheckServiceGrpc.UptimeCheckServiceBlockingV2Stub>
    • listUptimeCheckConfigs

      public ListUptimeCheckConfigsResponse listUptimeCheckConfigs(ListUptimeCheckConfigsRequest request) throws io.grpc.StatusException
       Lists the existing valid Uptime check configurations for the project
       (leaving out any invalid configurations).
       
      Throws:
      io.grpc.StatusException
    • getUptimeCheckConfig

      public UptimeCheckConfig getUptimeCheckConfig(GetUptimeCheckConfigRequest request) throws io.grpc.StatusException
       Gets a single Uptime check configuration.
       
      Throws:
      io.grpc.StatusException
    • createUptimeCheckConfig

      public UptimeCheckConfig createUptimeCheckConfig(CreateUptimeCheckConfigRequest request) throws io.grpc.StatusException
       Creates a new Uptime check configuration.
       
      Throws:
      io.grpc.StatusException
    • updateUptimeCheckConfig

      public UptimeCheckConfig updateUptimeCheckConfig(UpdateUptimeCheckConfigRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • deleteUptimeCheckConfig

      public com.google.protobuf.Empty deleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest request) throws io.grpc.StatusException
       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.
       
      Throws:
      io.grpc.StatusException
    • listUptimeCheckIps

      public ListUptimeCheckIpsResponse listUptimeCheckIps(ListUptimeCheckIpsRequest request) throws io.grpc.StatusException
       Returns the list of IP addresses that checkers run from.
       
      Throws:
      io.grpc.StatusException