Stackdriver Error Reporting V1beta1 Client - Class ErrorGroup (0.22.0)

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
NameDescription
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
TypeDescription
string

setName

The group resource name.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getTrackingIssues

Associated tracking issues.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTrackingIssues

Associated tracking issues.

Parameter
NameDescription
var array<Google\Cloud\ErrorReporting\V1beta1\TrackingIssue>
Returns
TypeDescription
$this

getResolutionStatus

Error group's resolution status.

An unspecified resolution status will be interpreted as OPEN

Returns
TypeDescription
int

setResolutionStatus

Error group's resolution status.

An unspecified resolution status will be interpreted as OPEN

Parameter
NameDescription
var int
Returns
TypeDescription
$this