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)
Parameters | |
---|---|
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Returns | |
---|---|
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.
Parameter | |
---|---|
Name | Description |
request | CreateLogMetricRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<LogMetric> |
deleteLogMetric(DeleteLogMetricRequest request)
public ListenableFuture<Empty> deleteLogMetric(DeleteLogMetricRequest request)
Deletes a logs-based metric.
Parameter | |
---|---|
Name | Description |
request | DeleteLogMetricRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<Empty> |
getLogMetric(GetLogMetricRequest request)
public ListenableFuture<LogMetric> getLogMetric(GetLogMetricRequest request)
Gets a logs-based metric.
Parameter | |
---|---|
Name | Description |
request | GetLogMetricRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<LogMetric> |
listLogMetrics(ListLogMetricsRequest request)
public ListenableFuture<ListLogMetricsResponse> listLogMetrics(ListLogMetricsRequest request)
Lists logs-based metrics.
Parameter | |
---|---|
Name | Description |
request | ListLogMetricsRequest |
Returns | |
---|---|
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.
Parameter | |
---|---|
Name | Description |
request | UpdateLogMetricRequest |
Returns | |
---|---|
Type | Description |
com.google.common.util.concurrent.ListenableFuture<LogMetric> |