gws-slides

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

slides (v1)

slides (v1)

PREREQUISITE: Read
../gws-shared/SKILL.md
for auth, global flags, and security rules. If missing, run
gws generate-skills
to create it.
bash
gws slides <resource> <method> [flags]
前置要求: 请阅读
../gws-shared/SKILL.md
了解认证、全局标志和安全规则。如果该文件缺失,请运行
gws generate-skills
命令生成它。
bash
gws slides <resource> <method> [flags]

API Resources

API 资源

presentations

presentations

  • batchUpdate
    — Applies one or more updates to the presentation. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests.
    • create
      — Creates a blank presentation using the title given in the request. If a
      presentationId
      is provided, it is used as the ID of the new presentation. Otherwise, a new ID is generated. Other fields in the request, including any provided content, are ignored. Returns the created presentation.
    • get
      — Gets the latest version of the specified presentation.
    • pages
      — Operations on the 'pages' resource
  • batchUpdate
    — 对演示文稿应用一项或多项更新。每个请求在应用前都会被验证。如果任何请求无效,则整个请求会失败,且不会应用任何更改。部分请求会返回有关其应用方式的信息,其他请求无需返回信息,将返回空回复。回复的顺序与请求的顺序一致。
    • create
      — 使用请求中提供的标题创建一个空白演示文稿。如果提供了
      presentationId
      ,则将其用作新演示文稿的ID;否则会生成一个新ID。请求中的其他字段(包括提供的任何内容)将被忽略。返回创建好的演示文稿。
    • get
      — 获取指定演示文稿的最新版本。
    • pages
      — 对'pages'资源的操作

Discovering Commands

命令探索

Before calling any API method, inspect it:
bash
undefined
在调用任何API方法之前,请先查看其详情:
bash
undefined

Browse resources and methods

Browse resources and methods

gws slides --help
gws slides --help

Inspect a method's required params, types, and defaults

Inspect a method's required params, types, and defaults

gws schema slides.<resource>.<method>

Use `gws schema` output to build your `--params` and `--json` flags.
gws schema slides.<resource>.<method>

使用`gws schema`的输出来构建你的`--params`和`--json`标志。