v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1361531.3 KB
projects

Lists the specified groups.

get/v1beta1/{+projectName}/groupStats

Path parameters

projectNamestring required

Required. The resource name of the Google Cloud Platform project. Written as projects/{projectID} or projects/{projectNumber}, where {projectID} and {projectNumber} can be found in the Google Cloud console. It may also include a location, such as projects/{projectID}/locations/{location} where {location} is a cloud region. Examples: projects/my-project-123, projects/5551234, projects/my-project-123/locations/us-central1, projects/5551234/locations/us-central1. For a list of supported locations, see Supported Regions. global is the default when unspecified. Use - as a wildcard to request group stats from all regions.

Query parameters

alignment'ERROR_COUNT_ALIGNMENT_UNSPECIFIED' | 'ALIGNMENT_EQUAL_ROUNDED' | 'ALIGNMENT_EQUAL_AT_END'

Optional. The alignment of the timed counts to be returned. Default is ALIGNMENT_EQUAL_AT_END.

alignmentTimestring

Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC.

groupIdstring[]

Optional. List all ErrorGroupStats with these IDs. 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] (https://cloud.google.com/terms/cloud-privacy-notice).

order'GROUP_ORDER_UNSPECIFIED' | 'COUNT_DESC' | 'LAST_SEEN_DESC' | 'CREATED_DESC' | 'AFFECTED_USERS_DESC'

Optional. The sort order in which the results are returned. Default is COUNT_DESC.

pageSizeinteger

Optional. The maximum number of results to return per response. Default is 20.

pageTokenstring

Optional. A next_page_token provided by a previous response. To view additional results, pass this token along with the identical query parameters as the first request.

serviceFilter.resourceTypestring

Optional. The exact value to match against ServiceContext.resource_type.

serviceFilter.servicestring

Optional. The exact value to match against ServiceContext.service.

serviceFilter.versionstring

Optional. The exact value to match against ServiceContext.version.

timeRange.period'PERIOD_UNSPECIFIED' | 'PERIOD_1_HOUR' | 'PERIOD_6_HOURS' | 'PERIOD_1_DAY' | 'PERIOD_1_WEEK' | 'PERIOD_30_DAYS'

Restricts the query to the specified time range.

timedCountDurationstring

Optional. The preferred duration for a single returned TimedCount. If not set, no timed counts are returned.

Response

Successful response