- 0.176.0-beta (latest)
- 0.175.0-beta
- 0.174.0-beta
- 0.173.0-beta
- 0.172.0-beta
- 0.170.0-beta
- 0.169.0-beta
- 0.168.0-beta
- 0.167.0-beta
- 0.166.0-beta
- 0.165.0-beta
- 0.164.0-beta
- 0.163.0-beta
- 0.162.0-beta
- 0.161.0-beta
- 0.160.0-beta
- 0.158.0-beta
- 0.157.0-beta
- 0.156.0-beta
- 0.155.0-beta
- 0.154.0-beta
- 0.153.0-beta
- 0.152.0-beta
- 0.151.0-beta
- 0.150.0-beta
- 0.149.0-beta
- 0.148.0-beta
- 0.145.0-beta
- 0.144.0-beta
- 0.143.0-beta
- 0.142.0-beta
- 0.141.0-beta
- 0.140.0-beta
- 0.139.0-beta
- 0.138.0-beta
- 0.137.0-beta
- 0.136.0-beta
- 0.135.0-beta
- 0.134.0-beta
- 0.133.0-beta
- 0.132.0-beta
- 0.130.0-beta
- 0.129.0-beta
- 0.128.0-beta
- 0.127.0-beta
- 0.126.0-beta
- 0.125.0-beta
- 0.124.15-beta
- 0.123.4-beta
- 0.122.23-beta
public static final class ReportErrorsServiceGrpc.ReportErrorsServiceStub extends AbstractAsyncStub<ReportErrorsServiceGrpc.ReportErrorsServiceStub>
A stub to allow clients to do asynchronous rpc calls to service ReportErrorsService.
An API for reporting error events.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ReportErrorsServiceGrpc.ReportErrorsServiceStubMethods
build(Channel channel, CallOptions callOptions)
protected ReportErrorsServiceGrpc.ReportErrorsServiceStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
ReportErrorsServiceGrpc.ReportErrorsServiceStub |
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 service built on Cloud Logging and can analyze log entries when all of
the following are true:
- Customer-managed encryption keys (CMEK) are disabled on the log bucket.
- The log bucket satisfies one of the following:
- The log bucket is stored in the same project where the logs originated.
- The logs were routed to a project, and then that project stored those logs in a log bucket that it owns.
Parameters | |
---|---|
Name | Description |
request |
ReportErrorEventRequest |
responseObserver |
io.grpc.stub.StreamObserver<ReportErrorEventResponse> |