Images
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
รูปภาพ
ต
PageElement
เป็นตัวแทนรูปภาพ
การแสดง JSON
|
{
"contentUrl": string,
"imageProperties": {
object (ImageProperties )
},
"sourceUrl": string,
"placeholder": {
object (Placeholder )
}
}
|
ช่อง
|
contentUrl
|
string
URL ไปยังรูปภาพที่มีอายุการใช้งานเริ่มต้น 30 นาที URL นี้มีการติดแท็กด้วยบัญชีของผู้ขอ ทุกคนที่มี URL จะเข้าถึงรูปภาพดังกล่าวได้ในฐานะผู้ส่งคำขอต้นฉบับ คุณอาจเสียสิทธิ์เข้าถึงรูปภาพหากการตั้งค่าการแชร์ของงานนำเสนอมีการเปลี่ยนแปลง
|
imageProperties
|
object (ImageProperties )
พร็อพเพอร์ตี้ของรูปภาพ
|
sourceUrl
|
string
URL แหล่งที่มาคือ URL ที่ใช้ในการแทรกรูปภาพ URL แหล่งที่มาสามารถเว้นว่างได้
|
placeholder
|
object (Placeholder )
ตัวยึดตำแหน่งคือองค์ประกอบของหน้าที่รับค่าจากตัวยึดตำแหน่งที่สอดคล้องกันในเลย์เอาต์และต้นฉบับ
หากตั้งค่าไว้ รูปภาพจะเป็นรูปภาพตัวยึดตำแหน่งและพร็อพเพอร์ตี้ที่รับช่วงมาจะแก้ไขได้โดยการดูที่ตัวยึดตำแหน่งระดับบนสุดที่ระบุโดย
Placeholder.parent_object_id
ด้วย
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-03-21 UTC
[null,null,["อัปเดตล่าสุด 2025-03-21 UTC"],[],[],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. |"]]