Gcp/docs
@swamp/gcp/docsv2026.07.21.3
01README
Google Cloud docs infrastructure models
02Release Notes
- Updated: documents
03Models
@swamp/gcp/docs/documentsv2026.07.21.3documents.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. |
| tabs? | array | Tabs that are part of a document. Tabs can contain child tabs, a tab nested within another tab. Child tabs are represented by the Tab.childTabs field. |
| title? | string | The title of the document. |
fn create()
Create a documents
fn get(identifier: string)
Get a documents
| Argument | Type | Description |
|---|---|---|
| identifier | string | The name of the documents |
fn sync(identifier?: string)
Sync documents state from GCP
| Argument | Type | Description |
|---|---|---|
| identifier? | string | Target a specific documents by name (e.g. one discovered by list) |
fn batch_update(requests?: any, writeControl?: any)
batch update
| Argument | Type | Description |
|---|---|---|
| requests? | any | |
| writeControl? | any |
Resources
state(infinite)— A Google Docs document.
04Previous Versions
2026.07.21.1
- Updated: documents
2026.07.20.1
- Updated: documents
2026.07.19.1
- Updated: documents
2026.07.18.1
- Updated: documents
2026.06.08.2
- Updated: documents
2026.06.07.1
- Updated: documents
2026.05.27.1
- Updated: documents
2026.05.25.1
- Updated: documents
2026.05.24.1
- Updated: documents
2026.05.21.2
- Updated: documents
2026.05.21.1
2026.05.19.2
2026.05.19.1
2026.04.23.1
2026.04.04.1
- Updated: documents
05Stats
A
100 / 100
Downloads
4
Archive size
32.0 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
- License declared1/1earned
- Verified public repository2/2earned
06Platforms
07Labels