Package | Description |
---|---|
com.google.cloud.logging |
A client for Stackdriver Logging - Real-time log management and analysis.
|
Modifier and Type | Class and Description |
---|---|
static class |
Metric.Builder
A builder for
Metric objects. |
Modifier and Type | Method and Description |
---|---|
static MetricInfo.Builder |
MetricInfo.newBuilder(String name,
String filter)
Returns a builder for
MetricInfo objects given the name of the metric and its filter. |
abstract MetricInfo.Builder |
MetricInfo.Builder.setDescription(String description)
Sets an optional description for this metric.
|
abstract MetricInfo.Builder |
MetricInfo.Builder.setFilter(String filter)
Sets an advanced logs filter.
|
abstract MetricInfo.Builder |
MetricInfo.Builder.setName(String name)
Sets the name of the metric.
|
MetricInfo.Builder |
MetricInfo.toBuilder()
Returns a builder for this
MetricInfo object. |
Copyright © 2019 Google LLC. All rights reserved.