Class MetricsServiceV2Grpc.MetricsServiceV2ImplBase (3.10.7)

public abstract static class MetricsServiceV2Grpc.MetricsServiceV2ImplBase implements BindableService

Service for configuring logs-based metrics.

Inheritance

java.lang.Object > MetricsServiceV2Grpc.MetricsServiceV2ImplBase

Implements

io.grpc.BindableService

Constructors

MetricsServiceV2ImplBase()

public MetricsServiceV2ImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
Type Description
io.grpc.ServerServiceDefinition

createLogMetric(CreateLogMetricRequest request, StreamObserver<LogMetric> responseObserver)

public 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 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 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 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 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>