Class ReportErrorsService.ReportErrorsServiceBase (2.0.0-beta05)

[BindServiceMethod(typeof(ReportErrorsService), "BindService")]
public abstract class ReportErrorsServiceBase

Base class for server-side implementations of ReportErrorsService

Inheritance

Object > ReportErrorsService.ReportErrorsServiceBase

Namespace

Google.Cloud.ErrorReporting.V1Beta1

Assembly

Google.Cloud.ErrorReporting.V1Beta1.dll

Methods

ReportErrorEvent(ReportErrorEventRequest, ServerCallContext)

public virtual Task<ReportErrorEventResponse> ReportErrorEvent(ReportErrorEventRequest request, ServerCallContext context)

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

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ReportErrorEventResponse>

The response to send back to the client (wrapped by a task).