Uses of Class
com.google.cloud.logging.MetricInfo
-
Packages that use MetricInfo Package Description com.google.cloud.logging A client for Cloud Logging - Real-time log management and analysis. -
-
Uses of MetricInfo in com.google.cloud.logging
Subclasses of MetricInfo in com.google.cloud.logging Modifier and Type Class Description class
Metric
Cloud Logging metrics describe logs-based metric.Methods in com.google.cloud.logging that return MetricInfo Modifier and Type Method Description abstract MetricInfo
MetricInfo.Builder. build()
Creates aMetricInfo
object for this builder.static MetricInfo
MetricInfo. of(String name, String filter)
Creates aMetricInfo
object given the name of the metric and its filter.Methods in com.google.cloud.logging with parameters of type MetricInfo Modifier and Type Method Description Metric
Logging. create(MetricInfo metric)
Creates a new metric.com.google.api.core.ApiFuture<Metric>
Logging. createAsync(MetricInfo metric)
Sends a request for creating a metric.Metric
Logging. update(MetricInfo metric)
Updates a metric or creates one if it does not exist.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).
-