gogol-slides-0.4.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 "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
Eq PresentationsBatchUpdate Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.BatchUpdate

Data PresentationsBatchUpdate Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.BatchUpdate

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 # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.BatchUpdate

Generic PresentationsBatchUpdate Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.BatchUpdate

Associated Types

type Rep PresentationsBatchUpdate :: Type -> Type #

GoogleRequest PresentationsBatchUpdate Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.BatchUpdate

type Rep PresentationsBatchUpdate Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.BatchUpdate

type Rep PresentationsBatchUpdate = D1 (MetaData "PresentationsBatchUpdate" "Network.Google.Resource.Slides.Presentations.BatchUpdate" "gogol-slides-0.4.0-HrNqovYsi7t4Hm1FVW5SjL" False) (C1 (MetaCons "PresentationsBatchUpdate'" PrefixI True) ((S1 (MetaSel (Just "_pbuXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pbuUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pbuAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pbuUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pbuPresentationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_pbuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BatchUpdatePresentationRequest) :*: S1 (MetaSel (Just "_pbuCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes PresentationsBatchUpdate Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.BatchUpdate

type Scopes PresentationsBatchUpdate = "https://www.googleapis.com/auth/drive" ': ("https://www.googleapis.com/auth/drive.file" ': ("https://www.googleapis.com/auth/drive.readonly" ': ("https://www.googleapis.com/auth/presentations" ': ("https://www.googleapis.com/auth/spreadsheets" ': ("https://www.googleapis.com/auth/spreadsheets.readonly" ': ([] :: [Symbol]))))))
type Rs PresentationsBatchUpdate Source # 
Instance details

Defined in Network.Google.Resource.Slides.Presentations.BatchUpdate

Request Lenses

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

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

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.