Skip to main content

Gcp/deepreview

@swamp/gcp/deepreviewv2026.10.23.1· AGPL-3.0-or-later· 3d agoBEHAVIORS
01README

Google Cloud deepreview infrastructure models

02Release Notes
  • Updated: documents, documents_reviews
03Behaviors2
@swamp/gcp/deepreview/documentsv2026.10.23.1documents.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.
fn get(identifier: string)
Get a documents
ArgumentTypeDescription
identifierstringThe name of the documents
fn delete(identifier: string)
Delete the documents
ArgumentTypeDescription
identifierstringThe name of the documents
fn sync(identifier?: string)
Sync documents state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific documents by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List documents resources
ArgumentTypeDescription
filter?stringOptional. Supported AIP-160 filter expressions (e.g., `display_name = "..."`).
orderBy?stringOptional. Supported AIP-132 order_by field.
pageSize?numberOptional. The maximum number of documents to return in a single page. The server may return fewer than this value. If unspecified, at most 50 documents will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— Document Resource Model representing an uploaded document for review. Documen...
@swamp/gcp/deepreview/documents-reviewsv2026.10.23.1documents_reviews.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.
name?stringIdentifier. Resource name in format `documents/{document}/reviews/{review}`.
runConfig?objectOptional. Run configuration parameters used for this review.
requestId?stringOptional. Idempotency identifier for network retry safety (AIP-155). Must be a valid UUID4 string.
reviewId?stringOptional. The ID to use for the review, which will become the final component of the review's resource name. If not provided, a unique server-generated UUID will be assigned.
parent?stringThe parent resource name (e.g., projects/my-project/locations/us-central1, organizations/123, folders/456)
fn create(waitForReady?: boolean)
Create a reviews
ArgumentTypeDescription
waitForReady?booleanWait for the resource to reach a ready state after creation (default: true)
fn get(identifier: string)
Get a reviews
ArgumentTypeDescription
identifierstringThe name of the reviews
fn sync(identifier?: string)
Sync reviews state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific reviews by name (e.g. one discovered by list)
fn list(filter?: string, orderBy?: string, pageSize?: number, maxPages?: number)
List reviews resources
ArgumentTypeDescription
filter?stringOptional. Supported AIP-160 filter expressions.
orderBy?stringOptional. Supported AIP-132 order_by field.
pageSize?numberOptional. The maximum number of reviews to return in a single page. The server may return fewer than this value. If unspecified, at most 50 reviews will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
maxPages?numberMaximum number of pages to fetch (default: 10)

Resources

state(infinite)— Review Sub-Resource Model representing an evaluation run of a document.
04Previous Versions1
2026.10.20.1AGPL-3.0-or-later
  • Added: documents, documents_reviews
05Stats
A
100 / 100
Downloads
4
Archive size
24.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
  • 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