public static final class MetricsServiceV2Grpc.MetricsServiceV2Stub extends AbstractAsyncStub<MetricsServiceV2Grpc.MetricsServiceV2Stub>
Service for configuring logs-based metrics.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > MetricsServiceV2Grpc.MetricsServiceV2StubMethods
build(Channel channel, CallOptions callOptions)
protected MetricsServiceV2Grpc.MetricsServiceV2Stub build(Channel channel, CallOptions callOptions)
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Type | Description |
MetricsServiceV2Grpc.MetricsServiceV2Stub |
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
createLogMetric(CreateLogMetricRequest request, StreamObserver<LogMetric> responseObserver)
public void createLogMetric(CreateLogMetricRequest request, StreamObserver<LogMetric> responseObserver)
Creates a logs-based metric.
Name | Description |
request | CreateLogMetricRequest |
responseObserver | io.grpc.stub.StreamObserver<LogMetric> |
deleteLogMetric(DeleteLogMetricRequest request, StreamObserver<Empty> responseObserver)
public void deleteLogMetric(DeleteLogMetricRequest request, StreamObserver<Empty> responseObserver)
Deletes a logs-based metric.
Name | Description |
request | DeleteLogMetricRequest |
responseObserver | io.grpc.stub.StreamObserver<Empty> |
getLogMetric(GetLogMetricRequest request, StreamObserver<LogMetric> responseObserver)
public void getLogMetric(GetLogMetricRequest request, StreamObserver<LogMetric> responseObserver)
Gets a logs-based metric.
Name | Description |
request | GetLogMetricRequest |
responseObserver | io.grpc.stub.StreamObserver<LogMetric> |
listLogMetrics(ListLogMetricsRequest request, StreamObserver<ListLogMetricsResponse> responseObserver)
public void listLogMetrics(ListLogMetricsRequest request, StreamObserver<ListLogMetricsResponse> responseObserver)
Lists logs-based metrics.
Name | Description |
request | ListLogMetricsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListLogMetricsResponse> |
updateLogMetric(UpdateLogMetricRequest request, StreamObserver<LogMetric> responseObserver)
public void updateLogMetric(UpdateLogMetricRequest request, StreamObserver<LogMetric> responseObserver)
Creates or updates a logs-based metric.
Name | Description |
request | UpdateLogMetricRequest |
responseObserver | io.grpc.stub.StreamObserver<LogMetric> |