Skip to main content

presentations

Overview

Namepresentations
TypeResource
Idgoogleworkspace.slides.presentations

Fields

NameDatatypeDescription
layoutsarrayThe layouts in the presentation. A layout is a template that determines how content is arranged and styled on the slides that inherit from that layout.
pageSizeobjectA width and height.
mastersarrayThe slide masters in the presentation. A slide master contains all common page elements and the common properties for a set of layouts. They serve three purposes: - Placeholder shapes on a master contain the default text styles and shape properties of all placeholder shapes on pages that use that master. - The master page properties define the common page properties inherited by its layouts. - Any other shapes on the master slide appear on all slides using that master, regardless of their layout.
presentationIdstringThe ID of the presentation.
notesMasterobjectA page in a presentation.
titlestringThe title of the presentation.
slidesarrayThe slides in the presentation. A slide inherits properties from a slide layout.
revisionIdstringOutput only. The revision ID of the presentation. Can be used in update requests to assert the presentation revision hasn't changed since the last read operation. Only populated if the user has edit access to the presentation. The revision ID is not a sequential number but a nebulous string. The format of the revision ID may change over time, so it should be treated opaquely. A returned revision ID is only guaranteed to be valid for 24 hours after it has been returned and cannot be shared across users. If the revision ID is unchanged between calls, then the presentation has not changed. Conversely, a changed ID (for the same presentation and user) usually means the presentation has been updated. However, a changed ID can also be due to internal factors such as ID format changes.
localestringThe locale of the presentation, as an IETF BCP 47 language tag.

Methods

NameAccessible byRequired ParamsDescription
getSELECTpresentationsIdGets the latest version of the specified presentation.
createINSERTCreates a blank presentation using the title given in the request. If a presentationId is provided, it is used as the ID of the new presentation. Otherwise, a new ID is generated. Other fields in the request, including any provided content, are ignored. Returns the created presentation.
batchUpdateEXECpresentationIdApplies one or more updates to the presentation. Each request is validated before being applied. If any request is not valid, then the entire request will fail and nothing will be applied. Some requests have replies to give you some information about how they are applied. Other requests do not need to return information; these each return an empty reply. The order of replies matches that of the requests. For example, suppose you call batchUpdate with four updates, and only the third one returns information. The response would have two empty replies: the reply to the third request, and another empty reply, in that order. Because other users may be editing the presentation, the presentation might not exactly reflect your changes: your changes may be altered with respect to collaborator changes. If there are no collaborators, the presentation should reflect your changes. In any case, the updates in your request are guaranteed to be applied together atomically.