Interface ReportErrorsServiceGrpc.AsyncService
-
- All Known Implementing Classes:
ReportErrorsServiceGrpc.ReportErrorsServiceImplBase
- Enclosing class:
- ReportErrorsServiceGrpc
public static interface ReportErrorsServiceGrpc.AsyncService
An API for reporting error events.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
reportErrorEvent(ReportErrorEventRequest request, io.grpc.stub.StreamObserver<ReportErrorEventResponse> responseObserver)
Report an individual error event and record the event to a log.
-
-
-
Method Detail
-
reportErrorEvent
default void reportErrorEvent(ReportErrorEventRequest request, io.grpc.stub.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](https://support.google.com/cloud/answer/6158862) 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](/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.
-
-