Reference documentation and code samples for the Stackdriver Error Reporting V1beta1 Client class GetGroupRequest.
A request to return an individual group.
Generated from protobuf messagegoogle.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 eitherprojects/{projectID}/groups/{group_id}orprojects/{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-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.
getGroupName
Required. The group resource name. Written as eitherprojects/{projectID}/groups/{group_id}orprojects/{projectID}/locations/{location}/groups/{group_id}. CallgroupStats.listto 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-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
setGroupName
Required. The group resource name. Written as eitherprojects/{projectID}/groups/{group_id}orprojects/{projectID}/locations/{location}/groups/{group_id}. CallgroupStats.listto 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-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
static::build
Parameter
Name
Description
groupName
string
Required. The group resource name. Written as eitherprojects/{projectID}/groups/{group_id}orprojects/{projectID}/locations/{location}/groups/{group_id}. CallgroupStats.listto return a list of groups belonging to this project.
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 GetGroupRequest (0.23.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.23.1 (latest)](/php/docs/reference/cloud-error-reporting/latest/V1beta1.GetGroupRequest)\n- [0.23.0](/php/docs/reference/cloud-error-reporting/0.23.0/V1beta1.GetGroupRequest)\n- [0.22.10](/php/docs/reference/cloud-error-reporting/0.22.10/V1beta1.GetGroupRequest)\n- [0.21.1](/php/docs/reference/cloud-error-reporting/0.21.1/V1beta1.GetGroupRequest)\n- [0.20.2](/php/docs/reference/cloud-error-reporting/0.20.2/V1beta1.GetGroupRequest)\n- [0.19.12](/php/docs/reference/cloud-error-reporting/0.19.12/V1beta1.GetGroupRequest) \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 GetGroupRequest.\n\nA request to return an individual group.\n\nGenerated from protobuf message `google.devtools.clouderrorreporting.v1beta1.GetGroupRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ErrorReporting \\\\ V1beta1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getGroupName\n\nRequired. The group resource name. Written as either\n`projects/{projectID}/groups/{group_id}` or\n`projects/{projectID}/locations/{location}/groups/{group_id}`. Call\n[groupStats.list](/php/docs/reference/cloud-error-reporting/latest/V1beta1.ErrorStatsServiceClient#_Google_Cloud_ErrorReporting_V1beta1_ErrorStatsServiceClient__listGroupStats__)\nto return a list of groups belonging to this project.\n\nExamples: `projects/my-project-123/groups/my-group`,\n`projects/my-project-123/locations/global/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### setGroupName\n\nRequired. The group resource name. Written as either\n`projects/{projectID}/groups/{group_id}` or\n`projects/{projectID}/locations/{location}/groups/{group_id}`. Call\n[groupStats.list](/php/docs/reference/cloud-error-reporting/latest/V1beta1.ErrorStatsServiceClient#_Google_Cloud_ErrorReporting_V1beta1_ErrorStatsServiceClient__listGroupStats__)\nto return a list of groups belonging to this project.\n\nExamples: `projects/my-project-123/groups/my-group`,\n`projects/my-project-123/locations/global/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### static::build"]]