Stackdriver Error Reporting V1beta1 Client - Class GetGroupRequest (0.25.1)

Reference documentation and code samples for the Stackdriver Error Reporting V1beta1 Client class GetGroupRequest.

A request to return an individual group.

Generated from protobuf message google.devtools.clouderrorreporting.v1beta1.GetGroupRequest

Namespace

Google \ Cloud \ ErrorReporting \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ group_name string

Required. The group resource name. Written as either projects/{projectID}/groups/{group_id} or projects/{projectID}/locations/{location}/groups/{group_id}. Call [groupStats.list] [google.devtools.clouderrorreporting.v1beta1.ErrorStatsService.ListGroupStats] to return a list of groups belonging to this project. Examples: projects/my-project-123/groups/my-group, projects/my-project-123/locations/global/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.

getGroupName

Required. The group resource name. Written as either projects/{projectID}/groups/{group_id} or projects/{projectID}/locations/{location}/groups/{group_id}. Call groupStats.list to return a list of groups belonging to this project.

Examples: projects/my-project-123/groups/my-group, projects/my-project-123/locations/global/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

setGroupName

Required. The group resource name. Written as either projects/{projectID}/groups/{group_id} or projects/{projectID}/locations/{location}/groups/{group_id}. Call groupStats.list to return a list of groups belonging to this project.

Examples: projects/my-project-123/groups/my-group, projects/my-project-123/locations/global/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

static::build

Parameter
Name Description
groupName string

Required. The group resource name. Written as either projects/{projectID}/groups/{group_id} or projects/{projectID}/locations/{location}/groups/{group_id}. Call groupStats.list to return a list of groups belonging to this project.

Examples: projects/my-project-123/groups/my-group, projects/my-project-123/locations/global/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. Please see ErrorGroupServiceClient::errorGroupName() for help formatting this field.

Returns
Type Description
GetGroupRequest

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.