- Reference
- reference/generated-command-reference
Reference
reference/generated-command-reference
Command Reference
Generated from gog schema --json.
gog <command> [flags]- Google CLI for Gmail/Calendar/Chat/Classroom/Drive/Contacts/Tasks/Sheets/Docs/Slides/People/Forms/Meet/App Script/Analytics/Search Console/Groups/Admin/Keep/YouTube/Maps/Photosgog admin <command> [flags]- Google Workspace Admin (Directory API) - requires domain-wide delegationgog admin groups <command>- Manage Workspace groupsgog admin groups list (ls) [flags]- List groups in a domaingog admin groups members <command>- Manage group membersgog admin groups members add (invite) <groupEmail> <memberEmail> [flags]- Add a member to a groupgog admin groups members list (ls) <groupEmail> [flags]- List group membersgog admin groups members remove (rm,del,delete) <groupEmail> <memberEmail>- Remove a member from a group
gog admin orgunits (org-units,ou) <command>- Manage Workspace organizational unitsgog admin orgunits (org-units,ou) create (add,new) <name> [flags]- Create an organizational unitgog admin orgunits (org-units,ou) delete (rm,del,remove) <path>- Delete an organizational unitgog admin orgunits (org-units,ou) get (info,show) <path>- Get organizational unit detailsgog admin orgunits (org-units,ou) list (ls) [flags]- List organizational unitsgog admin orgunits (org-units,ou) update (edit,set) <path> [flags]- Update an organizational unit
gog admin users <command>- Manage Workspace usersgog admin users create (add,new) <email> [flags]- Create a new usergog admin users delete (rm,del,remove) <userEmail>- Delete a user accountgog admin users get (info,show) <userEmail>- Get user detailsgog admin users list (ls) [flags]- List users in a domaingog admin users suspend <userEmail>- Suspend a user account
gog analytics (ga) <command> [flags]- Google Analyticsgog analytics (ga) accounts (list,ls) [flags]- List GA4 account summariesgog analytics (ga) report <property> [flags]- Run a GA4 report (Analytics Data API)
gog api <command> [flags]- Google Discovery APIs and generic method callsgog api call <api> <version> <method> [flags]- Call a Discovery-described API methodgog api describe <api> <version> [<method>]- Describe a Discovery API or methodgog api list [flags]- List Google Discovery APIs
gog appscript (script,apps-script) <command> [flags]- Google Apps Scriptgog appscript (script,apps-script) content (cat) <scriptId>- Get Apps Script project contentgog appscript (script,apps-script) create (new) --title=STRING [flags]- Create an Apps Script projectgog appscript (script,apps-script) get (info,show) <scriptId>- Get Apps Script project metadatagog appscript (script,apps-script) run <scriptId> <function> [flags]- Run a deployed Apps Script function
gog auth <command> [flags]- Auth and credentialsgog auth add <email> [flags]- Authorize and store a refresh tokengog auth alias <command>- Manage account aliasesgog auth alias list- List account aliasesgog auth alias set <alias> <email>- Set an account aliasgog auth alias unset <alias>- Remove an account alias
gog auth credentials <command>- Manage OAuth client credentialsgog auth credentials list- List stored OAuth client credentialsgog auth credentials remove [<client>]- Remove stored OAuth client credentialsgog auth credentials set <credentials> [flags]- Store OAuth client credentials
gog auth doctor [flags]- Diagnose auth, keyring, and refresh-token issuesgog auth import --email=STRING [flags]- Import a required refresh token and optional current access token non-interactivelygog auth keep --key=STRING <email>- Configure service account for Google Keep (Workspace only)gog auth keyring [<backend> [<backend2>]]- Configure keyring backendgog auth list [flags]- List stored accountsgog auth manage (login) [flags]- Open interactive accounts manager in browsergog auth remove <email>- Remove a stored refresh tokengog auth service-account <command>- Configure service account (Workspace only; domain-wide delegation)gog auth service-account set <email> [flags]- Store a service account key for impersonationgog auth service-account status <email>- Show stored service account key statusgog auth service-account unset <email>- Remove stored service account key
gog auth services [flags]- List supported auth services and scopesgog auth setup [<email>] [flags]- Guide Google Cloud, OAuth client, and account setupgog auth status- Show auth configuration and keyring backendgog auth tokens <command>- Manage stored refresh tokensgog auth tokens delete <email>- Delete a stored refresh tokengog auth tokens export <email> [flags]- Export a refresh token to a file (contains secrets)gog auth tokens import <inPath>- Import a refresh token file into keyring (contains secrets)gog auth tokens list- List stored tokens (by key only)
gog backup <command> [flags]- Encrypted Google account backupsgog backup cat <shard> [flags]- Decrypt one backup shard to stdoutgog backup export [flags]- Write a local plaintext exportgog backup gmail <command>- Gmail backup operationsgog backup gmail push [flags]- Export Gmail into encrypted backup shards
gog backup init [flags]- Initialize encrypted backup config and repositorygog backup push [flags]- Export services into encrypted backup shardsgog backup status [flags]- Inspect backup manifest without decrypting shardsgog backup verify [flags]- Decrypt and verify all backup shards
gog batch <command> [flags]- Build and submit persisted Google Docs request batchesgog batch abort (rm,delete) <batchId>- Delete a request batch without submittinggog batch begin --doc=STRING [flags]- Begin a persisted request batchgog batch end (submit) <batchId> [flags]- Submit and remove a request batchgog batch list (ls)- List persisted request batchesgog batch prune [flags]- Delete stale request batchesgog batch show <batchId>- Show a persisted request batch
gog calendar (cal) <command> [flags]- Google Calendargog calendar (cal) acl (permissions,perms) <calendarId> [flags]- List calendar ACLgog calendar (cal) alias <command>- Manage calendar aliasesgog calendar (cal) alias list- List calendar aliasesgog calendar (cal) alias set <alias> <calendarId>- Set a calendar aliasgog calendar (cal) alias unset <alias>- Remove a calendar alias
gog calendar (cal) calendars [flags]- List calendarsgog calendar (cal) colors- Show calendar colorsgog calendar (cal) conflicts [flags]- Find busy-time overlaps across calendarsgog calendar (cal) create (add,new) <calendarId> [flags]- Create an eventgog calendar (cal) create-calendar (new-calendar) <summary> [flags]- Create a new secondary calendargog calendar (cal) delete (rm,del,remove) <calendarId> <eventId> [flags]- Delete an eventgog calendar (cal) delete-calendar <calendarId>- Delete an owned secondary calendargog calendar (cal) event (get,info,show) <calendarId> <eventId>- Get eventgog calendar (cal) events (list,ls) [<calendarId> ...] [flags]- List events from a calendar or all calendarsgog calendar (cal) focus-time (focus) --from=STRING --to=STRING [<calendarId>] [flags]- Create a Focus Time blockgog calendar (cal) freebusy [<calendarIds>] [flags]- Get free/busygog calendar (cal) move (transfer) <calendarId> <eventId> <destinationCalendarId> [flags]- Move an event to another calendargog calendar (cal) out-of-office (ooo) --from=STRING --to=STRING [<calendarId>] [flags]- Create an Out of Office eventgog calendar (cal) propose-time <calendarId> <eventId> [flags]- Generate URL to propose a new meeting time (browser-only feature)gog calendar (cal) raw <calendarId> <eventId> [flags]- Dump raw Google Calendar API response as JSON (Events.Get; lossless; for scripting and LLM consumption)gog calendar (cal) respond (rsvp,reply) <calendarId> <eventId> [flags]- Respond to an event invitationgog calendar (cal) search (find,query) <query> [flags]- Search eventsgog calendar (cal) subscribe (sub,add-calendar) <calendarId> [flags]- Add a calendar to your calendar listgog calendar (cal) team <group-email> [flags]- Show events for Workspace group members (service account, direct token, or ADC)gog calendar (cal) time [flags]- Show server timegog calendar (cal) unsubscribe (unsub) <calendarId>- Remove a calendar from your calendar listgog calendar (cal) update (edit,set) <calendarId> <eventId> [flags]- Update an eventgog calendar (cal) users [flags]- List workspace users (use their email as calendar ID)gog calendar (cal) working-location (wl) --from=STRING --to=STRING --type=STRING [<calendarId>] [flags]- Set working location (home/office/custom)
gog chat <command> [flags]- Google Chatgog chat dm <command>- Direct messagesgog chat dm send (create,post) <email> [flags]- Send a direct messagegog chat dm space (find,setup) <email>- Find or create a DM space
gog chat messages <command>- Chat messagesgog chat messages list (ls) <space> [flags]- List messagesgog chat messages react <message> <emoji> [flags]- Add an emoji reaction to a messagegog chat messages reactions (reaction) <command>- Manage emoji reactions on a messagegog chat messages reactions (reaction) create (add) <message> <emoji> [flags]- Add an emoji reaction to a messagegog chat messages reactions (reaction) delete (remove,rm) <reaction>- Delete a reactiongog chat messages reactions (reaction) list (ls) <message> [flags]- List reactions on a message
gog chat messages send (create,post) <space> [flags]- Send a message
gog chat spaces <command>- Chat spacesgog chat spaces create (add,new) <displayName> [flags]- Create a spacegog chat spaces find (search,query) <displayName> [flags]- Find spaces by display namegog chat spaces list (ls) [flags]- List spaces
gog chat threads <command>- Chat threadsgog chat threads list <space> [flags]- List threads in a space
gog classroom (class) <command> [flags]- Google Classroomgog classroom (class) announcements (announcement,ann) <command>- Announcementsgog classroom (class) announcements (announcement,ann) assignees (assign) <courseId> <announcementId> [flags]- Modify announcement assigneesgog classroom (class) announcements (announcement,ann) create (add,new) --text=STRING <courseId> [flags]- Create an announcementgog classroom (class) announcements (announcement,ann) delete (rm,del,remove) <courseId> <announcementId>- Delete an announcementgog classroom (class) announcements (announcement,ann) get (info,show) <courseId> <announcementId>- Get an announcementgog classroom (class) announcements (announcement,ann) list (ls) <courseId> [flags]- List announcementsgog classroom (class) announcements (announcement,ann) update (edit,set) <courseId> <announcementId> [flags]- Update an announcement
gog classroom (class) courses (course) <command>- Coursesgog classroom (class) courses (course) archive (arch) <courseId>- Archive a course and wait until the state is visiblegog classroom (class) courses (course) create (add,new) --name=STRING [flags]- Create a coursegog classroom (class) courses (course) delete (rm,del,remove) <courseId>- Delete an archived coursegog classroom (class) courses (course) get (info,show) <courseId>- Get a coursegog classroom (class) courses (course) join (enroll) <courseId> [flags]- Join a coursegog classroom (class) courses (course) leave (unenroll) <courseId> [flags]- Leave a coursegog classroom (class) courses (course) list (ls) [flags]- List coursesgog classroom (class) courses (course) unarchive (unarch,restore) <courseId>- Unarchive a course and wait until the state is visiblegog classroom (class) courses (course) update (edit,set) <courseId> [flags]- Update a coursegog classroom (class) courses (course) url (link) <courseId> ...- Print Classroom web URLs for courses
gog classroom (class) coursework (work) <command>- Courseworkgog classroom (class) coursework (work) assignees (assign) <courseId> <courseworkId> [flags]- Modify coursework assigneesgog classroom (class) coursework (work) create (add,new) --title=STRING <courseId> [flags]- Create courseworkgog classroom (class) coursework (work) delete (rm,del,remove) <courseId> <courseworkId>- Delete courseworkgog classroom (class) coursework (work) get (info,show) <courseId> <courseworkId>- Get courseworkgog classroom (class) coursework (work) list (ls) <courseId> [flags]- List courseworkgog classroom (class) coursework (work) update (edit,set) <courseId> <courseworkId> [flags]- Update coursework
gog classroom (class) guardian-invitations (guardian-invites) <command>- Guardian invitationsgog classroom (class) guardian-invitations (guardian-invites) create (add,new) --email=STRING <studentId>- Create a guardian invitationgog classroom (class) guardian-invitations (guardian-invites) get (info,show) <studentId> <invitationId>- Get a guardian invitationgog classroom (class) guardian-invitations (guardian-invites) list (ls) <studentId> [flags]- List guardian invitations
gog classroom (class) guardians (guardian) <command>- Guardiansgog classroom (class) guardians (guardian) delete (rm,del,remove) <studentId> <guardianId>- Delete a guardiangog classroom (class) guardians (guardian) get (info,show) <studentId> <guardianId>- Get a guardiangog classroom (class) guardians (guardian) list (ls) <studentId> [flags]- List guardians
gog classroom (class) invitations (invitation,invites) <command>- Invitationsgog classroom (class) invitations (invitation,invites) accept (join) <invitationId>- Accept an invitationgog classroom (class) invitations (invitation,invites) create (add,new) --role=STRING <courseId> <userId>- Create an invitationgog classroom (class) invitations (invitation,invites) delete (rm,del,remove) <invitationId>- Delete an invitationgog classroom (class) invitations (invitation,invites) get (info,show) <invitationId>- Get an invitationgog classroom (class) invitations (invitation,invites) list (ls) [flags]- List invitations
gog classroom (class) materials (material) <command>- Coursework materialsgog classroom (class) materials (material) create (add,new) --title=STRING <courseId> [flags]- Create coursework materialgog classroom (class) materials (material) delete (rm,del,remove) <courseId> <materialId>- Delete coursework materialgog classroom (class) materials (material) get (info,show) <courseId> <materialId>- Get coursework materialgog classroom (class) materials (material) list (ls) <courseId> [flags]- List coursework materialsgog classroom (class) materials (material) update (edit,set) <courseId> <materialId> [flags]- Update coursework material
gog classroom (class) profile (me) <command>- User profilesgog classroom (class) profile (me) get [<userId>]- Get a user profile
gog classroom (class) roster (members) <courseId> [flags]- Course roster (students + teachers)gog classroom (class) students (student) <command>- Course studentsgog classroom (class) students (student) add (create,new) <courseId> <userId> [flags]- Add a studentgog classroom (class) students (student) get (info,show) <courseId> <userId>- Get a studentgog classroom (class) students (student) list (ls) <courseId> [flags]- List studentsgog classroom (class) students (student) remove (delete,rm,del) <courseId> <userId>- Remove a student
gog classroom (class) submissions (submission) <command>- Student submissionsgog classroom (class) submissions (submission) get (info,show) <courseId> <courseworkId> <submissionId>- Get a student submissiongog classroom (class) submissions (submission) grade (set,edit) <courseId> <courseworkId> <submissionId> [flags]- Set draft/assigned gradesgog classroom (class) submissions (submission) list (ls) <courseId> <courseworkId> [flags]- List student submissionsgog classroom (class) submissions (submission) reclaim (undo) <courseId> <courseworkId> <submissionId>- Reclaim a submissiongog classroom (class) submissions (submission) return (send) <courseId> <courseworkId> <submissionId>- Return a submissiongog classroom (class) submissions (submission) turn-in (turnin) <courseId> <courseworkId> <submissionId>- Turn in a submission
gog classroom (class) teachers (teacher) <command>- Course teachersgog classroom (class) teachers (teacher) add (create,new) <courseId> <userId>- Add a teachergog classroom (class) teachers (teacher) get (info,show) <courseId> <userId>- Get a teachergog classroom (class) teachers (teacher) list (ls) <courseId> [flags]- List teachersgog classroom (class) teachers (teacher) remove (delete,rm,del) <courseId> <userId>- Remove a teacher
gog classroom (class) topics (topic) <command>- Topicsgog classroom (class) topics (topic) create (add,new) --name=STRING <courseId>- Create a topicgog classroom (class) topics (topic) delete (rm,del,remove) <courseId> <topicId>- Delete a topicgog classroom (class) topics (topic) get (info,show) <courseId> <topicId>- Get a topicgog classroom (class) topics (topic) list (ls) <courseId> [flags]- List topicsgog classroom (class) topics (topic) update (edit,set) --name=STRING <courseId> <topicId>- Update a topic
gog completion <shell> [flags]- Generate shell completion scriptsgog config <command> [flags]- Manage configurationgog config get (show) <key>- Get a config valuegog config keys (list-keys,names)- List available config keysgog config list (ls,all)- List all config valuesgog config no-send (nosend) <command>- Manage per-account Gmail no-send guardsgog config no-send (nosend) list (ls)- List accounts with no-send guardsgog config no-send (nosend) remove (rm,del,delete,unset,disable) <account>- Remove an account no-send guardgog config no-send (nosend) set (add,enable) <account>- Block Gmail send operations for an account
gog config path (where)- Print config file pathgog config set (add,update) <key> <value>- Set a config valuegog config unset (rm,del,remove) <key>- Unset a config value
gog contacts (contact) <command> [flags]- Google Contactsgog contacts (contact) create (add,new) [flags]- Create a contactgog contacts (contact) dedupe [flags]- Find likely duplicate contacts and optionally merge themgog contacts (contact) delete (rm,del,remove) <resourceName>- Delete a contactgog contacts (contact) directory <command>- Directory contactsgog contacts (contact) directory list [flags]- List people from the Workspace directorygog contacts (contact) directory search <query> ... [flags]- Search people in the Workspace directory
gog contacts (contact) export [<selector>] [flags]- Export contacts as vCard (.vcf)gog contacts (contact) get (info,show) <resourceName>- Get a contactgog contacts (contact) list (ls) [flags]- List contactsgog contacts (contact) other <command>- Other contactsgog contacts (contact) other list [flags]- List other contactsgog contacts (contact) other search <query> ... [flags]- Search other contacts
gog contacts (contact) raw <identifier> [flags]- Dump raw People API response as JSON (People.Get; lossless; for scripting and LLM consumption)gog contacts (contact) search <query> ... [flags]- Search contacts by name/email/phonegog contacts (contact) update (edit,set) <resourceName> [flags]- Update a contact
gog docs (doc) <command> [flags]- Google Docs (export via Drive)gog docs (doc) add-tab <docId> [flags]- Add a tab to a Google Docgog docs (doc) cat (text,read) <docId> [flags]- Print a Google Doc as plain textgog docs (doc) cell-style --row=INT --col=INT <docId> [flags]- Apply table cell, border, padding, alignment, and text stylinggog docs (doc) cell-update (update-cell) --row=INT --col=INT <docId> [flags]- Replace or append content inside a specific table cellgog docs (doc) clear <docId>- Clear all content from a Google Docgog docs (doc) comments <command>- Manage comments on filesgog docs (doc) comments add (create,new) <docId> <content> [flags]- Add a comment to a Google Docgog docs (doc) comments delete (rm,del,remove) <docId> <commentId>- Delete a commentgog docs (doc) comments get (info,show) <docId> <commentId>- Get a comment by IDgog docs (doc) comments list (ls) <docId> [flags]- List comments on a Google Docgog docs (doc) comments locate <docId> <commentId> [flags]- Resolve a comment quote to Docs API index rangesgog docs (doc) comments poll --state-file=STRING <docId> [flags]- Poll new and modified comments with persisted stategog docs (doc) comments reopen <docId> <commentId> [flags]- Reopen a previously resolved commentgog docs (doc) comments reply (respond) <docId> <commentId> <content> [flags]- Reply to a commentgog docs (doc) comments resolve <docId> <commentId> [flags]- Resolve a comment (mark as done)
gog docs (doc) copy (cp,duplicate) <docId> <title> [flags]- Copy a Google Docgog docs (doc) create (add,new) <title> [flags]- Create a Google Docgog docs (doc) delete <docId> [flags]- Delete text range from documentgog docs (doc) delete-tab <docId> [flags]- Delete a tab from a Google Docgog docs (doc) edit <docId> <find> <replace> [flags]- Find and replace text in a Google Docgog docs (doc) export (download,dl) <docId> [flags]- Export a Google Doc (pdf|docx|txt|md|html)gog docs (doc) find-range <docId> <text> [flags]- Find text and print Docs API UTF-16 index rangesgog docs (doc) find-replace <docId> <find> [<replace>] [flags]- Find and replace text. Supports plain text or markdown with images; use —first for a single occurrence.gog docs (doc) footer (footers) <command>- List, create, or delete document footersgog docs (doc) footer (footers) create (add,new) <docId> [flags]- Create and optionally populate a footergog docs (doc) footer (footers) delete (rm,remove,del) <docId> <footerId> [flags]- Delete a footergog docs (doc) footer (footers) list (ls) <docId> [flags]- List footers and their segment IDs
gog docs (doc) format <docId> [flags]- Apply text or paragraph formatting to a Google Docgog docs (doc) header (headers) <command>- List, create, or delete document headersgog docs (doc) header (headers) create (add,new) <docId> [flags]- Create and optionally populate a headergog docs (doc) header (headers) delete (rm,remove,del) <docId> <headerId> [flags]- Delete a headergog docs (doc) header (headers) list (ls) <docId> [flags]- List headers and their segment IDs
gog docs (doc) headings <command>- List document headingsgog docs (doc) headings list (ls) <docId> [flags]- List heading paragraphs
gog docs (doc) images <command>- List document imagesgog docs (doc) images list (ls) <docId> [flags]- List inline and positioned images
gog docs (doc) info (get,show) <docId>- Get Google Doc metadatagog docs (doc) insert <docId> [<content>] [flags]- Insert text at a specific positiongog docs (doc) insert-date-chip --date=STRING <docId> [flags]- Insert a native date smart chipgog docs (doc) insert-file-chip (insert-rich-link) --file-id=STRING <docId> [flags]- Insert a native Drive file smart chipgog docs (doc) insert-footnote <docId> [flags]- Insert and populate a footnotegog docs (doc) insert-horizontal-rule (insert-hr,hr) <docId> [flags]- Insert a paragraph-border horizontal rulegog docs (doc) insert-image <docId> [flags]- Insert a public image URL or upload a local image into a Google Docgog docs (doc) insert-page-break (page-break,pb) <docId> [flags]- Insert a page break at a specific position (or end-of-doc with —at-end)gog docs (doc) insert-person --email=STRING <docId> [flags]- Insert a native person smart chipgog docs (doc) insert-section-break <docId> [flags]- Insert a continuous or next-page section breakgog docs (doc) insert-table --rows=INT --cols=INT <docId> [flags]- Insert a native table at a specific position (or end-of-doc with —at-end), optionally populated via —values-jsongog docs (doc) list-tabs <docId>- List all tabs in a Google Docgog docs (doc) named-range (named-ranges,namedranges,nr) <command>- Manage named rangesgog docs (doc) named-range (named-ranges,namedranges,nr) create (add,new) <docId> [flags]- Create a named rangegog docs (doc) named-range (named-ranges,namedranges,nr) delete (rm,remove,del) <docId> <nameOrId> [flags]- Delete a named rangegog docs (doc) named-range (named-ranges,namedranges,nr) list <docId> [flags]- List named rangesgog docs (doc) named-range (named-ranges,namedranges,nr) replace (set,update) <docId> <nameOrId> [flags]- Replace a named range with plain text
gog docs (doc) page-layout (set-page-layout,page-setup) <docId> [flags]- Set page layout (pageless|pages) on an existing Google Docgog docs (doc) paragraphs <command>- List document paragraphsgog docs (doc) paragraphs list (ls) <docId> [flags]- List paragraphs
gog docs (doc) raw <docId> [flags]- Dump raw Google Docs API response as JSON (Documents.Get; lossless; for scripting and LLM consumption)gog docs (doc) rename-tab <docId> [flags]- Rename a tab in a Google Docgog docs (doc) replace-image <docId> [flags]- Replace an existing image without changing its position or boundsgog docs (doc) section-columns --count=INT <docId> [flags]- Set the column count for a document sectiongog docs (doc) sed <docId> [<expression>] [flags]- Regex find/replace (sed-style: s/pattern/replacement/g)gog docs (doc) structure (struct) <docId> [flags]- Show document structure with numbered paragraphsgog docs (doc) table-column <command>- Insert or delete native table columnsgog docs (doc) table-column delete (rm,remove,del) --col=INT <docId> [flags]- Delete a native table columngog docs (doc) table-column insert (add,append) <docId> [flags]- Insert a native table column
gog docs (doc) table-column-width (table-width,column-width) <docId> [flags]- Set or reset native table column widthsgog docs (doc) table-merge --range=STRING <docId> [flags]- Merge a native table cell rangegog docs (doc) table-row <command>- Insert, delete, style, or pin native table rowsgog docs (doc) table-row delete (rm,remove,del) --row=INT <docId> [flags]- Delete a native table rowgog docs (doc) table-row insert (add,append) <docId> [flags]- Insert a native table rowgog docs (doc) table-row pin-header --rows=INT-64 <docId> [flags]- Pin or unpin leading table header rowsgog docs (doc) table-row style <docId> [flags]- Set native table row height and overflow styles
gog docs (doc) table-unmerge (table-split) --cell=STRING <docId> [flags]- Unmerge the region containing a native table cellgog docs (doc) tables <command>- List native tablesgog docs (doc) tables list (ls) <docId> [flags]- List native tables in document order
gog docs (doc) tabs <command>- Manage Google Doc tabsgog docs (doc) tabs add (create,new) <docId> [flags]- Add a tab to a Google Docgog docs (doc) tabs delete (rm,remove,del) <docId> [flags]- Delete a tab from a Google Docgog docs (doc) tabs list (ls) <docId>- List all tabs in a Google Docgog docs (doc) tabs rename (move) <docId> [flags]- Rename a tab in a Google Doc
gog docs (doc) update <docId> [flags]- Insert or replace text at a specific index or range in a Google Docgog docs (doc) write <docId> [flags]- Write content to a Google Doc
gog download (dl) <fileId> [flags]- Download a Drive file (alias for ‘drive download’)gog drive (drv) <command> [flags]- Google Drivegog drive (drv) activity <command>- Query Drive Activity audit eventsgog drive (drv) activity query (list,ls) [flags]- Query Drive Activity API v2
gog drive (drv) audit <command>- Audit Drive sharing without mutationgog drive (drv) audit sharing (permissions,perms,public,external) [flags]- Find public or external Drive permissionsgog drive (drv) audit user <user> [flags]- Find Drive permissions granted to a user
gog drive (drv) bulk <command>- Bulk Drive permission operationsgog drive (drv) bulk remove-public [flags]- Remove anyone/public permissions across filesgog drive (drv) bulk update-role [flags]- Change matching Drive permission roles across files
gog drive (drv) changes <command>- Track Drive changes for sync and automationgog drive (drv) changes list (ls) --token=STRING [flags]- List Drive changes since a page tokengog drive (drv) changes poll --state-file=STRING [flags]- Poll Drive changes with a persisted page tokengog drive (drv) changes serve --state-file=STRING [flags]- Receive Drive change notifications and run a local hookgog drive (drv) changes start-token (token) [flags]- Get a Drive changes start page tokengog drive (drv) changes stop <channelId> <resourceId>- Stop a Drive changes webhook channelgog drive (drv) changes watch --token=STRING --webhook-url=STRING [flags]- Watch Drive changes with a webhook channel
gog drive (drv) comments <command>- Manage comments on filesgog drive (drv) comments create (add,new) <fileId> <content> [flags]- Create a comment on a filegog drive (drv) comments delete (rm,del,remove) <fileId> <commentId>- Delete a commentgog drive (drv) comments get (info,show) <fileId> <commentId>- Get a comment by IDgog drive (drv) comments list (ls) <fileId> [flags]- List comments on a filegog drive (drv) comments reopen <fileId> <commentId> [flags]- Reopen a previously resolved commentgog drive (drv) comments reply (respond) <fileId> <commentId> <content> [flags]- Reply to a commentgog drive (drv) comments resolve <fileId> <commentId> [flags]- Resolve a comment (mark as done)gog drive (drv) comments update (edit,set) <fileId> <commentId> <content>- Update a comment
gog drive (drv) copy <fileId> <name> [flags]- Copy a filegog drive (drv) delete (rm,del) <fileId> [flags]- Move a file to trash (use —permanent to delete forever)gog drive (drv) download <fileId> [flags]- Download a file (exports Google Docs formats)gog drive (drv) drives [flags]- List shared drives (Team Drives)gog drive (drv) du [flags]- Summarize Drive folder sizesgog drive (drv) get <fileId> [flags]- Get file metadatagog drive (drv) inventory [flags]- Export a read-only Drive inventorygog drive (drv) labels (label) <command>- Read and modify Drive labelsgog drive (drv) labels (label) file <command>- List, apply, or remove labels on Drive filesgog drive (drv) labels (label) file apply <fileId> <labelId> [flags]- Apply or update a label on a Drive filegog drive (drv) labels (label) file list (ls) <fileId> [flags]- List labels applied to a Drive filegog drive (drv) labels (label) file remove (rm) <fileId> <labelId>- Remove a label from a Drive file
gog drive (drv) labels (label) get (info,show) <name> [flags]- Get a Drive label schemagog drive (drv) labels (label) list (ls) [flags]- List Drive label schemas
gog drive (drv) ls [flags]- List files in a folder (default: root)gog drive (drv) mkdir <name> [flags]- Create a foldergog drive (drv) move <fileId> [flags]- Move a file to a different foldergog drive (drv) permissions <fileId> [flags]- List permissions on a filegog drive (drv) raw <fileId> [flags]- Dump raw Google Drive API response as JSON (Files.Get; lossless; for scripting and LLM consumption)gog drive (drv) rename <fileId> <newName>- Rename a file or foldergog drive (drv) revisions (revision) <command>- List and inspect file revisionsgog drive (drv) revisions (revision) get <fileId> <revisionId>- Get revision metadatagog drive (drv) revisions (revision) list (ls) <fileId> [flags]- List revisions for a file
gog drive (drv) search <query> ... [flags]- Full-text search across Drivegog drive (drv) share <fileId> [flags]- Share a file or foldergog drive (drv) shortcut (shortcuts) <command>- Manage shortcuts to Drive files and foldersgog drive (drv) shortcut (shortcuts) create (add,new) <targetId> [flags]- Create a shortcut to a Drive file or folder
gog drive (drv) tree [flags]- Print a read-only folder treegog drive (drv) unshare <fileId> <permissionId>- Remove a permission from a filegog drive (drv) upload <localPath> [flags]- Upload a filegog drive (drv) url <fileId> ...- Print web URLs for files
gog forms (form) <command> [flags]- Google Formsgog forms (form) add-question (add-q,aq) --title=STRING <formId> [flags]- Add a question to a formgog forms (form) create (new) --title=STRING [flags]- Create a formgog forms (form) delete-question (delete-q,dq,rm-q) <formId> <index>- Delete a question by indexgog forms (form) get (info,show) <formId>- Get a formgog forms (form) move-question (move-q,mq) <formId> <oldIndex> <newIndex>- Move a question to a new positiongog forms (form) publish <formId> [flags]- Publish or unpublish a formgog forms (form) questions <command>- Form questionsgog forms (form) questions add (create,new) --title=STRING <formId> [flags]- Add a question to a formgog forms (form) questions delete (rm,remove,del) <formId> <index>- Delete a question by indexgog forms (form) questions move <formId> <oldIndex> <newIndex>- Move a question to a new position
gog forms (form) raw <formId> [flags]- Dump raw Google Forms API response as JSON (Forms.Get; lossless; for scripting and LLM consumption)gog forms (form) responses <command>- Form responsesgog forms (form) responses get (info,show) <formId> <responseId>- Get a form responsegog forms (form) responses list (ls) <formId> [flags]- List form responses
gog forms (form) update (edit) <formId> [flags]- Update form title, description, or settingsgog forms (form) watch (watches) <command>- Response watches (push notifications)gog forms (form) watch (watches) create (new,add) --topic=STRING <formId> [flags]- Create a watch for new responsesgog forms (form) watch (watches) delete (rm,remove) <formId> <watchId>- Delete a watchgog forms (form) watch (watches) list (ls) <formId>- List active watchesgog forms (form) watch (watches) renew (refresh) <formId> <watchId>- Renew a watch (extends 7 days)
gog gmail (mail,email) <command> [flags]- Gmailgog gmail (mail,email) archive [<messageId> ...] [flags]- Archive messages or explicit threads (remove from inbox)gog gmail (mail,email) attachment <messageId> <attachmentId> [flags]- Download a single attachmentgog gmail (mail,email) autoreply <query> ... [flags]- Reply once to matching messagesgog gmail (mail,email) batch <command>- Batch operations (permanent delete requires broader Gmail scope; use gmail trash for normal trashing)gog gmail (mail,email) batch delete (rm,del,remove) <messageId> ...- Permanently delete messages; requires https://mail.google.com/ OAuth scope (use ‘gmail trash’ with the default scope)gog gmail (mail,email) batch modify (update,edit,set) <messageId> ... [flags]- Modify labels on multiple messages
gog gmail (mail,email) drafts (draft) <command>- Draft operationsgog gmail (mail,email) drafts (draft) create (add,new) [flags]- Create a draftgog gmail (mail,email) drafts (draft) delete (rm,del,remove) <draftId>- Permanently delete a draft (not recoverable; drafts are not moved to Trash)gog gmail (mail,email) drafts (draft) get (info,show) <draftId> [flags]- Get draft detailsgog gmail (mail,email) drafts (draft) list (ls) [flags]- List draftsgog gmail (mail,email) drafts (draft) send (post) <draftId>- Send a draftgog gmail (mail,email) drafts (draft) update (edit,set) <draftId> [flags]- Update a draft
gog gmail (mail,email) forward (fwd) --to=STRING <messageId> [flags]- Forward a message to new recipientsgog gmail (mail,email) get (info,show) <messageId> [flags]- Get a message (full|metadata|raw)gog gmail (mail,email) history [flags]- Gmail historygog gmail (mail,email) labels (label) <command>- Label operationsgog gmail (mail,email) labels (label) create (add,new) <name>- Create a new labelgog gmail (mail,email) labels (label) delete (rm,del) <labelIdOrName>- Delete a labelgog gmail (mail,email) labels (label) get (info,show) <labelIdOrName>- Get label details (including counts)gog gmail (mail,email) labels (label) list (ls)- List labelsgog gmail (mail,email) labels (label) modify (update,edit,set) <threadId> ... [flags]- Modify labels on threadsgog gmail (mail,email) labels (label) rename (mv) <labelIdOrName> <newName>- Rename a labelgog gmail (mail,email) labels (label) style (color,colour) <labelIdOrName> [flags]- Change a user label color or visibility
gog gmail (mail,email) mark-read (read-messages) [<messageId> ...] [flags]- Mark messages as readgog gmail (mail,email) messages (message,msg,msgs) <command>- Message operationsgog gmail (mail,email) messages (message,msg,msgs) modify (update,edit,set) <messageId> [flags]- Modify labels on a single messagegog gmail (mail,email) messages (message,msg,msgs) search (find,query,ls,list) <query> ... [flags]- Search messages using Gmail query syntax
gog gmail (mail,email) raw <messageId> [flags]- Dump raw Gmail API response as JSON (Users.Messages.Get; lossless; for scripting and LLM consumption)gog gmail (mail,email) reply <messageId> [flags]- Reply to a messagegog gmail (mail,email) reply-all (replyall) <messageId> [flags]- Reply to all message participantsgog gmail (mail,email) search (find,query,ls,list) <query> ... [flags]- Search threads using Gmail query syntaxgog gmail (mail,email) send [flags]- Send an emailgog gmail (mail,email) settings <command>- Settings and admingog gmail (mail,email) settings autoforward <command>- Auto-forwarding settingsgog gmail (mail,email) settings autoforward get (info,show)- Get current auto-forwarding settingsgog gmail (mail,email) settings autoforward update (edit,set) [flags]- Update auto-forwarding settings
gog gmail (mail,email) settings delegates <command>- Delegate operationsgog gmail (mail,email) settings delegates add (create,new) <delegateEmail>- Add a delegategog gmail (mail,email) settings delegates get (info,show) <delegateEmail>- Get a specific delegate’s informationgog gmail (mail,email) settings delegates list (ls)- List all delegatesgog gmail (mail,email) settings delegates remove (delete,rm,del) <delegateEmail>- Remove a delegate
gog gmail (mail,email) settings filters <command>- Filter operationsgog gmail (mail,email) settings filters create (add,new) [flags]- Create a new email filtergog gmail (mail,email) settings filters delete (rm,del,remove) <filterId>- Delete a filtergog gmail (mail,email) settings filters export [flags]- Export filters as Gmail WebUI-compatible XMLgog gmail (mail,email) settings filters get (info,show) <filterId>- Get a specific filtergog gmail (mail,email) settings filters list (ls)- List all email filters
gog gmail (mail,email) settings forwarding <command>- Forwarding addressesgog gmail (mail,email) settings forwarding create (add,new) <forwardingEmail>- Create/add a forwarding addressgog gmail (mail,email) settings forwarding delete (rm,del,remove) <forwardingEmail>- Delete a forwarding addressgog gmail (mail,email) settings forwarding get (info,show) <forwardingEmail>- Get a specific forwarding addressgog gmail (mail,email) settings forwarding list (ls)- List all forwarding addresses
gog gmail (mail,email) settings sendas <command>- Send-as settingsgog gmail (mail,email) settings sendas create (add,new) <email> [flags]- Create a new send-as aliasgog gmail (mail,email) settings sendas delete (rm,del,remove) <email>- Delete a send-as aliasgog gmail (mail,email) settings sendas get (info,show) <email>- Get details of a send-as aliasgog gmail (mail,email) settings sendas list (ls)- List send-as aliasesgog gmail (mail,email) settings sendas update (edit,set) <email> [flags]- Update a send-as aliasgog gmail (mail,email) settings sendas verify (resend) <email>- Resend verification email for a send-as alias
gog gmail (mail,email) settings vacation <command>- Vacation respondergog gmail (mail,email) settings vacation get (info,show)- Get current vacation responder settingsgog gmail (mail,email) settings vacation update (edit,set) [flags]- Update vacation responder settings
gog gmail (mail,email) settings watch <command>- Manage Gmail watchgog gmail (mail,email) settings watch pull [flags]- Run Pub/Sub pull consumergog gmail (mail,email) settings watch renew (update) [flags]- Renew Gmail watch using stored configgog gmail (mail,email) settings watch serve [flags]- Run Pub/Sub push handlergog gmail (mail,email) settings watch start (begin) [flags]- Start Gmail watch for Pub/Subgog gmail (mail,email) settings watch status (ls) [flags]- Show stored watch stategog gmail (mail,email) settings watch stop (rm,delete)- Stop Gmail watch and clear stored state
gog gmail (mail,email) thread (threads,read) <command>- Thread operations (get, modify)gog gmail (mail,email) thread (threads,read) attachments (files) <threadId> [flags]- List all attachments in a threadgog gmail (mail,email) thread (threads,read) get (info,show) <threadId> [flags]- Get a thread with all messages (optionally download attachments)gog gmail (mail,email) thread (threads,read) modify (update,edit,set) <threadId> [flags]- Modify labels on all messages in a thread
gog gmail (mail,email) track <command>- Email open trackinggog gmail (mail,email) track key <command>- Manage tracking encryption keysgog gmail (mail,email) track key rotate [flags]- Rotate tracking encryption key
gog gmail (mail,email) track opens [<tracking-id>] [flags]- Query email opensgog gmail (mail,email) track setup [flags]- Set up email tracking (deploy Cloudflare Worker)gog gmail (mail,email) track status- Show tracking configuration status
gog gmail (mail,email) trash [<messageId> ...] [flags]- Move messages to trashgog gmail (mail,email) unread (mark-unread) [<messageId> ...] [flags]- Mark messages as unreadgog gmail (mail,email) url <threadId> ...- Print Gmail web URLs for threads
gog groups (group) <command> [flags]- Cloud Identity Groups (Workspace only)gog groups (group) list (ls) [flags]- List groups you belong togog groups (group) members <groupEmail> [flags]- List members of a group
gog keep <command> [flags]- Google Keep (Workspace only)gog keep attachment <attachmentName> [flags]- Download an attachmentgog keep create [flags]- Create a new notegog keep delete <noteId> [flags]- Delete a notegog keep get <noteId> [flags]- Get a notegog keep list [flags]- List notesgog keep search <query> [flags]- Search notes by text (client-side)
gog login <email> [flags]- Authorize and store a refresh token (alias for ‘auth add’)gog logout <email> [flags]- Remove a stored refresh token (alias for ‘auth remove’)gog ls (list) [flags]- List Drive files (alias for ‘drive ls’)gog maps (map) <command> [flags]- Google Mapsgog maps (map) directions (route) --origin=STRING --destination=STRING [flags]- Get directions between two locationsgog maps (map) distance (distance-matrix,matrix) --origins=STRING --destinations=STRING [flags]- Get travel distance and duration matrixgog maps (map) geocode <address> ... [flags]- Convert an address to coordinatesgog maps (map) places (place) <command>- Google Maps Places APIgog maps (map) places (place) details (get,info,show) <placeId> [flags]- Get Place detailsgog maps (map) places (place) search (find) <query> ... [flags]- Search Places by text
gog maps (map) reverse-geocode (reverse) --lat=STRING --lng=STRING [flags]- Convert coordinates to an address
gog mcp [flags]- Run a typed, allowlisted MCP server over stdiogog me [flags]- Show your profile (alias for ‘people me’)gog meet (meeting) <command> [flags]- Google Meetgog meet (meeting) create (new) [flags]- Create a meeting spacegog meet (meeting) end (stop) <meeting-code>- End active conferencegog meet (meeting) get (info,show) <meeting-code>- Get a meeting spacegog meet (meeting) history (calls,past) <meeting-code> [flags]- List past calls in a meetinggog meet (meeting) participants (people,attendees,who) <meeting-code> [flags]- List participants from the latest callgog meet (meeting) update (edit,set) <meeting-code> [flags]- Update space config
gog open (browse) <target> [flags]- Print a best-effort web URL for a Google URL/ID (offline)gog people (person) <command> [flags]- Google Peoplegog people (person) get (info,show) <userId>- Get a user profile by IDgog people (person) me- Show your profile (people/me)gog people (person) raw <userId> [flags]- Dump raw People API response as JSON (People.Get; lossless; for scripting and LLM consumption)gog people (person) relations [<userId>] [flags]- Get user relationsgog people (person) search (find,query) <query> ... [flags]- Search the Workspace directory
gog photos (photo) <command> [flags]- Google Photos Library and Picker APIsgog photos (photo) download (dl) <mediaItemId> [flags]- Download an app-created media itemgog photos (photo) get (info,show) <mediaItemId>- Get an app-created media itemgog photos (photo) list (ls) [flags]- List app-created media itemsgog photos (photo) picker <command>- Access user-selected media with the Photos Picker APIgog photos (photo) picker create (new,start) [flags]- Create a photo-picking sessiongog photos (photo) picker delete (rm,close) <sessionId>- Delete a photo-picking sessiongog photos (photo) picker download (dl) <sessionId> <mediaItemId> [flags]- Download selected media bytesgog photos (photo) picker get (info,show) <sessionId>- Get a photo-picking sessiongog photos (photo) picker list (ls,items) <sessionId> [flags]- List media selected in a sessiongog photos (photo) picker wait (poll) <sessionId> [flags]- Wait until the user finishes picking media
gog photos (photo) search (find) [flags]- Search app-created media items
gog schema (help-json,helpjson) [<command> ...] [flags]- Machine-readable command/flag schemagog search (find) <query> ... [flags]- Search Drive files (alias for ‘drive search’)gog searchconsole (gsc,search-console,webmasters) <command> [flags]- Google Search Consolegog searchconsole (gsc,search-console,webmasters) query (report) <siteUrl> [flags]- Run a Search Analytics querygog searchconsole (gsc,search-console,webmasters) searchanalytics (analytics) <command>- Search Analytics queriesgog searchconsole (gsc,search-console,webmasters) searchanalytics (analytics) query (run) <siteUrl> [flags]- Run a Search Analytics query
gog searchconsole (gsc,search-console,webmasters) sitemaps <command>- List/get/submit/delete sitemapsgog searchconsole (gsc,search-console,webmasters) sitemaps delete (rm,remove) <siteUrl> <feedpath>- Delete a sitemapgog searchconsole (gsc,search-console,webmasters) sitemaps get (info,show) <siteUrl> <feedpath>- Get a sitemapgog searchconsole (gsc,search-console,webmasters) sitemaps list (ls) <siteUrl> [flags]- List sitemaps for a sitegog searchconsole (gsc,search-console,webmasters) sitemaps submit <siteUrl> <feedpath>- Submit a sitemap
gog searchconsole (gsc,search-console,webmasters) sites (list,ls) <command>- List and inspect Search Console sitesgog searchconsole (gsc,search-console,webmasters) sites (list,ls) get (info,show) <siteUrl>- Get a specific Search Console sitegog searchconsole (gsc,search-console,webmasters) sites (list,ls) list (ls) [flags]- List accessible Search Console sites
gog send [flags]- Send an email (alias for ‘gmail send’)gog sheets (sheet) <command> [flags]- Google Sheetsgog sheets (sheet) add-tab (add-sheet) <spreadsheetId> <tabName> [flags]- Add a new tab/sheet to a spreadsheetgog sheets (sheet) append (add) <spreadsheetId> <range> [<values> ...] [flags]- Append values to a rangegog sheets (sheet) banding (banded-ranges) <command>- Manage alternating color bandinggog sheets (sheet) banding (banded-ranges) clear (delete,rm,remove) <spreadsheetId> [flags]- Remove alternating color bandinggog sheets (sheet) banding (banded-ranges) list <spreadsheetId> [flags]- List alternating color banded rangesgog sheets (sheet) banding (banded-ranges) set (add,create) <spreadsheetId> <range> [flags]- Apply alternating colors to a range
gog sheets (sheet) batch-update (batch) --data-json=STRING <spreadsheetId> [flags]- Update values in multiple ranges with one API requestgog sheets (sheet) chart (charts) <command>- Manage spreadsheet chartsgog sheets (sheet) chart (charts) create (add,new) --spec-json=STRING <spreadsheetId> [flags]- Create a chart from a JSON specgog sheets (sheet) chart (charts) delete (rm,remove,del) <spreadsheetId> <chartId>- Delete a chartgog sheets (sheet) chart (charts) get (show,info) <spreadsheetId> <chartId>- Get full chart definition (spec + position)gog sheets (sheet) chart (charts) list <spreadsheetId>- List charts in a spreadsheetgog sheets (sheet) chart (charts) update (edit,set) --spec-json=STRING <spreadsheetId> <chartId>- Update a chart spec
gog sheets (sheet) clear <spreadsheetId> <range>- Clear values in a rangegog sheets (sheet) conditional-format (cf,conditional-formats) <command>- Manage conditional formatting rulesgog sheets (sheet) conditional-format (cf,conditional-formats) add (create,new) --type=STRING --format-json=STRING <spreadsheetId> <range> [flags]- Add a conditional formatting rulegog sheets (sheet) conditional-format (cf,conditional-formats) clear (delete,rm,remove) --sheet=STRING <spreadsheetId> [flags]- Remove conditional formatting rulesgog sheets (sheet) conditional-format (cf,conditional-formats) list <spreadsheetId> [flags]- List conditional formatting rules
gog sheets (sheet) copy (cp,duplicate) <spreadsheetId> <title> [flags]- Copy a Google Sheetgog sheets (sheet) copy-paste (fill,copy-range) <spreadsheetId> <source> <dest> [flags]- Copy a range’s values/formulas/format to another range (tiles to fill down/across)gog sheets (sheet) create (new) <title> [flags]- Create a new spreadsheetgog sheets (sheet) delete-dimension (delete-dim) --dimension=STRING <spreadsheetId> <rangeOrSheet> [flags]- Delete rows or columns while preserving intersecting tablesgog sheets (sheet) delete-tab (delete-sheet) <spreadsheetId> <tabName>- Delete a tab/sheet from a spreadsheet (use —force to skip confirmation)gog sheets (sheet) export (download,dl) <spreadsheetId> [flags]- Export a Google Sheet (pdf|xlsx|csv) via Drivegog sheets (sheet) find-replace <spreadsheetId> <find> <replace> [flags]- Find and replace text across a spreadsheetgog sheets (sheet) format <spreadsheetId> <range> [flags]- Apply cell formatting to a rangegog sheets (sheet) freeze <spreadsheetId> [flags]- Freeze rows and columns on a sheetgog sheets (sheet) get (read,show) <spreadsheetId> <range> [flags]- Get values from a rangegog sheets (sheet) insert <spreadsheetId> <sheet> <dimension> <start> [flags]- Insert empty rows or columns into a sheetgog sheets (sheet) links (hyperlinks) <command>- Get or set cell hyperlinksgog sheets (sheet) links (hyperlinks) get (list,show) <spreadsheetId> <range>- Get cell hyperlinks from a rangegog sheets (sheet) links (hyperlinks) set (write) <spreadsheetId> [<cell> [<url> [<text>]]] [flags]- Set cell hyperlinks (rich-text links)
gog sheets (sheet) merge <spreadsheetId> <range> [flags]- Merge cells in a rangegog sheets (sheet) metadata (info) <spreadsheetId>- Get spreadsheet metadatagog sheets (sheet) named-ranges (namedranges,nr) <command>- Manage named rangesgog sheets (sheet) named-ranges (namedranges,nr) add (create,new) <spreadsheetId> <name> <range>- Add a named rangegog sheets (sheet) named-ranges (namedranges,nr) delete (rm,remove,del) <spreadsheetId> <nameOrId>- Delete a named rangegog sheets (sheet) named-ranges (namedranges,nr) get (show,info) <spreadsheetId> <nameOrId>- Get a named rangegog sheets (sheet) named-ranges (namedranges,nr) list <spreadsheetId>- List named rangesgog sheets (sheet) named-ranges (namedranges,nr) update (edit,set) <spreadsheetId> <nameOrId> [flags]- Update a named range
gog sheets (sheet) notes <spreadsheetId> <range>- Get cell notes from a rangegog sheets (sheet) number-format <spreadsheetId> <range> [flags]- Apply number format to a rangegog sheets (sheet) raw <spreadsheetId> [flags]- Dump raw Google Sheets API response as JSON (Spreadsheets.Get; lossless; for scripting and LLM consumption)gog sheets (sheet) read-format (get-format,format-read) <spreadsheetId> <range> [flags]- Read cell formatting from a rangegog sheets (sheet) rename-tab (rename-sheet) <spreadsheetId> <oldName> <newName>- Rename a tab/sheet in a spreadsheetgog sheets (sheet) reorder-tab (move-tab,reorder-sheet,move-sheet) --tab=STRING --to=TO <spreadsheetId>- Move a tab/sheet to a specific 0-based position in the spreadsheetgog sheets (sheet) resize-columns <spreadsheetId> <columns> [flags]- Resize sheet columnsgog sheets (sheet) resize-rows <spreadsheetId> <rows> [flags]- Resize sheet rowsgog sheets (sheet) table (tables) <command>- Manage Google Sheets tablesgog sheets (sheet) table (tables) append (add-row,add-rows) <spreadsheetId> <tableId> [<values> ...] [flags]- Append rows to a tablegog sheets (sheet) table (tables) clear (clear-rows) <spreadsheetId> <tableId>- Clear table data rowsgog sheets (sheet) table (tables) create (add,new) --name=STRING --columns-json=STRING <spreadsheetId> <range>- Create a tablegog sheets (sheet) table (tables) delete (rm,remove,del) <spreadsheetId> <tableId> [flags]- Delete a tablegog sheets (sheet) table (tables) get (show,info) <spreadsheetId> <tableId>- Get a tablegog sheets (sheet) table (tables) list <spreadsheetId>- List tables in a spreadsheet
gog sheets (sheet) unmerge <spreadsheetId> <range>- Unmerge cells in a rangegog sheets (sheet) update (edit,set) <spreadsheetId> <range> [<values> ...] [flags]- Update values in a rangegog sheets (sheet) update-note (set-note) <spreadsheetId> <range> [flags]- Set or clear a cell notegog sheets (sheet) validation (data-validation,validations) <command>- Manage cell data validation rulesgog sheets (sheet) validation (data-validation,validations) clear (delete,remove,rm) <spreadsheetId> <range> [flags]- Clear data validation rules; fully selected table dropdown columns become text columnsgog sheets (sheet) validation (data-validation,validations) get (list,show) <spreadsheetId> <range>- Get data validation rules from a rangegog sheets (sheet) validation (data-validation,validations) set (add,create) --type=STRING <spreadsheetId> <range> [flags]- Set a data validation rule on a range
gog sites (site) <command> [flags]- Google Sites (Drive-backed)gog sites (site) get (info,show) <siteId> [flags]- Get Google Site metadatagog sites (site) list (ls) [flags]- List Google Sites visible in Drivegog sites (site) search (find) <query> ... [flags]- Search Google Sites by text or Drive querygog sites (site) url (open) <siteId> ...- Print Google Site editor URLs
gog slides (slide) <command> [flags]- Google Slidesgog slides (slide) add-slide <presentationId> <image> [flags]- Add a slide with a full-bleed image and optional speaker notesgog slides (slide) bullets --range=STRING <presentationId> <objectId> [flags]- Turn paragraph bullets on or off in one page elementgog slides (slide) copy (cp,duplicate) <presentationId> <title> [flags]- Copy a Google Slides presentationgog slides (slide) create (add,new) <title> [flags]- Create a Google Slides presentationgog slides (slide) create-from-markdown <title> [flags]- Create a Google Slides presentation from markdowngog slides (slide) create-from-template <templateId> <title> [flags]- Create a presentation from template with text replacementsgog slides (slide) delete-slide <presentationId> <slideId>- Delete a slide by object IDgog slides (slide) duplicate-slide <presentationId> <slideId> [flags]- Duplicate a slide by object IDgog slides (slide) element <command>- Create and manipulate native page elementsgog slides (slide) element alt-text <presentationId> <objectId> [flags]- Set or clear element accessibility textgog slides (slide) element create-line <presentationId> <slideId> [flags]- Create a native line on a slidegog slides (slide) element create-shape <presentationId> <slideId> [flags]- Create a native shape on a slidegog slides (slide) element delete (rm) <presentationId> <objectId>- Delete one page elementgog slides (slide) element group <presentationId> <objectId> ... [flags]- Group two or more elementsgog slides (slide) element style <presentationId> <objectId> [flags]- Style a shape fill/outline or a linegog slides (slide) element transform (move,resize,rotate) <presentationId> <objectId> [flags]- Move, resize, rotate, or replace an element transformgog slides (slide) element ungroup <presentationId> <groupId> ...- Ungroup one or more element groupsgog slides (slide) element z-order --operation=STRING <presentationId> <objectId> ...- Change element stacking order
gog slides (slide) export (download,dl) <presentationId> [flags]- Export a Google Slides deck (pdf|pptx)gog slides (slide) info (get,show) <presentationId>- Get Google Slides presentation metadatagog slides (slide) insert-image --width=FLOAT-64 <presentationId> <slideId> [<image>] [flags]- Insert a local or public image at a position and sizegog slides (slide) insert-text <presentationId> <objectId> <text> [flags]- Insert text into an existing page element (shape or table) by objectIdgog slides (slide) link --range=STRING <presentationId> <objectId> [flags]- Apply a hyperlink to a text range in one page elementgog slides (slide) list-slides <presentationId>- List all slides with their object IDsgog slides (slide) locate (find-element) <presentationId> <text> [flags]- Locate text in shapes and table cells with object IDs and UTF-16 rangesgog slides (slide) move-slide --to-index=TO-INDEX <presentationId> <slideId>- Move a slide to a zero-based insertion indexgog slides (slide) new-slide <presentationId> [flags]- Create a native themed slidegog slides (slide) raw <presentationId> [flags]- Dump raw Google Slides API response as JSON (Presentations.Get; lossless; for scripting and LLM consumption)gog slides (slide) read-slide <presentationId> <slideId> [flags]- Read slide content: speaker notes, text elements, and imagesgog slides (slide) replace-slide <presentationId> <slideId> [<image>] [flags]- Replace an existing slide image from a local file or public URLgog slides (slide) replace-text <presentationId> <find> <replacement> [flags]- Find-and-replace text in an explicit object, slide, or presentation scopegog slides (slide) style-text --range=STRING <presentationId> <objectId> [flags]- Apply range-scoped text styling to one page elementgog slides (slide) table <command>- Create and update native tablesgog slides (slide) table border <command>- Style table bordersgog slides (slide) table border style --row=INT-64 --col=INT-64 <presentationId> <tableObjectId> [flags]- Style borders around or within a table cell range
gog slides (slide) table cell <command>- Style table cellsgog slides (slide) table cell style --row=INT-64 --col=INT-64 <presentationId> <tableObjectId> [flags]- Style one zero-based table cell
gog slides (slide) table column (col) <command>- Insert, delete, or size table columnsgog slides (slide) table column (col) delete (rm,remove,del) --col=INT-64 <presentationId> <tableObjectId>- Delete the column containing a zero-based table cellgog slides (slide) table column (col) insert (add) --col=INT-64 <presentationId> <tableObjectId> [flags]- Insert columns left or right of a zero-based columngog slides (slide) table column (col) size --col=INT-64 --width=FLOAT-64 <presentationId> <tableObjectId>- Set a column’s width
gog slides (slide) table create (add) --rows=INT-64 --cols=INT-64 <presentationId> <slideId> [flags]- Create an auto-sized native table on a slidegog slides (slide) table merge --row=INT-64 --col=INT-64 <presentationId> <tableObjectId> [flags]- Merge a rectangular table cell rangegog slides (slide) table row <command>- Insert, delete, or size table rowsgog slides (slide) table row delete (rm,remove,del) --row=INT-64 <presentationId> <tableObjectId>- Delete the row containing a zero-based table cellgog slides (slide) table row insert (add) --row=INT-64 <presentationId> <tableObjectId> [flags]- Insert rows above or below a zero-based rowgog slides (slide) table row size --row=INT-64 --height=FLOAT-64 <presentationId> <tableObjectId>- Set a row’s minimum height
gog slides (slide) table unmerge (split) --row=INT-64 --col=INT-64 <presentationId> <tableObjectId> [flags]- Unmerge cells in a rectangular table range
gog slides (slide) thumbnail (thumb) <presentationId> <slideId> [flags]- Get or download a rendered thumbnail for a slidegog slides (slide) update-notes <presentationId> <slideId> [flags]- Update speaker notes on an existing slide
gog status (st) [flags]- Show auth/config status (alias for ‘auth status’)gog tasks (task) <command> [flags]- Google Tasksgog tasks (task) add (create) <tasklistId> [flags]- Add a taskgog tasks (task) clear <tasklistId>- Clear completed tasksgog tasks (task) delete (rm,del,remove) <tasklistId> <taskId>- Delete a taskgog tasks (task) done (complete) <tasklistId> <taskId>- Mark task completedgog tasks (task) get (info,show) <tasklistId> <taskId>- Get a taskgog tasks (task) list (ls) <tasklistId> [flags]- List tasksgog tasks (task) lists <command>- List task listsgog tasks (task) lists create (add,new) <title> ...- Create a task listgog tasks (task) lists list [flags]- List task lists
gog tasks (task) raw <tasklistId> <taskId> [flags]- Dump raw Google Tasks API response as JSON (Tasks.Get; lossless; for scripting and LLM consumption)gog tasks (task) undo (uncomplete,undone) <tasklistId> <taskId>- Mark task needs actiongog tasks (task) update (edit,set) <tasklistId> <taskId> [flags]- Update a task
gog time <command> [flags]- Local time utilitiesgog time now [flags]- Show current time
gog upload (up,put) <localPath> [flags]- Upload a file to Drive (alias for ‘drive upload’)gog version [flags]- Print versiongog whoami (who-am-i) [flags]- Show your profile (alias for ‘people me’)gog youtube (yt) <command> [flags]- YouTube Data API (search, activities, videos, playlists, comments, channels)gog youtube (yt) activities (activity) <command>- List channel activitiesgog youtube (yt) activities (activity) list (ls) [flags]- List activities for a channel (or authenticated user)
gog youtube (yt) channels (channel) <command>- List channelsgog youtube (yt) channels (channel) list (ls) [flags]- List channels by ID or authenticated user
gog youtube (yt) comments (comment) <command>- List comment threadsgog youtube (yt) comments (comment) list (ls) [flags]- List comment threads for a video or channel
gog youtube (yt) playlists (playlist) <command>- Manage playlistsgog youtube (yt) playlists (playlist) add --playlist-id=STRING --video-id=STRING [flags]- Add a video to a playlistgog youtube (yt) playlists (playlist) create --title=STRING [flags]- Create a new playlistgog youtube (yt) playlists (playlist) delete (del) <playlist-id>- Delete a playlistgog youtube (yt) playlists (playlist) items (item) <command>- List the videos inside a playlistgog youtube (yt) playlists (playlist) items (item) list (ls) [flags]- List the videos inside a playlist
gog youtube (yt) playlists (playlist) list (ls) [flags]- List playlists by channel or authenticated usergog youtube (yt) playlists (playlist) remove (rm) [flags]- Remove a video from a playlist
gog youtube (yt) search (find) <command>- Search YouTube for videos, channels, or playlistsgog youtube (yt) search (find) list (ls) <query> [flags]- Search for videos, channels, or playlists
gog youtube (yt) subscriptions (subscription) <command>- Manage channel subscriptionsgog youtube (yt) subscriptions (subscription) list (ls) [flags]- List subscriptions for authenticated usergog youtube (yt) subscriptions (subscription) subscribe [flags]- Subscribe to a channelgog youtube (yt) subscriptions (subscription) unsubscribe [flags]- Unsubscribe from a channel
gog youtube (yt) videos (video) <command>- List or get videosgog youtube (yt) videos (video) list (ls) [flags]- List videos by ID, chart, or your rating
gog zoom <command> [flags]- Zoomgog zoom auth <command>- Manage Zoom Server-to-Server OAuth credentialsgog zoom auth doctor [flags]- Validate Zoom credentialsgog zoom auth setup [flags]- Store Zoom Server-to-Server OAuth credentials