ReportErrorsServiceGrpcClient
class ReportErrorsServiceGrpcClient extends BaseStub
An API for reporting error events.
Methods
__construct(string $hostname, array $opts, Channel $channel = null)
No description
ReportErrorEvent(ReportErrorEventRequest $argument, array $metadata = [], array $options = [])
Report an individual error event.
Details
at line 31
__construct(string $hostname, array $opts, Channel $channel = null)
at line 48
ReportErrorEvent(ReportErrorEventRequest $argument, array $metadata = [], array $options = [])
Report an individual error event.
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/projects/example-project/events:report?key=123ABC456