Class MetricsServiceV2Grpc.MetricsServiceV2ImplBase (3.5.3)

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
TypeDescription
io.grpc.ServerServiceDefinition

createLogMetric(CreateLogMetricRequest request, StreamObserver<LogMetric> responseObserver)

public 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 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 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 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 void updateLogMetric(UpdateLogMetricRequest request, StreamObserver<LogMetric> responseObserver)

Creates or updates a logs-based metric.

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