Gcp/clouderrorreporting
@swamp/gcp/clouderrorreportingv2026.10.13.1
01README
Google Cloud clouderrorreporting infrastructure models
02Release Notes
- Updated: events, groupstats, groups
03Behaviors
@swamp/gcp/clouderrorreporting/eventsv2026.10.13.1events.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP 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? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| projectName | string | Required. 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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the events |
fn sync(identifier?: string)
Sync events state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target 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
| Argument | Type | Description |
|---|---|---|
| groupId? | string | Required. 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? | number | Optional. The maximum number of results to return per response. |
| serviceFilter_resourceType? | string | Optional. The exact value to match against [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). |
| serviceFilter_service? | string | Optional. The exact value to match against [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). |
| serviceFilter_version? | string | Optional. The exact value to match against [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). |
| timeRange_period? | string | Restricts the query to the specified time range. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn report(context?: any, eventTime?: any, message?: any, serviceContext?: any)
report
| Argument | Type | Description |
|---|---|---|
| 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
| Argument | Type | Description |
|---|---|---|
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP 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? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| groupId? | string | An 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? | string | The 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? | enum | Error group's resolution status. An unspecified resolution status will be interpreted as OPEN |
| trackingIssues? | array | Associated tracking issues. |
fn get(identifier: string)
Get a groups
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the groups |
fn update(identifier?: string)
Update groups attributes
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific groups by name (e.g. one discovered by list) |
fn sync(identifier?: string)
Sync groups state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target 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
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessToken? | string | GCP OAuth2 access token; overrides GCP_ACCESS_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| credentialsJson? | string | GCP service account JSON credentials; overrides GOOGLE_APPLICATION_CREDENTIALS_JSON environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| project? | string | GCP project ID; overrides GCP_PROJECT / GOOGLE_CLOUD_PROJECT environment variables. |
| scopes? | string | Comma-separated OAuth scopes to request when minting access tokens via gcloud. Defaults to the API's Discovery Document scopes. |
| quotaProject? | string | GCP 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? | string | Custom API endpoint for emulators; overrides GCP_API_ENDPOINT environment variable. Defaults to the service's production URL. |
| projectName | string | 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](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
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the groupStats |
fn sync(identifier?: string)
Sync groupStats state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target 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
| Argument | Type | Description |
|---|---|---|
| alignment? | string | Optional. The alignment of the timed counts to be returned. Default is `ALIGNMENT_EQUAL_AT_END`. |
| alignmentTime? | string | Optional. Time where the timed counts shall be aligned if rounded alignment is chosen. Default is 00:00 UTC. |
| groupId? | string | 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? | string | Optional. The sort order in which the results are returned. Default is `COUNT_DESC`. |
| pageSize? | number | Optional. The maximum number of results to return per response. Default is 20. |
| serviceFilter_resourceType? | string | Optional. The exact value to match against [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type). |
| serviceFilter_service? | string | Optional. The exact value to match against [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service). |
| serviceFilter_version? | string | Optional. The exact value to match against [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version). |
| timeRange_period? | string | Restricts the query to the specified time range. |
| timedCountDuration? | string | Optional. The preferred duration for a single returned TimedCount. If not set, no timed counts are returned. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— Data extracted for a specific group based on certain filter criteria, such as...
04Previous Versions
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