Gcp/alertcenter
@swamp/gcp/alertcenterv2026.10.23.1
01README
Google Cloud alertcenter infrastructure models
02Release Notes
- Updated: alerts, alerts_feedback
03Behaviors
@swamp/gcp/alertcenter/alertsv2026.10.23.1alerts.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. |
fn get(identifier: string)
Get a alerts
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the alerts |
fn delete(identifier: string)
Delete the alerts
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the alerts |
fn sync(identifier?: string)
Sync alerts state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific alerts by name (e.g. one discovered by list) |
fn list(customerId?: string, filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List alerts resources
| Argument | Type | Description |
|---|---|---|
| customerId? | string | Optional. The unique identifier of the Google Workspace account of the customer the alerts are associated with. The `customer_id` must have the initial "C" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793). |
| filter? | string | Optional. A query string for filtering alert results. For more details, see [Query filters](https://developers.google.com/workspace/admin/alertcenter/guides/query-filters) and [Supported query filter fields](https://developers.google.com/workspace/admin/alertcenter/reference/filter-fields#alerts.list). |
| orderBy? | string | Optional. The sort order of the list results. If not specified results may be returned in arbitrary order. You can sort the results in descending order based on the creation timestamp using `order_by="create_time desc"`. Currently, supported sorting are `create_time asc`, `create_time desc`, `update_time desc` |
| pageSize? | number | Optional. The requested page size. Server may return fewer items than requested. If unspecified, server picks an appropriate default. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn batch_delete(alertId?: any, customerId?: any)
batch delete
| Argument | Type | Description |
|---|---|---|
| alertId? | any | |
| customerId? | any |
fn batch_undelete(alertId?: any, customerId?: any)
batch undelete
| Argument | Type | Description |
|---|---|---|
| alertId? | any | |
| customerId? | any |
fn get_metadata(customerId?: any)
get metadata
| Argument | Type | Description |
|---|---|---|
| customerId? | any |
fn undelete(customerId?: any)
undelete
| Argument | Type | Description |
|---|---|---|
| customerId? | any |
Resources
state(infinite)— An alert affecting a customer.
@swamp/gcp/alertcenter/alerts-feedbackv2026.10.23.1alerts_feedback.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. |
| alertId? | string | Output only. The alert identifier. |
| type? | enum | Required. The type of the feedback. |
fn create()
Create a feedback
fn get(identifier: string)
Get a feedback
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the feedback |
fn sync(identifier?: string)
Sync feedback state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific feedback by name (e.g. one discovered by list) |
fn list(customerId?: string, filter?: string, maxPages?: number)
List feedback resources
| Argument | Type | Description |
|---|---|---|
| customerId? | string | Optional. The unique identifier of the Google Workspace account of the customer the alert is associated with. The `customer_id` must have the initial "C" stripped (for example, `046psxkn`). Inferred from the caller identity if not provided. [Find your customer ID](https://support.google.com/cloudidentity/answer/10070793). |
| filter? | string | Optional. A query string for filtering alert feedback results. For more details, see [Query filters](https://developers.google.com/workspace/admin/alertcenter/guides/query-filters) and [Supported query filter fields](https://developers.google.com/workspace/admin/alertcenter/reference/filter-fields#alerts.feedback.list). |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
Resources
state(infinite)— A customer feedback about an alert.
04Previous Versions
2026.10.13.1
- Updated: alerts, alerts_feedback
2026.10.06.1
- Updated: alerts
2026.09.07.1
- Updated: alerts
2026.08.12.2
- Updated: alerts, alerts_feedback
2026.07.29.1
- Updated: alerts, alerts_feedback
2026.07.21.3
- Updated: alerts, alerts_feedback
2026.07.21.1
- Updated: alerts_feedback
2026.07.20.1
- Updated: alerts, alerts_feedback
2026.07.19.1
- Updated: alerts, alerts_feedback
2026.07.18.1
- Updated: alerts, alerts_feedback
2026.06.08.2
- Updated: alerts, alerts_feedback
2026.06.07.1
- Updated: alerts, alerts_feedback
2026.05.25.2
- Updated: alerts
Modified 2 behaviors
2026.05.24.1
- Updated: alerts, alerts_feedback
2026.05.21.2
- Updated: alerts, alerts_feedback
2026.05.21.1
2026.05.19.2
2026.05.19.1
2026.04.23.1
05Stats
A
100 / 100
Downloads
35
Archive size
27.1 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
- Docs keep secrets in a vault1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository2/2earned
06Platforms
07Labels