public static final class MetricsServiceV2Grpc.MetricsServiceV2FutureStub extends AbstractFutureStub<MetricsServiceV2Grpc.MetricsServiceV2FutureStub>
Service for configuring logs-based metrics.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > MetricsServiceV2Grpc.MetricsServiceV2FutureStubMethods
build(Channel channel, CallOptions callOptions)
protected MetricsServiceV2Grpc.MetricsServiceV2FutureStub build(Channel channel, CallOptions callOptions)
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Type | Description |
MetricsServiceV2Grpc.MetricsServiceV2FutureStub |
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createLogMetric(CreateLogMetricRequest request)
public ListenableFuture<LogMetric> createLogMetric(CreateLogMetricRequest request)
Creates a logs-based metric.
Name | Description |
request | CreateLogMetricRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<LogMetric> |
deleteLogMetric(DeleteLogMetricRequest request)
public ListenableFuture<Empty> deleteLogMetric(DeleteLogMetricRequest request)
Deletes a logs-based metric.
Name | Description |
request | DeleteLogMetricRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
getLogMetric(GetLogMetricRequest request)
public ListenableFuture<LogMetric> getLogMetric(GetLogMetricRequest request)
Gets a logs-based metric.
Name | Description |
request | GetLogMetricRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<LogMetric> |
listLogMetrics(ListLogMetricsRequest request)
public ListenableFuture<ListLogMetricsResponse> listLogMetrics(ListLogMetricsRequest request)
Lists logs-based metrics.
Name | Description |
request | ListLogMetricsRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<ListLogMetricsResponse> |
updateLogMetric(UpdateLogMetricRequest request)
public ListenableFuture<LogMetric> updateLogMetric(UpdateLogMetricRequest request)
Creates or updates a logs-based metric.
Name | Description |
request | UpdateLogMetricRequest |
Type | Description |
com.google.common.util.concurrent.ListenableFuture<LogMetric> |