Skip to main content

groups

Creates, updates, deletes, gets or lists a groups resource.

Overview

Namegroups
TypeResource
Idgoogle.clouderrorreporting.groups

Fields

NameDatatypeDescription
namestringThe group resource name. Written as projects/{projectID}/groups/{group_id} or projects/{projectID}/locations/{location}/groups/{group_id} Examples: projects/my-project-123/groups/my-group, projects/my-project-123/locations/us-central1/groups/my-group In the group resource name, the group_id 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. For a list of supported locations, see Supported Regions. global is the default when unspecified.
groupIdstringAn opaque identifier of the group. This field is assigned by the Error Reporting system and always populated. In the group resource name, the group_id 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.
resolutionStatusstringError group's resolution status. An unspecified resolution status will be interpreted as OPEN
trackingIssuesarrayAssociated tracking issues.

Methods

NameAccessible byRequired ParamsDescription
getSELECTgroupsId, locationsId, projectsIdGet the specified group.
updateREPLACEgroupsId, locationsId, projectsIdReplace the data for the specified group. Fails if the group does not exist.

SELECT examples

Get the specified group.

SELECT
name,
groupId,
resolutionStatus,
trackingIssues
FROM google.clouderrorreporting.groups
WHERE groupsId = '{{ groupsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';

REPLACE example

Replaces all fields in the specified groups resource.

/*+ update */
REPLACE google.clouderrorreporting.groups
SET
name = '{{ name }}',
groupId = '{{ groupId }}',
trackingIssues = '{{ trackingIssues }}',
resolutionStatus = '{{ resolutionStatus }}'
WHERE
groupsId = '{{ groupsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';