# REST Resource: projects.groups

- [Resource: ErrorGroup](https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups#ErrorGroup)
  - [JSON representation](https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups#ErrorGroup.SCHEMA_REPRESENTATION)
  - [TrackingIssue](https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups#ErrorGroup.TrackingIssue)
    - [JSON representation](https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups#ErrorGroup.TrackingIssue.SCHEMA_REPRESENTATION)
  - [ResolutionStatus](https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups#ErrorGroup.ResolutionStatus)
- [Methods](https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups#METHODS_SUMMARY)

## Resource: ErrorGroup

Description of a group of similar error events.

| JSON representation |
|---|
| ``` { "name": string, "groupId": string, "trackingIssues": [ { object (`https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups#ErrorGroup.TrackingIssue`) } ], "resolutionStatus": enum (`https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups#ErrorGroup.ResolutionStatus`) } ``` |

| Fields ||
|---|---|
| `name` | `string` The group resource name. Written as `projects/{projectID}/groups/{groupId}` or `projects/{projectID}/locations/{location}/groups/{groupId}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/groups/my-group` In the group resource name, the `groupId` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` is the default when unspecified. |
| `groupId` | `string` An opaque identifier of the group. This field is assigned by the Error Reporting system and always populated. In the group resource name, the `groupId` is a unique identifier for a particular error group. The identifier is derived from key parts of the error-log content and is treated as Service Data. For information about how Service Data is handled, see [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice). |
| `trackingIssues[]` | ``object (`https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups#ErrorGroup.TrackingIssue`)`` Associated tracking issues. |
| `resolutionStatus` | ``enum (`https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups#ErrorGroup.ResolutionStatus`)`` Error group's resolution status. An unspecified resolution status will be interpreted as OPEN |

### TrackingIssue

Information related to tracking the progress on resolving the error.

| JSON representation |
|---|
| ``` { "url": string } ``` |

| Fields ||
|---|---|
| `url` | `string` A URL pointing to a related entry in an issue tracking system. Example: `https://github.com/user/project/issues/4` |

### ResolutionStatus

Resolution status of an error group.

| Enums ||
|---|---|
| `RESOLUTION_STATUS_UNSPECIFIED` | Status is unknown. When left unspecified in requests, it is treated like OPEN. |
| `OPEN` | The error group is not being addressed. This is the default for new groups. It is also used for errors re-occurring after marked RESOLVED. |
| `ACKNOWLEDGED` | Error Group manually acknowledged, it can have an issue link attached. |
| `RESOLVED` | Error Group manually resolved, more events for this group are not expected to occur. |
| `MUTED` | The error group is muted and excluded by default on group stats requests. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups/get` | Get the specified group. |
| ### `https://docs.cloud.google.com/error-reporting/reference/rest/v1beta1/projects.groups/update` | Replace the data for the specified group. |