Class ReportErrorsServiceGrpc.ReportErrorsServiceFutureStub (0.144.0-beta)

public static final class ReportErrorsServiceGrpc.ReportErrorsServiceFutureStub extends AbstractFutureStub<ReportErrorsServiceGrpc.ReportErrorsServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service ReportErrorsService.

An API for reporting error events.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > ReportErrorsServiceGrpc.ReportErrorsServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected ReportErrorsServiceGrpc.ReportErrorsServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
ReportErrorsServiceGrpc.ReportErrorsServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

reportErrorEvent(ReportErrorEventRequest request)

public ListenableFuture<ReportErrorEventResponse> reportErrorEvent(ReportErrorEventRequest request)

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.

Parameter
NameDescription
requestReportErrorEventRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ReportErrorEventResponse>