Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Applies 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.
See: Google Slides API Reference for slides.presentations.batchUpdate
.
Synopsis
- type PresentationsBatchUpdateResource = "v1" :> ("presentations" :> (CaptureMode "presentationId" "batchUpdate" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchUpdatePresentationRequest :> Post '[JSON] BatchUpdatePresentationResponse)))))))))
- presentationsBatchUpdate :: Text -> BatchUpdatePresentationRequest -> PresentationsBatchUpdate
- data PresentationsBatchUpdate
- pbuXgafv :: Lens' PresentationsBatchUpdate (Maybe Xgafv)
- pbuUploadProtocol :: Lens' PresentationsBatchUpdate (Maybe Text)
- pbuAccessToken :: Lens' PresentationsBatchUpdate (Maybe Text)
- pbuUploadType :: Lens' PresentationsBatchUpdate (Maybe Text)
- pbuPresentationId :: Lens' PresentationsBatchUpdate Text
- pbuPayload :: Lens' PresentationsBatchUpdate BatchUpdatePresentationRequest
- pbuCallback :: Lens' PresentationsBatchUpdate (Maybe Text)
REST Resource
type PresentationsBatchUpdateResource = "v1" :> ("presentations" :> (CaptureMode "presentationId" "batchUpdate" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchUpdatePresentationRequest :> Post '[JSON] BatchUpdatePresentationResponse))))))))) Source #
A resource alias for slides.presentations.batchUpdate
method which the
PresentationsBatchUpdate
request conforms to.
Creating a Request
presentationsBatchUpdate Source #
Creates a value of PresentationsBatchUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PresentationsBatchUpdate Source #
Applies 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.
See: presentationsBatchUpdate
smart constructor.
Instances
Request Lenses
pbuUploadProtocol :: Lens' PresentationsBatchUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pbuAccessToken :: Lens' PresentationsBatchUpdate (Maybe Text) Source #
OAuth access token.
pbuUploadType :: Lens' PresentationsBatchUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pbuPresentationId :: Lens' PresentationsBatchUpdate Text Source #
The presentation to apply the updates to.
pbuPayload :: Lens' PresentationsBatchUpdate BatchUpdatePresentationRequest Source #
Multipart request metadata.
pbuCallback :: Lens' PresentationsBatchUpdate (Maybe Text) Source #
JSONP