Class UptimeCheckServiceGrpc.UptimeCheckServiceBlockingStub (3.56.0)

public static final class UptimeCheckServiceGrpc.UptimeCheckServiceBlockingStub extends AbstractBlockingStub<UptimeCheckServiceGrpc.UptimeCheckServiceBlockingStub>

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, 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.AbstractBlockingStub > UptimeCheckServiceGrpc.UptimeCheckServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected UptimeCheckServiceGrpc.UptimeCheckServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
UptimeCheckServiceGrpc.UptimeCheckServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createUptimeCheckConfig(CreateUptimeCheckConfigRequest request)

public UptimeCheckConfig createUptimeCheckConfig(CreateUptimeCheckConfigRequest request)

Creates a new Uptime check configuration.

Parameter
Name Description
request CreateUptimeCheckConfigRequest
Returns
Type Description
UptimeCheckConfig

deleteUptimeCheckConfig(DeleteUptimeCheckConfigRequest request)

public 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.

Parameter
Name Description
request DeleteUptimeCheckConfigRequest
Returns
Type Description
Empty

getUptimeCheckConfig(GetUptimeCheckConfigRequest request)

public UptimeCheckConfig getUptimeCheckConfig(GetUptimeCheckConfigRequest request)

Gets a single Uptime check configuration.

Parameter
Name Description
request GetUptimeCheckConfigRequest
Returns
Type Description
UptimeCheckConfig

listUptimeCheckConfigs(ListUptimeCheckConfigsRequest request)

public ListUptimeCheckConfigsResponse listUptimeCheckConfigs(ListUptimeCheckConfigsRequest request)

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

Parameter
Name Description
request ListUptimeCheckConfigsRequest
Returns
Type Description
ListUptimeCheckConfigsResponse

listUptimeCheckIps(ListUptimeCheckIpsRequest request)

public ListUptimeCheckIpsResponse listUptimeCheckIps(ListUptimeCheckIpsRequest request)

Returns the list of IP addresses that checkers run from

Parameter
Name Description
request ListUptimeCheckIpsRequest
Returns
Type Description
ListUptimeCheckIpsResponse

updateUptimeCheckConfig(UpdateUptimeCheckConfigRequest request)

public 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.

Parameter
Name Description
request UpdateUptimeCheckConfigRequest
Returns
Type Description
UptimeCheckConfig