Reference documentation and code samples for the Stackdriver Error Reporting V1beta1 Client class ErrorGroup.
Description of a group of similar error events.
Generated from protobuf messagegoogle.devtools.clouderrorreporting.v1beta1.ErrorGroup
Namespace
Google \ Cloud \ ErrorReporting \ V1beta1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
The group resource name. Written asprojects/{projectID}/groups/{group_id}orprojects/{projectID}/locations/{location}/groups/{group_id}Examples:projects/my-project-123/groups/my-group,projects/my-project-123/locations/us-central1/groups/my-groupIn the group resource name, thegroup_idis 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, seeGoogle Cloud Privacy Notice. For a list of supported locations, seeSupported Regions.globalis the default when unspecified.
↳ group_id
string
An opaque identifier of the group. This field is assigned by the Error Reporting system and always populated. In the group resource name, thegroup_idis 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, seeGoogle Cloud Privacy Notice.
Error group's resolution status. An unspecified resolution status will be interpreted as OPEN
getName
The group resource name.
Written asprojects/{projectID}/groups/{group_id}orprojects/{projectID}/locations/{location}/groups/{group_id}Examples:projects/my-project-123/groups/my-group,projects/my-project-123/locations/us-central1/groups/my-groupIn the group resource name, thegroup_idis 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, seeGoogle Cloud Privacy
Notice.
For a list of supported locations, seeSupported
Regions.globalis
the default when unspecified.
Returns
Type
Description
string
setName
The group resource name.
Written asprojects/{projectID}/groups/{group_id}orprojects/{projectID}/locations/{location}/groups/{group_id}Examples:projects/my-project-123/groups/my-group,projects/my-project-123/locations/us-central1/groups/my-groupIn the group resource name, thegroup_idis 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, seeGoogle Cloud Privacy
Notice.
For a list of supported locations, seeSupported
Regions.globalis
the default when unspecified.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getGroupId
An opaque identifier of the group. This field is assigned by the Error
Reporting system and always populated.
In the group resource name, thegroup_idis 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, seeGoogle Cloud Privacy
Notice.
Returns
Type
Description
string
setGroupId
An opaque identifier of the group. This field is assigned by the Error
Reporting system and always populated.
In the group resource name, thegroup_idis 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, seeGoogle Cloud Privacy
Notice.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Stackdriver Error Reporting V1beta1 Client - Class ErrorGroup (0.23.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.23.1 (latest)](/php/docs/reference/cloud-error-reporting/latest/V1beta1.ErrorGroup)\n- [0.23.0](/php/docs/reference/cloud-error-reporting/0.23.0/V1beta1.ErrorGroup)\n- [0.22.10](/php/docs/reference/cloud-error-reporting/0.22.10/V1beta1.ErrorGroup)\n- [0.21.1](/php/docs/reference/cloud-error-reporting/0.21.1/V1beta1.ErrorGroup)\n- [0.20.2](/php/docs/reference/cloud-error-reporting/0.20.2/V1beta1.ErrorGroup)\n- [0.19.12](/php/docs/reference/cloud-error-reporting/0.19.12/V1beta1.ErrorGroup) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Stackdriver Error Reporting V1beta1 Client class ErrorGroup.\n\nDescription of a group of similar error events.\n\nGenerated from protobuf message `google.devtools.clouderrorreporting.v1beta1.ErrorGroup`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ErrorReporting \\\\ V1beta1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nThe group resource name.\n\nWritten as `projects/{projectID}/groups/{group_id}` or\n`projects/{projectID}/locations/{location}/groups/{group_id}`\nExamples: `projects/my-project-123/groups/my-group`,\n`projects/my-project-123/locations/us-central1/groups/my-group`\nIn the group resource name, the `group_id` is a unique identifier for a\nparticular error group. The identifier is derived from key parts of the\nerror-log content and is treated as Service Data. For information about\nhow Service Data is handled, see [Google Cloud Privacy\nNotice](https://cloud.google.com/terms/cloud-privacy-notice).\nFor a list of supported locations, see [Supported\nRegions](https://cloud.google.com/logging/docs/region-support). `global` is\nthe default when unspecified.\n\n### setName\n\nThe group resource name.\n\nWritten as `projects/{projectID}/groups/{group_id}` or\n`projects/{projectID}/locations/{location}/groups/{group_id}`\nExamples: `projects/my-project-123/groups/my-group`,\n`projects/my-project-123/locations/us-central1/groups/my-group`\nIn the group resource name, the `group_id` is a unique identifier for a\nparticular error group. The identifier is derived from key parts of the\nerror-log content and is treated as Service Data. For information about\nhow Service Data is handled, see [Google Cloud Privacy\nNotice](https://cloud.google.com/terms/cloud-privacy-notice).\nFor a list of supported locations, see [Supported\nRegions](https://cloud.google.com/logging/docs/region-support). `global` is\nthe default when unspecified.\n\n### getGroupId\n\nAn opaque identifier of the group. This field is assigned by the Error\nReporting system and always populated.\n\nIn the group resource name, the `group_id` is a unique identifier for a\nparticular error group. The identifier is derived from key parts of the\nerror-log content and is treated as Service Data. For information about\nhow Service Data is handled, see [Google Cloud Privacy\nNotice](https://cloud.google.com/terms/cloud-privacy-notice).\n\n### setGroupId\n\nAn opaque identifier of the group. This field is assigned by the Error\nReporting system and always populated.\n\nIn the group resource name, the `group_id` is a unique identifier for a\nparticular error group. The identifier is derived from key parts of the\nerror-log content and is treated as Service Data. For information about\nhow Service Data is handled, see [Google Cloud Privacy\nNotice](https://cloud.google.com/terms/cloud-privacy-notice).\n\n### getTrackingIssues\n\nAssociated tracking issues.\n\n### setTrackingIssues\n\nAssociated tracking issues.\n\n### getResolutionStatus\n\nError group's resolution status.\n\nAn unspecified resolution status will be interpreted as OPEN\n\n### setResolutionStatus\n\nError group's resolution status.\n\nAn unspecified resolution status will be interpreted as OPEN"]]