Gcp/accessapproval
@swamp/gcp/accessapprovalv2026.10.23.1
01README
Google Cloud accessapproval infrastructure models
02Release Notes
- Updated: approvalrequests
03Behaviors
@swamp/gcp/accessapproval/approvalrequestsv2026.10.23.1approvalrequests.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. |
| parent? | string | The parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456) |
fn get(identifier: string)
Get a approvalRequests
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the approvalRequests |
fn sync(identifier?: string)
Sync approvalRequests state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific approvalRequests by name (e.g. one discovered by list) |
fn list(filter?: string, pageSize?: number, maxPages?: number)
List approvalRequests resources
| Argument | Type | Description |
|---|---|---|
| filter? | string | A filter on the type of approval requests to retrieve. Must be one of the following values: * [not set]: Requests that are pending or have active approvals. * ALL: All requests. * PENDING: Only pending requests. * ACTIVE: Only active (i.e. currently approved) requests. * DISMISSED: Only requests that have been dismissed, or requests that are not approved and past expiration. * EXPIRED: Only requests that have been approved, and the approval has expired. * HISTORY: Active, dismissed and expired r |
| pageSize? | number | Requested page size. |
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
fn approve(expireTime?: any)
approve
| Argument | Type | Description |
|---|---|---|
| expireTime? | any |
fn dismiss()
dismiss
fn invalidate()
invalidate
Resources
state(infinite)— A request for the customer to approve access to a resource.
04Previous Versions
2026.10.13.1
- Updated: approvalrequests
2026.08.12.2
- Updated: approvalrequests
2026.07.29.1
- Updated: approvalrequests
2026.07.21.2
- Updated: approvalrequests
2026.07.20.1
- Updated: approvalrequests
2026.07.19.1
- Updated: approvalrequests
2026.07.18.2
- Updated: approvalrequests
2026.07.17.1
- Updated: approvalrequests
2026.06.08.2
- Updated: approvalrequests
2026.06.07.1
- Updated: approvalrequests
2026.05.25.1
- Updated: approvalrequests
Modified 1 behaviors
2026.05.24.1
- Updated: approvalrequests
2026.05.21.2
- Updated: approvalrequests
2026.05.21.1
2026.05.19.2
2026.05.19.1
2026.04.23.1
2026.04.03.3
- Updated: approvalrequests
2026.04.03.1
- Updated: approvalrequests
05Stats
A
100 / 100
Downloads
43
Archive size
19.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
- 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