Images
Image
A
PageElement
kind representing an image.
JSON representation
|
{
"contentUrl": string,
"imageProperties": {
object (ImageProperties )
},
"sourceUrl": string,
"placeholder": {
object (Placeholder )
}
}
|
Fields
|
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.
|
imageProperties
|
object (ImageProperties )
The properties of the image.
|
sourceUrl
|
string
The source URL is the URL used to insert the image. The source URL can be empty.
|
placeholder
|
object (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
field.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-03 UTC.
[null,null,["Last updated 2024-09-03 UTC."],[[["Image PageElement represents images within Google Slides."],["It includes properties like `contentUrl`, `imageProperties`, `sourceUrl`, and `placeholder`."],["`contentUrl` provides a temporary URL for accessing the image."],["`placeholder` details if the image acts as a placeholder and inherits properties from parent layouts or masters."]]],["An image `PageElement` is defined by its `contentUrl`, `imageProperties`, `sourceUrl`, and optional `placeholder`. The `contentUrl` provides a temporary (30-minute) access URL tied to the requester's account. `imageProperties` details the image's attributes. The `sourceUrl` indicates where the image was inserted from. `Placeholder` signifies inherited properties from parent layouts or masters, resolvable via `parent_object_id`. These elements define the data and source of the image.\n"]]