Images
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
图片
JSON 表示法
|
{
"contentUrl": string,
"imageProperties": {
object (ImageProperties )
},
"sourceUrl": string,
"placeholder": {
object (Placeholder )
}
}
|
田野
|
contentUrl
|
string
图片的网址,默认有效期为 30 分钟。此网址使用请求者的账号进行标记。拥有该网址的任何人都可以以原始请求者的身份有效访问图片。如果演示文稿的共享设置更改,则可能会失去对图片的访问权限。
|
imageProperties
|
object (ImageProperties )
图片的属性。
|
sourceUrl
|
string
来源网址是用于插入图片的网址。来源网址可以为空。
|
placeholder
|
object (Placeholder )
占位符是从布局和母版上的对应占位符继承的页面元素。
如果设置了该属性,则该图片为占位符图片,任何继承的属性都可以通过查看由
Placeholder.parent_object_id
字段。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-03-21。
[null,null,["最后更新时间 (UTC):2025-03-21。"],[],[],null,["# Images\n\n### Image\n\n\nA\n[PageElement](/workspace/slides/api/reference/rest/v1/presentations.pages#Page.PageElement)\nkind representing an image.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"contentUrl\": string, \"imageProperties\": { object (/workspace/slides/api/reference/rest/v1/presentations.pages/other#Page.ImageProperties) }, \"sourceUrl\": string, \"placeholder\": { object (/workspace/slides/api/reference/rest/v1/presentations.pages/other#Page.Placeholder) } } ``` |\n\n| Fields ||\n|-------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `contentUrl` | `string` An URL to an image with a default lifetime of 30 minutes. This URL is tagged with the account of the requester. Anyone with the URL effectively accesses the image as the original requester. Access to the image may be lost if the presentation's sharing settings change. |\n| `imageProperties` | `object (`[ImageProperties](/workspace/slides/api/reference/rest/v1/presentations.pages/other#Page.ImageProperties)`)` The properties of the image. |\n| `sourceUrl` | `string` The source URL is the URL used to insert the image. The source URL can be empty. |\n| `placeholder` | `object (`[Placeholder](/workspace/slides/api/reference/rest/v1/presentations.pages/other#Page.Placeholder)`)` Placeholders are page elements that inherit from corresponding placeholders on layouts and masters. If set, the image is a placeholder image and any inherited properties can be resolved by looking at the parent placeholder identified by the [Placeholder.parent_object_id](/workspace/slides/api/reference/rest/v1/presentations.pages/other#Page.Placeholder.FIELDS.parent_object_id) field. |"]]