REST Resource: presentations
资源:演示文稿
JSON 表示法 |
{
"presentationId": string,
"pageSize": {
object (Size )
},
"slides": [
{
object (Page )
}
],
"title": string,
"masters": [
{
object (Page )
}
],
"layouts": [
{
object (Page )
}
],
"locale": string,
"revisionId": string,
"notesMaster": {
object (Page )
}
} |
字段 |
presentationId |
string
演示文稿的 ID。
|
pageSize |
object (Size )
演示文稿中页面的大小。
|
slides[] |
object (Page )
演示文稿中的幻灯片。幻灯片会从幻灯片布局继承属性。
|
title |
string
演示文稿的标题。
|
masters[] |
object (Page )
演示文稿中的幻灯片母版。幻灯片母版包含所有常见的页面元素和一组布局的通用属性。它们有以下三种用途:
- 母版上的占位符形状包含使用该母版的页面上所有占位符形状的默认文本样式和形状属性。
- 母版页属性定义了其布局继承的通用页面属性。
- 无论采用哪种布局,母版幻灯片上的任何其他形状都会出现在使用该母版的所有幻灯片上。
|
layouts[] |
object (Page )
演示文稿中的布局。布局是一种模板,用于确定继承该布局的幻灯片中内容的排列方式和样式。
|
locale |
string
演示文稿的语言区域,以 IETF BCP 47 语言标记的形式。
|
revisionId |
string
仅限输出。演示文稿的修订 ID。可在更新请求中用于断言自上次读取操作以来演示文稿修订版本未更改。仅当用户拥有演示文稿的编辑权限时才会填充。 修订版本 ID 不是序列号,而是模糊的字符串。修订 ID 的格式可能会随时间而变化,因此应以不透明的方式对待。返回的修订 ID 仅保证在返回后的 24 小时内有效,并且不能在用户之间共享。如果修订 ID 在两次调用之间保持不变,则呈现方式也不会改变。反之,如果 ID 发生变化(对于同一演示文稿和用户),通常表示演示文稿已更新。不过,ID 更改也可能是由内部因素(例如 ID 格式更改)导致的。
|
notesMaster |
object (Page )
演示文稿中的备注母版。它有以下三个用途:
- 记事母版上的占位符形状包含
notes pages 上所有占位符形状的默认文本样式和形状属性。具体而言,SLIDE_IMAGE 占位符形状包含幻灯片缩略图,BODY 占位符形状包含演讲者备注。
- 备注母版页面属性定义了所有
notes pages 继承的通用页面属性。
- 记事母版上的所有其他形状都会显示在所有
notes pages 中。
备注母版为只读。
|
方法 |
|
对演示文稿应用一个或多个更新。 |
|
使用请求中提供的标题创建空白演示文稿。 |
|
获取指定演示文稿的最新版本。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-09。
[null,null,["最后更新时间 (UTC):2024-11-09。"],[[["This documentation describes the Presentation resource within the Google Slides API, including its JSON representation and associated methods."],["The Presentation resource represents a Google Slides presentation and contains data like slides, layouts, masters, and page size."],["Several methods are available to interact with presentations, including `batchUpdate`, `create`, and `get` which can update, create or retrieve presentations respectively."],["The JSON structure of a Presentation object includes fields like `presentationId`, `slides`, `title`, `masters`, `layouts`, and more."]]],["This content outlines the structure and functionality of a Google Slides presentation. Key information includes the `presentationId`, `pageSize`, `title`, `locale`, and `revisionId`. A presentation contains `slides`, `masters`, and `layouts`, each with defined properties. `Masters` provide default styles, while `layouts` dictate content arrangement. `notesMaster` defines properties for notes pages. Key actions involve creating, retrieving, and updating presentations via `create`, `get`, and `batchUpdate` methods respectively.\n"]]