gogol-drive-0.4.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.List

Contents

Description

Lists a file's revisions.

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

Synopsis

REST Resource

type RevisionsListResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("revisions" :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] RevisionList))))))) Source #

A resource alias for drive.revisions.list method which the RevisionsList request conforms to.

Creating a Request

revisionsList Source #

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

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

data RevisionsList Source #

Lists a file's revisions.

See: revisionsList smart constructor.

Instances
Eq RevisionsList Source # 
Instance details

Defined in Network.Google.Resource.Drive.Revisions.List

Data RevisionsList Source # 
Instance details

Defined in Network.Google.Resource.Drive.Revisions.List

Methods

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

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

toConstr :: RevisionsList -> Constr #

dataTypeOf :: RevisionsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RevisionsList Source # 
Instance details

Defined in Network.Google.Resource.Drive.Revisions.List

Generic RevisionsList Source # 
Instance details

Defined in Network.Google.Resource.Drive.Revisions.List

Associated Types

type Rep RevisionsList :: Type -> Type #

GoogleRequest RevisionsList Source # 
Instance details

Defined in Network.Google.Resource.Drive.Revisions.List

Associated Types

type Rs RevisionsList :: Type #

type Scopes RevisionsList :: [Symbol] #

type Rep RevisionsList Source # 
Instance details

Defined in Network.Google.Resource.Drive.Revisions.List

type Rep RevisionsList = D1 (MetaData "RevisionsList" "Network.Google.Resource.Drive.Revisions.List" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "RevisionsList'" PrefixI True) (S1 (MetaSel (Just "_rllPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_rllFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rllPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32)))))
type Scopes RevisionsList Source # 
Instance details

Defined in Network.Google.Resource.Drive.Revisions.List

type Scopes RevisionsList = "https://www.googleapis.com/auth/drive" ': ("https://www.googleapis.com/auth/drive.appdata" ': ("https://www.googleapis.com/auth/drive.file" ': ("https://www.googleapis.com/auth/drive.metadata" ': ("https://www.googleapis.com/auth/drive.metadata.readonly" ': ("https://www.googleapis.com/auth/drive.photos.readonly" ': ("https://www.googleapis.com/auth/drive.readonly" ': ([] :: [Symbol])))))))
type Rs RevisionsList Source # 
Instance details

Defined in Network.Google.Resource.Drive.Revisions.List

Request Lenses

rllPageToken :: Lens' RevisionsList (Maybe Text) Source #

The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.

rllFileId :: Lens' RevisionsList Text Source #

The ID of the file.

rllPageSize :: Lens' RevisionsList Int32 Source #

The maximum number of revisions to return per page.