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 欄位所標示的上層預留位置,即可解析任何繼承的屬性。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-03-21 (世界標準時間)。
[null,null,["上次更新時間: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. |"]]