| Package | Description |
|---|---|
| com.google.cloud.monitoring.v3 |
A client to Cloud Monitoring API
The interfaces provided are listed below, along with usage samples.
|
| com.google.cloud.monitoring.v3.stub |
| Modifier and Type | Method and Description |
|---|---|
UptimeCheckServiceClient.ListUptimeCheckIpsPagedResponse |
UptimeCheckServiceClient.listUptimeCheckIps(ListUptimeCheckIpsRequest request)
Returns the list of IP addresses that checkers run from
Sample code:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (UptimeCheckServiceClient uptimeCheckServiceClient = UptimeCheckServiceClient.create()) {
ListUptimeCheckIpsRequest request =
ListUptimeCheckIpsRequest.newBuilder()
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();
for (UptimeCheckIp element :
uptimeCheckServiceClient.listUptimeCheckIps(request).iterateAll()) {
// doThingsWith(element);
}
}
|
| Modifier and Type | Method and Description |
|---|---|
static com.google.api.core.ApiFuture<UptimeCheckServiceClient.ListUptimeCheckIpsPagedResponse> |
UptimeCheckServiceClient.ListUptimeCheckIpsPagedResponse.createAsync(com.google.api.gax.rpc.PageContext<ListUptimeCheckIpsRequest,ListUptimeCheckIpsResponse,UptimeCheckIp> context,
com.google.api.core.ApiFuture<ListUptimeCheckIpsResponse> futureResponse) |
com.google.api.gax.rpc.UnaryCallable<ListUptimeCheckIpsRequest,UptimeCheckServiceClient.ListUptimeCheckIpsPagedResponse> |
UptimeCheckServiceClient.listUptimeCheckIpsPagedCallable()
Returns the list of IP addresses that checkers run from
Sample code:
{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (UptimeCheckServiceClient uptimeCheckServiceClient = UptimeCheckServiceClient.create()) {
ListUptimeCheckIpsRequest request =
ListUptimeCheckIpsRequest.newBuilder()
.setPageSize(883849137)
.setPageToken("pageToken873572522")
.build();
ApiFuture
|
com.google.api.gax.rpc.PagedCallSettings<ListUptimeCheckIpsRequest,ListUptimeCheckIpsResponse,UptimeCheckServiceClient.ListUptimeCheckIpsPagedResponse> |
UptimeCheckServiceSettings.listUptimeCheckIpsSettings()
Returns the object with the settings used for calls to listUptimeCheckIps.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListUptimeCheckIpsRequest,ListUptimeCheckIpsResponse,UptimeCheckServiceClient.ListUptimeCheckIpsPagedResponse> |
UptimeCheckServiceSettings.Builder.listUptimeCheckIpsSettings()
Returns the builder for the settings used for calls to listUptimeCheckIps.
|
Copyright © 2024 Google LLC. All rights reserved.