groups
Creates, updates, deletes, gets or lists a groups
resource.
Overview
Name | groups |
Type | Resource |
Id | google.clouderrorreporting.groups |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The 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. |
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 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. |
resolutionStatus | string | Error group's resolution status. An unspecified resolution status will be interpreted as OPEN |
trackingIssues | array | Associated tracking issues. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | groupsId, locationsId, projectsId | Get the specified group. |
update | REPLACE | groupsId, locationsId, projectsId | Replace 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 }}';