Class ReportErrorsServiceGrpc.ReportErrorsServiceImplBase (0.123.0-beta)

public abstract static class ReportErrorsServiceGrpc.ReportErrorsServiceImplBase implements BindableService

An API for reporting error events.

Inheritance

java.lang.Object > ReportErrorsServiceGrpc.ReportErrorsServiceImplBase

Implements

io.grpc.BindableService

Constructors

ReportErrorsServiceImplBase()

public ReportErrorsServiceImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

reportErrorEvent(ReportErrorEventRequest request, StreamObserver<ReportErrorEventResponse> responseObserver)

public void reportErrorEvent(ReportErrorEventRequest request, StreamObserver<ReportErrorEventResponse> responseObserver)

Report an individual error event and record the event to a log. This endpoint accepts either an OAuth token, or an API key for authentication. To use an API key, append it to the URL as the value of a key parameter. For example: POST https://clouderrorreporting.googleapis.com/v1beta1/{projectName}/events:report?key=123ABC456 Note: Error Reporting is a global service built on Cloud Logging and doesn't analyze logs stored in regional log buckets or logs routed to other Google Cloud projects. For more information, see Using Error Reporting with regionalized logs.

Parameters
NameDescription
requestReportErrorEventRequest
responseObserverio.grpc.stub.StreamObserver<ReportErrorEventResponse>