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 |
---|---|
ApiFuture<Metric> |
Logging.createAsync(MetricInfo metric)
Sends a request for creating a metric.
|
ApiFuture<Metric> |
Logging.getMetricAsync(String metric)
Sends a request for getting a metric.
|
Page<Metric> |
Logging.listMetrics(Logging.ListOption... options)
Lists the metrics.
|
ApiFuture<AsyncPage<Metric>> |
Logging.listMetricsAsync(Logging.ListOption... options)
Sends a request for listing metrics.
|
ApiFuture<Metric> |
Metric.reloadAsync()
Sends a request to fetch current metric's latest information.
|
ApiFuture<Metric> |
Metric.updateAsync()
Sends a request to update current metric.
|
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.