| Package | Description | 
|---|---|
| com.google.cloud.logging | 
 A client for Stackdriver Logging - Real-time log management and analysis. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Metric | 
Metric.Builder.build()  | 
Metric | 
Logging.create(MetricInfo metric)
Creates a new metric. 
 | 
Metric | 
Logging.getMetric(String metric)
Returns the requested metric or  
null if not found. | 
Metric | 
Metric.reload()
Fetches current metric's latest information. 
 | 
Metric | 
Metric.update()
Updates current metric. 
 | 
Metric | 
Logging.update(MetricInfo metric)
Updates a metric or creates one if it does not exist. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
com.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> | 
Metric.updateAsync()
Sends a request to update current metric. 
 | 
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). 
 | 
Copyright © 2019 Google LLC. All rights reserved.