Class ReportErrorsServiceClientImpl (2.0.0-beta05)

public sealed class ReportErrorsServiceClientImpl : ReportErrorsServiceClient

ReportErrorsService client wrapper implementation, for convenient use.

Inheritance

Object > ReportErrorsServiceClient > ReportErrorsServiceClientImpl

Namespace

Google.Cloud.ErrorReporting.V1Beta1

Assembly

Google.Cloud.ErrorReporting.V1Beta1.dll

Remarks

An API for reporting error events.

Constructors

ReportErrorsServiceClientImpl(ReportErrorsService.ReportErrorsServiceClient, ReportErrorsServiceSettings)

public ReportErrorsServiceClientImpl(ReportErrorsService.ReportErrorsServiceClient grpcClient, ReportErrorsServiceSettings settings)

Constructs a client wrapper for the ReportErrorsService service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientReportErrorsService.ReportErrorsServiceClient

The underlying gRPC client.

settingsReportErrorsServiceSettings

The base ReportErrorsServiceSettings used within this client.

Properties

GrpcClient

public override ReportErrorsService.ReportErrorsServiceClient GrpcClient { get; }

The underlying gRPC ReportErrorsService client

Property Value
TypeDescription
ReportErrorsService.ReportErrorsServiceClient
Overrides

Methods

ReportErrorEvent(ReportErrorEventRequest, CallSettings)

public override ReportErrorEventResponse ReportErrorEvent(ReportErrorEventRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ReportErrorEventResponse

The RPC response.

Overrides

ReportErrorEventAsync(ReportErrorEventRequest, CallSettings)

public override Task<ReportErrorEventResponse> ReportErrorEventAsync(ReportErrorEventRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
Task<ReportErrorEventResponse>

A Task containing the RPC response.

Overrides