gogol-drive-0.2.0: Google Drive 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.Drive.Revisions.Update

Contents

Description

Updates a revision with patch semantics.

See: Drive API Reference for drive.revisions.update.

Synopsis

REST Resource

type RevisionsUpdateResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("revisions" :> (Capture "revisionId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Revision :> Patch '[JSON] Revision))))))) Source #

A resource alias for drive.revisions.update method which the RevisionsUpdate request conforms to.

Creating a Request

revisionsUpdate Source #

Creates a value of RevisionsUpdate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data RevisionsUpdate Source #

Updates a revision with patch semantics.

See: revisionsUpdate smart constructor.

Instances

Eq RevisionsUpdate Source # 
Data RevisionsUpdate Source # 

Methods

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

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

toConstr :: RevisionsUpdate -> Constr #

dataTypeOf :: RevisionsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RevisionsUpdate Source # 
Generic RevisionsUpdate Source # 
GoogleRequest RevisionsUpdate Source # 
type Rep RevisionsUpdate Source # 
type Rep RevisionsUpdate = D1 (MetaData "RevisionsUpdate" "Network.Google.Resource.Drive.Revisions.Update" "gogol-drive-0.2.0-AwKnKoQD87OEzHCw3nUjZs" False) (C1 (MetaCons "RevisionsUpdate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_revPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Revision)) ((:*:) (S1 (MetaSel (Just Symbol "_revFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_revRevisionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes RevisionsUpdate Source # 
type Scopes RevisionsUpdate = (:) Symbol "https://www.googleapis.com/auth/drive" ((:) Symbol "https://www.googleapis.com/auth/drive.appdata" ((:) Symbol "https://www.googleapis.com/auth/drive.file" ([] Symbol)))
type Rs RevisionsUpdate Source # 

Request Lenses

revPayload :: Lens' RevisionsUpdate Revision Source #

Multipart request metadata.

revFileId :: Lens' RevisionsUpdate Text Source #

The ID of the file.

revRevisionId :: Lens' RevisionsUpdate Text Source #

The ID of the revision.