Stackdriver Error Reporting V1beta1 Client - Class ErrorGroup (0.22.6)

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 \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The group resource name. Example: projects/my-project-123/groups/CNSgkpnppqKCUw

↳ group_id string

Group IDs are unique for a given project. If the same kind of error occurs in different service contexts, it will receive the same group ID.

↳ 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.

Example: projects/my-project-123/groups/CNSgkpnppqKCUw

Returns
Type Description
string

setName

The group resource name.

Example: projects/my-project-123/groups/CNSgkpnppqKCUw

Parameter
Name Description
var string
Returns
Type Description
$this

getGroupId

Group IDs are unique for a given project. If the same kind of error occurs in different service contexts, it will receive the same group ID.

Returns
Type Description
string

setGroupId

Group IDs are unique for a given project. If the same kind of error occurs in different service contexts, it will receive the same group ID.

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