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