See: Description
| Class | Description |
|---|---|
| ErrorGroupServiceClient |
Service Description: Service for retrieving and updating individual error groups.
|
| ErrorGroupServiceSettings |
Settings class to configure an instance of
ErrorGroupServiceClient. |
| ErrorGroupServiceSettings.Builder |
Builder for ErrorGroupServiceSettings.
|
| ErrorStatsServiceClient |
Service Description: An API for retrieving and managing error statistics as well as data for
individual events.
|
| ErrorStatsServiceSettings |
Settings class to configure an instance of
ErrorStatsServiceClient. |
| ErrorStatsServiceSettings.Builder |
Builder for ErrorStatsServiceSettings.
|
| PagedResponseWrappers |
Wrapper class to contain paged response types for page streaming methods.
|
| PagedResponseWrappers.ListEventsFixedSizeCollection | |
| PagedResponseWrappers.ListEventsPage | |
| PagedResponseWrappers.ListEventsPagedResponse | |
| PagedResponseWrappers.ListGroupStatsFixedSizeCollection | |
| PagedResponseWrappers.ListGroupStatsPage | |
| PagedResponseWrappers.ListGroupStatsPagedResponse | |
| ReportErrorsServiceClient |
Service Description: An API for reporting error events.
|
| ReportErrorsServiceSettings |
Settings class to configure an instance of
ReportErrorsServiceClient. |
| ReportErrorsServiceSettings.Builder |
Builder for ReportErrorsServiceSettings.
|
The interfaces provided are listed below, along with usage samples.
======================= ErrorGroupServiceClient =======================
Service Description: Service for retrieving and updating individual error groups.
Sample for ErrorGroupServiceClient:
try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
GroupName groupName = GroupName.of("[PROJECT]", "[GROUP]");
ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
}
======================= ErrorStatsServiceClient =======================
Service Description: An API for retrieving and managing error statistics as well as data for individual events.
Sample for ErrorStatsServiceClient:
try (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
ProjectName projectName = ProjectName.of("[PROJECT]");
DeleteEventsResponse response = errorStatsServiceClient.deleteEvents(projectName);
}
========================= ReportErrorsServiceClient =========================
Service Description: An API for reporting error events.
Sample for ReportErrorsServiceClient:
try (ReportErrorsServiceClient reportErrorsServiceClient = ReportErrorsServiceClient.create()) {
ProjectName projectName = ProjectName.of("[PROJECT]");
ReportedErrorEvent event = ReportedErrorEvent.newBuilder().build();
ReportErrorEventResponse response = reportErrorsServiceClient.reportErrorEvent(projectName, event);
}
Copyright © 2017 Google. All rights reserved.