public static final class MetricsServiceV2Grpc.MetricsServiceV2Stub extends AbstractAsyncStub<MetricsServiceV2Grpc.MetricsServiceV2Stub>
Service for configuring logs-based metrics.
AbstractStub.StubFactory<T extends AbstractStub<T>>
Modifier and Type | Method and Description |
---|---|
protected MetricsServiceV2Grpc.MetricsServiceV2Stub |
build(Channel channel,
CallOptions callOptions) |
void |
createLogMetric(CreateLogMetricRequest request,
StreamObserver<LogMetric> responseObserver)
Creates a logs-based metric.
|
void |
deleteLogMetric(DeleteLogMetricRequest request,
StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a logs-based metric.
|
void |
getLogMetric(GetLogMetricRequest request,
StreamObserver<LogMetric> responseObserver)
Gets a logs-based metric.
|
void |
listLogMetrics(ListLogMetricsRequest request,
StreamObserver<ListLogMetricsResponse> responseObserver)
Lists logs-based metrics.
|
void |
updateLogMetric(UpdateLogMetricRequest request,
StreamObserver<LogMetric> responseObserver)
Creates or updates a logs-based metric.
|
newStub, newStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOption, withWaitForReady
protected MetricsServiceV2Grpc.MetricsServiceV2Stub build(Channel channel, CallOptions callOptions)
build
in class AbstractStub<MetricsServiceV2Grpc.MetricsServiceV2Stub>
public void listLogMetrics(ListLogMetricsRequest request, StreamObserver<ListLogMetricsResponse> responseObserver)
Lists logs-based metrics.
public void getLogMetric(GetLogMetricRequest request, StreamObserver<LogMetric> responseObserver)
Gets a logs-based metric.
public void createLogMetric(CreateLogMetricRequest request, StreamObserver<LogMetric> responseObserver)
Creates a logs-based metric.
public void updateLogMetric(UpdateLogMetricRequest request, StreamObserver<LogMetric> responseObserver)
Creates or updates a logs-based metric.
public void deleteLogMetric(DeleteLogMetricRequest request, StreamObserver<com.google.protobuf.Empty> responseObserver)
Deletes a logs-based metric.
Copyright © 2023 Google LLC. All rights reserved.