Skip to main content

Gcp/slides

@swamp/gcp/slidesv2026.08.12.2· 11d agoMODELS
01README

Google Cloud slides infrastructure models

02Release Notes
  • Updated: presentations, presentations_pages
03Models2
@swamp/gcp/slides/presentationsv2026.08.12.2presentations.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.
layouts?arrayThe layouts in the presentation. A layout is a template that determines how content is arranged and styled on the slides that inherit from that layout.
locale?stringThe locale of the presentation, as an IETF BCP 47 language tag.
masters?arrayThe slide masters in the presentation. A slide master contains all common page elements and the common properties for a set of layouts. They serve three purposes: - Placeholder shapes on a master contain the default text styles and shape properties of all placeholder shapes on pages that use that master. - The master page properties define the common page properties inherited by its layouts. - Any other shapes on the master slide appear on all slides using that master, regardless of their layout
notesMaster?objectThe notes master in the presentation. It serves three purposes: - Placeholder shapes on a notes master contain the default text styles and shape properties of all placeholder shapes on notes pages. Specifically, a `SLIDE_IMAGE` placeholder shape contains the slide thumbnail, and a `BODY` placeholder shape contains the speaker notes. - The notes master page properties define the common page properties inherited by all notes pages. - Any other shapes on the notes master appear on all notes pages.
pageSize?objectThe size of pages in the presentation.
presentationId?stringThe ID of the presentation.
slides?arrayThe slides in the presentation. A slide inherits properties from a slide layout.
title?stringThe title of the presentation.
fn create()
Create a presentations
fn get(identifier: string)
Get a presentations
ArgumentTypeDescription
identifierstringThe name of the presentations
fn sync(identifier?: string)
Sync presentations state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific presentations by name (e.g. one discovered by list)
fn batch_update(requests?: any, writeControl?: any)
batch update
ArgumentTypeDescription
requests?any
writeControl?any

Resources

state(infinite)— A Google Slides presentation.
@swamp/gcp/slides/presentations-pagesv2026.08.12.2presentations_pages.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.
presentationIdstringThe ID of the presentation to retrieve.
fn get(identifier: string)
Get a pages
ArgumentTypeDescription
identifierstringThe name of the pages
fn sync(identifier?: string)
Sync pages state from GCP
ArgumentTypeDescription
identifier?stringTarget a specific pages by name (e.g. one discovered by list)
fn get_thumbnail()
get thumbnail

Resources

state(infinite)— A page in a presentation.
04Previous Versions18
2026.07.29.1
  • Updated: presentations, presentations_pages
2026.07.21.3
  • Updated: presentations, presentations_pages
2026.07.21.1
  • Updated: presentations
2026.07.20.1
  • Updated: presentations, presentations_pages
2026.07.19.2
  • Updated: presentations_pages
2026.07.19.1
  • Updated: presentations, presentations_pages
2026.07.18.1
  • Updated: presentations, presentations_pages

Added 2, removed 1 models

2026.06.08.2
  • Updated: presentations, presentations_pages
2026.06.07.1
  • Updated: presentations, presentations_pages
2026.05.27.1
  • Updated: presentations, presentations_pages
2026.05.25.1
  • Updated: presentations, presentations_pages
2026.05.24.1
  • Updated: presentations, presentations_pages
2026.05.21.2
  • Updated: presentations, presentations_pages
2026.05.21.1
2026.05.19.2
2026.05.19.1
2026.04.23.1
2026.04.04.1
  • Updated: presentations, presentations_pages
05Stats
A
100 / 100
Downloads
0
Archive size
79.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