Uses of Class
com.google.cloud.logging.Metric
Packages that use Metric
Package
Description
A client for Cloud Logging - Real-time log management and analysis.
-
Uses of Metric in com.google.cloud.logging
Methods in com.google.cloud.logging that return MetricModifier and TypeMethodDescriptionMetric.Builder.build()Logging.create(MetricInfo metric) Creates a new metric.Returns the requested metric ornullif not found.Metric.reload()Fetches current metric's latest information.Logging.update(MetricInfo metric) Updates a metric or creates one if it does not exist.Metric.update()Updates current metric.Methods in com.google.cloud.logging that return types with arguments of type MetricModifier and TypeMethodDescriptioncom.google.api.core.ApiFuture<Metric>Logging.createAsync(MetricInfo metric) Sends a request for creating a metric.com.google.api.core.ApiFuture<Metric>Logging.getMetricAsync(String metric) Sends a request for getting a metric.com.google.api.gax.paging.Page<Metric>Logging.listMetrics(Logging.ListOption... options) Lists the metrics.com.google.api.core.ApiFuture<com.google.api.gax.paging.AsyncPage<Metric>>Logging.listMetricsAsync(Logging.ListOption... options) Sends a request for listing metrics.com.google.api.core.ApiFuture<Metric>Metric.reloadAsync()Sends a request to fetch current metric's latest information.com.google.api.core.ApiFuture<Metric>Logging.updateAsync(MetricInfo metric) Sends a request for updating a metric (or creating it, if it does not exist).com.google.api.core.ApiFuture<Metric>Metric.updateAsync()Sends a request to update current metric.