Interface MetricsServiceV2Grpc.AsyncService (3.20.3)

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
Name Description
request CreateLogMetricRequest
responseObserver io.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
Name Description
request DeleteLogMetricRequest
responseObserver io.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
Name Description
request GetLogMetricRequest
responseObserver io.grpc.stub.StreamObserver<LogMetric>

listLogMetrics(ListLogMetricsRequest request, StreamObserver<ListLogMetricsResponse> responseObserver)

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

Lists logs-based metrics.

Parameters
Name Description
request ListLogMetricsRequest
responseObserver io.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
Name Description
request UpdateLogMetricRequest
responseObserver io.grpc.stub.StreamObserver<LogMetric>