Slides
Slides has 3 operations in gum's generated catalog. Start with search when you know the task, use describe to inspect request fields and scopes, then dispatch through the command that matches the operation risk class.
| Count | Value |
|---|---|
| Family | Workspace documents |
| Operations | 3 |
| Risk classes | 1 read, 2 write |
| Auth strategies | 3 byo_oauth |
Start here
gum search "slides"
gum describe slides.presentations.get
gum read slides.presentations.get --args '{"presentationId":"<presentationId>"}' --output jsonFor write-class operations, gum requires the write command and an explicit write gate:
gum describe slides.presentations.batchUpdate
gum write slides.presentations.batchUpdate --allow-write --args '{"presentationId":"<presentationId>"}'Auth
Auth strategies in this service: 3 byo_oauth. Authenticate the strategy used by the operation you plan to call.
Bring-your-own OAuth
- In Google Cloud, enable Google Slides API.
- Configure the OAuth consent screen. Add your Google account as a test user when the app is still in testing mode.
- Create an OAuth client ID with application type
Desktop app. - Add the scopes this service needs to the consent screen.
- Store the client in gum:
printf '%s' "$GOOGLE_OAUTH_CLIENT_SECRET" \
| gum auth use-oauth-client --client-id "$GOOGLE_OAUTH_CLIENT_ID" --secret-stdin- Authorize this service:
gum login --service slides- Verify the grant before dispatch:
gum auth status --scopes presentations,presentations.readonly
gum describe slides.presentations.getScopes used by these operations:
https://www.googleapis.com/auth/presentationshttps://www.googleapis.com/auth/presentations.readonly
Service setup notes: Slides auth guide.
Operations
| Operation | Risk | Auth | Summary |
|---|---|---|---|
slides.presentations.batchUpdate |
write |
byo_oauth |
Apply a batch of edit requests to a presentation (add slides, insert text/shapes/images, formatting). The core Slides editing op. |
slides.presentations.create |
write |
byo_oauth |
Create a new Google Slides presentation. |
slides.presentations.get |
read |
byo_oauth |
Fetch compact Slides presentation metadata and page summaries. Backs the slides_get convenience tool. |
Next
- Use API workflows for search, describe, invoke, and error handling.
- Use Auth guides for service-specific Google setup.
- Use Command index for CLI flags and generated help.
