Skip to main content

Gcp/clouderrorreporting

@swamp/gcp/clouderrorreportingv2026.10.13.1· 1d agoBEHAVIORS
01README

Google Cloud clouderrorreporting infrastructure models

02Release Notes
  • Updated: events, groupstats, groups
03Behaviors3
@swamp/gcp/clouderrorreporting/eventsv2026.10.13.1events.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
projectNamestringRequired. The resource name of the Google Cloud Platform project. Written as `projects/{projectID}` or `projects/{projectID}/locations/{location}`, where `{projectID}` is the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840) and `{location}` is a Cloud region. Examples: `projects/my-project-123`, `projects/my-project-123/locations/global`. For a list of supported locations, see [Supported Regions](https://cloud.google.com/logging/docs/region-support). `global` i
fn get(identifier: string)
Get a events
ArgumentTypeDescription
identifierstringThe name of the events
fn sync(identifier?: string)
Sync events state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific events by name (e.g. one discovered by list)
fn list(groupId?: string, pageSize?: number, serviceFilter_resourceType?: string, serviceFilter_service?: string, serviceFilter_version?: string, timeRange_period?: string, maxPages?: number)
List events resources
ArgumentTypeDescription
groupId?stringRequired. The group for which events shall be returned. 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).
pageSize?numberOptional. The maximum number of results to return per response.
serviceFilter_resourceType?stringOptional. The exact value to match against [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
serviceFilter_service?stringOptional. The exact value to match against [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
serviceFilter_version?stringOptional. The exact value to match against [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
timeRange_period?stringRestricts the query to the specified time range.
maxPages?numberMaximum number of pages to fetch (default: 10)
fn report(context?: any, eventTime?: any, message?: any, serviceContext?: any)
report
ArgumentTypeDescription
context?any
eventTime?any
message?any
serviceContext?any

Resources

state(infinite)— An error event which is returned by the Error Reporting system.
@swamp/gcp/clouderrorreporting/groupsv2026.10.13.1groups.ts

Global Arguments

ArgumentTypeDescription
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
groupId?stringAn opaque identifier of the group. This field is assigned by the Error Reporting system and always populated. 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](https://cloud.google.com/terms/cloud-privacy-notice).
name?stringThe group resource name. Written as `projects/{projectID}/groups/{group_id}` or `projects/{projectID}/locations/{location}/groups/{group_id}` Examples: `projects/my-project-123/groups/my-group`, `projects/my-project-123/locations/us-central1/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 handl
resolutionStatus?enumError group's resolution status. An unspecified resolution status will be interpreted as OPEN
trackingIssues?arrayAssociated tracking issues.
fn get(identifier: string)
Get a groups
ArgumentTypeDescription
identifierstringThe name of the groups
fn update(identifier?: string)
Update groups attributes
ArgumentTypeDescription
identifier?stringTarget a specific groups by name (e.g. one discovered by list)
fn sync(identifier?: string)
Sync groups state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific groups by name (e.g. one discovered by list)

Resources

state(infinite)— Description of a group of similar error events.
@swamp/gcp/clouderrorreporting/groupstatsv2026.10.13.1groupstats.ts

Global Arguments

ArgumentTypeDescription
namestringInstance name for this resource (used as the unique identifier in the factory pattern)
accessToken?stringGCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault.
credentialsJson?stringGCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault.
project?stringGCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables.
scopes?stringComma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes.
quotaProject?stringGCP project ID for quota and billing attribution; sets the x-goog-user-project header. Overrides GOOGLE_CLOUD_QUOTA_PROJECT environment variable. Required for APIs like Cloud Identity when using user credentials.
apiEndpoint?stringCustom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL.
projectNamestringRequired. 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](https://support.google.com/cloud/answer/6158840). 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`, `proje
fn get(identifier: string)
Get a groupStats
ArgumentTypeDescription
identifierstringThe name of the groupStats
fn sync(identifier?: string)
Sync groupStats state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific groupStats by name (e.g. one discovered by list)
fn list(alignment?: string, alignmentTime?: string, groupId?: string, order?: string, pageSize?: number, serviceFilter_resourceType?: string, serviceFilter_service?: string, serviceFilter_version?: string, timeRange_period?: string, timedCountDuration?: string, maxPages?: number)
List groupStats resources
ArgumentTypeDescription
alignment?stringOptional. The alignment of the timed counts to be returned. Default is `ALIGNMENT_EQUAL_AT_END`.
alignmentTime?stringOptional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC.
groupId?stringOptional. 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?stringOptional. The sort order in which the results are returned. Default is `COUNT_DESC`.
pageSize?numberOptional. The maximum number of results to return per response. Default is 20.
serviceFilter_resourceType?stringOptional. The exact value to match against [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
serviceFilter_service?stringOptional. The exact value to match against [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
serviceFilter_version?stringOptional. The exact value to match against [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
timeRange_period?stringRestricts the query to the specified time range.
timedCountDuration?stringOptional. The preferred duration for a single returned TimedCount. If not set, no timed counts are returned.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— Data extracted for a specific group based on certain filter criteria, such as...
04Previous Versions19
2026.10.06.1
  • Updated: groups
2026.08.12.2
  • Updated: events, groupstats, groups
2026.07.29.1
  • Updated: events, groupstats, groups
2026.07.21.2
  • Updated: events, groupstats, groups
2026.07.20.1
  • Updated: events, groupstats, groups
2026.07.19.2
  • Updated: events, groupstats
2026.07.19.1
  • Updated: events, groupstats, groups
2026.07.18.2
  • Updated: events, groupstats, groups
2026.07.17.1
  • Updated: groups
2026.06.08.2
  • Updated: events, groupstats, groups
2026.06.07.1
  • Updated: events, groupstats, groups
2026.05.25.1
  • Updated: events, groupstats, groups

Modified 2 behaviors

2026.05.24.1
  • Updated: events, groupstats, groups
2026.05.21.2
  • Updated: events, groupstats, groups
2026.05.21.1
2026.05.19.2
2026.05.19.1
2026.04.23.1
2026.04.03.3
  • Updated: events, groupstats, groups
05Stats
A
93 / 100
Downloads
17
Archive size
30.9 KB
Verified by Swamp
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License1/2partial

    no SPDX license declared

  • Verified public repository2/2earned
06Platforms
07Labels