@Generated(value="by gapic-generator-java") public class MetricsClient extends Object implements com.google.api.gax.core.BackgroundResource
This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:
// 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 (MetricsClient metricsClient = MetricsClient.create()) {
LogMetricName metricName = LogMetricName.of("[PROJECT]", "[METRIC]");
LogMetric response = metricsClient.getLogMetric(metricName);
}
Note: close() needs to be called on the MetricsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().
The surface of this class includes several types of Java methods for each of the API's methods:
See the individual methods for example code.
Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.
This class can be customized by passing in a custom instance of MetricsSettings to create(). For example:
To customize credentials:
// 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
MetricsSettings metricsSettings =
MetricsSettings.newBuilder()
.setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
.build();
MetricsClient metricsClient = MetricsClient.create(metricsSettings);
To customize the endpoint:
// 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
MetricsSettings metricsSettings = MetricsSettings.newBuilder().setEndpoint(myEndpoint).build();
MetricsClient metricsClient = MetricsClient.create(metricsSettings);
Please refer to the GitHub repository's samples for more quickstart code snippets.
Modifier and Type | Class and Description |
---|---|
static class |
MetricsClient.ListLogMetricsFixedSizeCollection |
static class |
MetricsClient.ListLogMetricsPage |
static class |
MetricsClient.ListLogMetricsPagedResponse |
Modifier | Constructor and Description |
---|---|
protected |
MetricsClient(MetricsServiceV2Stub stub) |
protected |
MetricsClient(MetricsSettings settings)
Constructs an instance of MetricsClient, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static MetricsClient |
create()
Constructs an instance of MetricsClient with default settings.
|
static MetricsClient |
create(MetricsServiceV2Stub stub)
Constructs an instance of MetricsClient, using the given stub for making calls.
|
static MetricsClient |
create(MetricsSettings settings)
Constructs an instance of MetricsClient, using the given settings.
|
LogMetric |
createLogMetric(CreateLogMetricRequest request)
Creates a logs-based metric.
|
LogMetric |
createLogMetric(ProjectName parent,
LogMetric metric)
Creates a logs-based metric.
|
LogMetric |
createLogMetric(String parent,
LogMetric metric)
Creates a logs-based metric.
|
com.google.api.gax.rpc.UnaryCallable<CreateLogMetricRequest,LogMetric> |
createLogMetricCallable()
Creates a logs-based metric.
|
void |
deleteLogMetric(DeleteLogMetricRequest request)
Deletes a logs-based metric.
|
void |
deleteLogMetric(LogMetricName metricName)
Deletes a logs-based metric.
|
void |
deleteLogMetric(String metricName)
Deletes a logs-based metric.
|
com.google.api.gax.rpc.UnaryCallable<DeleteLogMetricRequest,com.google.protobuf.Empty> |
deleteLogMetricCallable()
Deletes a logs-based metric.
|
LogMetric |
getLogMetric(GetLogMetricRequest request)
Gets a logs-based metric.
|
LogMetric |
getLogMetric(LogMetricName metricName)
Gets a logs-based metric.
|
LogMetric |
getLogMetric(String metricName)
Gets a logs-based metric.
|
com.google.api.gax.rpc.UnaryCallable<GetLogMetricRequest,LogMetric> |
getLogMetricCallable()
Gets a logs-based metric.
|
MetricsSettings |
getSettings() |
MetricsServiceV2Stub |
getStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
MetricsClient.ListLogMetricsPagedResponse |
listLogMetrics(ListLogMetricsRequest request)
Lists logs-based metrics.
|
MetricsClient.ListLogMetricsPagedResponse |
listLogMetrics(ProjectName parent)
Lists logs-based metrics.
|
MetricsClient.ListLogMetricsPagedResponse |
listLogMetrics(String parent)
Lists logs-based metrics.
|
com.google.api.gax.rpc.UnaryCallable<ListLogMetricsRequest,ListLogMetricsResponse> |
listLogMetricsCallable()
Lists logs-based metrics.
|
com.google.api.gax.rpc.UnaryCallable<ListLogMetricsRequest,MetricsClient.ListLogMetricsPagedResponse> |
listLogMetricsPagedCallable()
Lists logs-based metrics.
|
void |
shutdown() |
void |
shutdownNow() |
LogMetric |
updateLogMetric(LogMetricName metricName,
LogMetric metric)
Creates or updates a logs-based metric.
|
LogMetric |
updateLogMetric(String metricName,
LogMetric metric)
Creates or updates a logs-based metric.
|
LogMetric |
updateLogMetric(UpdateLogMetricRequest request)
Creates or updates a logs-based metric.
|
com.google.api.gax.rpc.UnaryCallable<UpdateLogMetricRequest,LogMetric> |
updateLogMetricCallable()
Creates or updates a logs-based metric.
|
protected MetricsClient(MetricsSettings settings) throws IOException
IOException
protected MetricsClient(MetricsServiceV2Stub stub)
public static final MetricsClient create() throws IOException
IOException
public static final MetricsClient create(MetricsSettings settings) throws IOException
IOException
public static final MetricsClient create(MetricsServiceV2Stub stub)
public final MetricsSettings getSettings()
public MetricsServiceV2Stub getStub()
public final MetricsClient.ListLogMetricsPagedResponse listLogMetrics(ProjectName parent)
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 (MetricsClient metricsClient = MetricsClient.create()) {
ProjectName parent = ProjectName.of("[PROJECT]");
for (LogMetric element : metricsClient.listLogMetrics(parent).iterateAll()) {
// doThingsWith(element);
}
}
parent
- Required. The name of the project containing the metrics:
"projects/[PROJECT_ID]"
com.google.api.gax.rpc.ApiException
- if the remote call failspublic final MetricsClient.ListLogMetricsPagedResponse listLogMetrics(String parent)
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 (MetricsClient metricsClient = MetricsClient.create()) {
String parent = ProjectName.of("[PROJECT]").toString();
for (LogMetric element : metricsClient.listLogMetrics(parent).iterateAll()) {
// doThingsWith(element);
}
}
parent
- Required. The name of the project containing the metrics:
"projects/[PROJECT_ID]"
com.google.api.gax.rpc.ApiException
- if the remote call failspublic final MetricsClient.ListLogMetricsPagedResponse listLogMetrics(ListLogMetricsRequest request)
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 (MetricsClient metricsClient = MetricsClient.create()) {
ListLogMetricsRequest request =
ListLogMetricsRequest.newBuilder()
.setParent(ProjectName.of("[PROJECT]").toString())
.setPageToken("pageToken873572522")
.setPageSize(883849137)
.build();
for (LogMetric element : metricsClient.listLogMetrics(request).iterateAll()) {
// doThingsWith(element);
}
}
request
- The request object containing all of the parameters for the API call.com.google.api.gax.rpc.ApiException
- if the remote call failspublic final com.google.api.gax.rpc.UnaryCallable<ListLogMetricsRequest,MetricsClient.ListLogMetricsPagedResponse> listLogMetricsPagedCallable()
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 (MetricsClient metricsClient = MetricsClient.create()) {
ListLogMetricsRequest request =
ListLogMetricsRequest.newBuilder()
.setParent(ProjectName.of("[PROJECT]").toString())
.setPageToken("pageToken873572522")
.setPageSize(883849137)
.build();
ApiFuture<LogMetric> future = metricsClient.listLogMetricsPagedCallable().futureCall(request);
// Do something.
for (LogMetric element : future.get().iterateAll()) {
// doThingsWith(element);
}
}
public final com.google.api.gax.rpc.UnaryCallable<ListLogMetricsRequest,ListLogMetricsResponse> listLogMetricsCallable()
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 (MetricsClient metricsClient = MetricsClient.create()) {
ListLogMetricsRequest request =
ListLogMetricsRequest.newBuilder()
.setParent(ProjectName.of("[PROJECT]").toString())
.setPageToken("pageToken873572522")
.setPageSize(883849137)
.build();
while (true) {
ListLogMetricsResponse response = metricsClient.listLogMetricsCallable().call(request);
for (LogMetric element : response.getMetricsList()) {
// doThingsWith(element);
}
String nextPageToken = response.getNextPageToken();
if (!Strings.isNullOrEmpty(nextPageToken)) {
request = request.toBuilder().setPageToken(nextPageToken).build();
} else {
break;
}
}
}
public final LogMetric getLogMetric(LogMetricName metricName)
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 (MetricsClient metricsClient = MetricsClient.create()) {
LogMetricName metricName = LogMetricName.of("[PROJECT]", "[METRIC]");
LogMetric response = metricsClient.getLogMetric(metricName);
}
metricName
- Required. The resource name of the desired metric:
"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
com.google.api.gax.rpc.ApiException
- if the remote call failspublic final LogMetric getLogMetric(String metricName)
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 (MetricsClient metricsClient = MetricsClient.create()) {
String metricName = LogMetricName.of("[PROJECT]", "[METRIC]").toString();
LogMetric response = metricsClient.getLogMetric(metricName);
}
metricName
- Required. The resource name of the desired metric:
"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
com.google.api.gax.rpc.ApiException
- if the remote call failspublic final LogMetric getLogMetric(GetLogMetricRequest request)
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 (MetricsClient metricsClient = MetricsClient.create()) {
GetLogMetricRequest request =
GetLogMetricRequest.newBuilder()
.setMetricName(LogMetricName.of("[PROJECT]", "[METRIC]").toString())
.build();
LogMetric response = metricsClient.getLogMetric(request);
}
request
- The request object containing all of the parameters for the API call.com.google.api.gax.rpc.ApiException
- if the remote call failspublic final com.google.api.gax.rpc.UnaryCallable<GetLogMetricRequest,LogMetric> getLogMetricCallable()
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 (MetricsClient metricsClient = MetricsClient.create()) {
GetLogMetricRequest request =
GetLogMetricRequest.newBuilder()
.setMetricName(LogMetricName.of("[PROJECT]", "[METRIC]").toString())
.build();
ApiFuture<LogMetric> future = metricsClient.getLogMetricCallable().futureCall(request);
// Do something.
LogMetric response = future.get();
}
public final LogMetric createLogMetric(ProjectName parent, LogMetric metric)
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 (MetricsClient metricsClient = MetricsClient.create()) {
ProjectName parent = ProjectName.of("[PROJECT]");
LogMetric metric = LogMetric.newBuilder().build();
LogMetric response = metricsClient.createLogMetric(parent, metric);
}
parent
- Required. The resource name of the project in which to create the metric:
"projects/[PROJECT_ID]"
The new metric must be provided in the request.
metric
- Required. The new logs-based metric, which must not have an identifier that
already exists.com.google.api.gax.rpc.ApiException
- if the remote call failspublic final LogMetric createLogMetric(String parent, LogMetric metric)
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 (MetricsClient metricsClient = MetricsClient.create()) {
String parent = ProjectName.of("[PROJECT]").toString();
LogMetric metric = LogMetric.newBuilder().build();
LogMetric response = metricsClient.createLogMetric(parent, metric);
}
parent
- Required. The resource name of the project in which to create the metric:
"projects/[PROJECT_ID]"
The new metric must be provided in the request.
metric
- Required. The new logs-based metric, which must not have an identifier that
already exists.com.google.api.gax.rpc.ApiException
- if the remote call failspublic final LogMetric createLogMetric(CreateLogMetricRequest request)
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 (MetricsClient metricsClient = MetricsClient.create()) {
CreateLogMetricRequest request =
CreateLogMetricRequest.newBuilder()
.setParent(ProjectName.of("[PROJECT]").toString())
.setMetric(LogMetric.newBuilder().build())
.build();
LogMetric response = metricsClient.createLogMetric(request);
}
request
- The request object containing all of the parameters for the API call.com.google.api.gax.rpc.ApiException
- if the remote call failspublic final com.google.api.gax.rpc.UnaryCallable<CreateLogMetricRequest,LogMetric> createLogMetricCallable()
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 (MetricsClient metricsClient = MetricsClient.create()) {
CreateLogMetricRequest request =
CreateLogMetricRequest.newBuilder()
.setParent(ProjectName.of("[PROJECT]").toString())
.setMetric(LogMetric.newBuilder().build())
.build();
ApiFuture<LogMetric> future = metricsClient.createLogMetricCallable().futureCall(request);
// Do something.
LogMetric response = future.get();
}
public final LogMetric updateLogMetric(LogMetricName metricName, LogMetric metric)
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 (MetricsClient metricsClient = MetricsClient.create()) {
LogMetricName metricName = LogMetricName.of("[PROJECT]", "[METRIC]");
LogMetric metric = LogMetric.newBuilder().build();
LogMetric response = metricsClient.updateLogMetric(metricName, metric);
}
metricName
- Required. The resource name of the metric to update:
"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
The updated metric must be provided in the request and it's `name` field must be the same as `[METRIC_ID]` If the metric does not exist in `[PROJECT_ID]`, then a new metric is created.
metric
- Required. The updated metric.com.google.api.gax.rpc.ApiException
- if the remote call failspublic final LogMetric updateLogMetric(String metricName, LogMetric metric)
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 (MetricsClient metricsClient = MetricsClient.create()) {
String metricName = LogMetricName.of("[PROJECT]", "[METRIC]").toString();
LogMetric metric = LogMetric.newBuilder().build();
LogMetric response = metricsClient.updateLogMetric(metricName, metric);
}
metricName
- Required. The resource name of the metric to update:
"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
The updated metric must be provided in the request and it's `name` field must be the same as `[METRIC_ID]` If the metric does not exist in `[PROJECT_ID]`, then a new metric is created.
metric
- Required. The updated metric.com.google.api.gax.rpc.ApiException
- if the remote call failspublic final LogMetric updateLogMetric(UpdateLogMetricRequest request)
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 (MetricsClient metricsClient = MetricsClient.create()) {
UpdateLogMetricRequest request =
UpdateLogMetricRequest.newBuilder()
.setMetricName(LogMetricName.of("[PROJECT]", "[METRIC]").toString())
.setMetric(LogMetric.newBuilder().build())
.build();
LogMetric response = metricsClient.updateLogMetric(request);
}
request
- The request object containing all of the parameters for the API call.com.google.api.gax.rpc.ApiException
- if the remote call failspublic final com.google.api.gax.rpc.UnaryCallable<UpdateLogMetricRequest,LogMetric> updateLogMetricCallable()
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 (MetricsClient metricsClient = MetricsClient.create()) {
UpdateLogMetricRequest request =
UpdateLogMetricRequest.newBuilder()
.setMetricName(LogMetricName.of("[PROJECT]", "[METRIC]").toString())
.setMetric(LogMetric.newBuilder().build())
.build();
ApiFuture<LogMetric> future = metricsClient.updateLogMetricCallable().futureCall(request);
// Do something.
LogMetric response = future.get();
}
public final void deleteLogMetric(LogMetricName metricName)
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 (MetricsClient metricsClient = MetricsClient.create()) {
LogMetricName metricName = LogMetricName.of("[PROJECT]", "[METRIC]");
metricsClient.deleteLogMetric(metricName);
}
metricName
- Required. The resource name of the metric to delete:
"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
com.google.api.gax.rpc.ApiException
- if the remote call failspublic final void deleteLogMetric(String metricName)
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 (MetricsClient metricsClient = MetricsClient.create()) {
String metricName = LogMetricName.of("[PROJECT]", "[METRIC]").toString();
metricsClient.deleteLogMetric(metricName);
}
metricName
- Required. The resource name of the metric to delete:
"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
com.google.api.gax.rpc.ApiException
- if the remote call failspublic final void deleteLogMetric(DeleteLogMetricRequest request)
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 (MetricsClient metricsClient = MetricsClient.create()) {
DeleteLogMetricRequest request =
DeleteLogMetricRequest.newBuilder()
.setMetricName(LogMetricName.of("[PROJECT]", "[METRIC]").toString())
.build();
metricsClient.deleteLogMetric(request);
}
request
- The request object containing all of the parameters for the API call.com.google.api.gax.rpc.ApiException
- if the remote call failspublic final com.google.api.gax.rpc.UnaryCallable<DeleteLogMetricRequest,com.google.protobuf.Empty> deleteLogMetricCallable()
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 (MetricsClient metricsClient = MetricsClient.create()) {
DeleteLogMetricRequest request =
DeleteLogMetricRequest.newBuilder()
.setMetricName(LogMetricName.of("[PROJECT]", "[METRIC]").toString())
.build();
ApiFuture<Empty> future = metricsClient.deleteLogMetricCallable().futureCall(request);
// Do something.
future.get();
}
public final void close()
close
in interface AutoCloseable
public void shutdown()
shutdown
in interface com.google.api.gax.core.BackgroundResource
public boolean isShutdown()
isShutdown
in interface com.google.api.gax.core.BackgroundResource
public boolean isTerminated()
isTerminated
in interface com.google.api.gax.core.BackgroundResource
public void shutdownNow()
shutdownNow
in interface com.google.api.gax.core.BackgroundResource
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
awaitTermination
in interface com.google.api.gax.core.BackgroundResource
InterruptedException
Copyright © 2023 Google LLC. All rights reserved.