Interface MetricsServiceV2Grpc.AsyncService (3.16.2)

public static interface MetricsServiceV2Grpc.AsyncService

Service for configuring logs-based metrics.

Methods

createLogMetric(CreateLogMetricRequest request, StreamObserver<LogMetric> responseObserver)

public default void createLogMetric(CreateLogMetricRequest request, StreamObserver<LogMetric> responseObserver)

Creates a logs-based metric.

Parameters
NameDescription
requestCreateLogMetricRequest
responseObserverio.grpc.stub.StreamObserver<LogMetric>

deleteLogMetric(DeleteLogMetricRequest request, StreamObserver<Empty> responseObserver)

public default void deleteLogMetric(DeleteLogMetricRequest request, StreamObserver<Empty> responseObserver)

Deletes a logs-based metric.

Parameters
NameDescription
requestDeleteLogMetricRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

getLogMetric(GetLogMetricRequest request, StreamObserver<LogMetric> responseObserver)

public default void getLogMetric(GetLogMetricRequest request, StreamObserver<LogMetric> responseObserver)

Gets a logs-based metric.

Parameters
NameDescription
requestGetLogMetricRequest
responseObserverio.grpc.stub.StreamObserver<LogMetric>

listLogMetrics(ListLogMetricsRequest request, StreamObserver<ListLogMetricsResponse> responseObserver)

public default void listLogMetrics(ListLogMetricsRequest request, StreamObserver<ListLogMetricsResponse> responseObserver)

Lists logs-based metrics.

Parameters
NameDescription
requestListLogMetricsRequest
responseObserverio.grpc.stub.StreamObserver<ListLogMetricsResponse>

updateLogMetric(UpdateLogMetricRequest request, StreamObserver<LogMetric> responseObserver)

public default void updateLogMetric(UpdateLogMetricRequest request, StreamObserver<LogMetric> responseObserver)

Creates or updates a logs-based metric.

Parameters
NameDescription
requestUpdateLogMetricRequest
responseObserverio.grpc.stub.StreamObserver<LogMetric>