gogol-slides-0.3.0: Google Slides SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Slides.Presentations.BatchUpdate

Contents

Description

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

REST Resource

type PresentationsBatchUpdateResource = "v1" :> ("presentations" :> (CaptureMode "presentationId" "batchUpdate" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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

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

Eq PresentationsBatchUpdate Source # 
Data PresentationsBatchUpdate Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PresentationsBatchUpdate -> c PresentationsBatchUpdate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PresentationsBatchUpdate #

toConstr :: PresentationsBatchUpdate -> Constr #

dataTypeOf :: PresentationsBatchUpdate -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c PresentationsBatchUpdate) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PresentationsBatchUpdate) #

gmapT :: (forall b. Data b => b -> b) -> PresentationsBatchUpdate -> PresentationsBatchUpdate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PresentationsBatchUpdate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PresentationsBatchUpdate -> r #

gmapQ :: (forall d. Data d => d -> u) -> PresentationsBatchUpdate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PresentationsBatchUpdate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PresentationsBatchUpdate -> m PresentationsBatchUpdate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PresentationsBatchUpdate -> m PresentationsBatchUpdate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PresentationsBatchUpdate -> m PresentationsBatchUpdate #

Show PresentationsBatchUpdate Source # 
Generic PresentationsBatchUpdate Source # 
GoogleRequest PresentationsBatchUpdate Source # 
type Rep PresentationsBatchUpdate Source # 
type Scopes PresentationsBatchUpdate Source # 
type Scopes PresentationsBatchUpdate = (:) Symbol "https://www.googleapis.com/auth/drive" ((:) Symbol "https://www.googleapis.com/auth/drive.readonly" ((:) Symbol "https://www.googleapis.com/auth/presentations" ((:) Symbol "https://www.googleapis.com/auth/spreadsheets" ((:) Symbol "https://www.googleapis.com/auth/spreadsheets.readonly" ([] Symbol)))))
type Rs PresentationsBatchUpdate Source # 

Request Lenses

pbuUploadProtocol :: Lens' PresentationsBatchUpdate (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

pbuPp :: Lens' PresentationsBatchUpdate Bool Source #

Pretty-print response.

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.