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 message google.devtools.clouderrorreporting.v1beta1.ErrorGroup
Namespace
Google \ Cloud \ ErrorReporting \ V1beta1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
The group resource name. Written as |
↳ 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, the |
↳ tracking_issues |
array<Google\Cloud\ErrorReporting\V1beta1\TrackingIssue>
Associated tracking issues. |
↳ resolution_status |
int
Error group's resolution status. An unspecified resolution status will be interpreted as OPEN |
getName
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.
Returns | |
---|---|
Type | Description |
string |
setName
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.
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, 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.
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, 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.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getTrackingIssues
Associated tracking issues.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setTrackingIssues
Associated tracking issues.
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\ErrorReporting\V1beta1\TrackingIssue>
|
Returns | |
---|---|
Type | Description |
$this |
getResolutionStatus
Error group's resolution status.
An unspecified resolution status will be interpreted as OPEN
Returns | |
---|---|
Type | Description |
int |
setResolutionStatus
Error group's resolution status.
An unspecified resolution status will be interpreted as OPEN
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |