Google Cloud Error Reporting v1beta1 API - Class ReportErrorsService.ReportErrorsServiceBase (3.0.0-beta06)

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

Reference documentation and code samples for the Google Cloud Error Reporting v1beta1 API class ReportErrorsService.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 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

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskReportErrorEventResponse

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