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

Contents

Description

Lists changes for a user.

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

Synopsis

REST Resource

type ChangesListResource = "drive" :> ("v3" :> ("changes" :> (QueryParam "pageToken" Text :> (QueryParam "restrictToMyDrive" Bool :> (QueryParam "spaces" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "includeRemoved" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] ChangeList)))))))) #

A resource alias for drive.changes.list method which the ChangesList request conforms to.

Creating a Request

changesList #

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

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

data ChangesList #

Lists changes for a user.

See: changesList smart constructor.

Instances

Eq ChangesList # 
Data ChangesList # 

Methods

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

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

toConstr :: ChangesList -> Constr #

dataTypeOf :: ChangesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ChangesList # 
Generic ChangesList # 

Associated Types

type Rep ChangesList :: * -> * #

GoogleRequest ChangesList # 

Associated Types

type Rs ChangesList :: * #

type Scopes ChangesList :: [Symbol] #

type Rep ChangesList # 
type Rep ChangesList = D1 (MetaData "ChangesList" "Network.Google.Resource.Drive.Changes.List" "gogol-drive-0.3.0-CdK65IBAdteKh4wQwGEtbe" False) (C1 (MetaCons "ChangesList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_clRestrictToMyDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) (S1 (MetaSel (Just Symbol "_clSpaces") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_clPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_clPageSize") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 (Textual Int32))) (S1 (MetaSel (Just Symbol "_clIncludeRemoved") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))))))
type Scopes ChangesList # 
type Scopes ChangesList = (:) Symbol "https://www.googleapis.com/auth/drive" ((:) Symbol "https://www.googleapis.com/auth/drive.appdata" ((:) Symbol "https://www.googleapis.com/auth/drive.file" ((:) Symbol "https://www.googleapis.com/auth/drive.metadata" ((:) Symbol "https://www.googleapis.com/auth/drive.metadata.readonly" ((:) Symbol "https://www.googleapis.com/auth/drive.photos.readonly" ((:) Symbol "https://www.googleapis.com/auth/drive.readonly" ([] Symbol)))))))
type Rs ChangesList # 

Request Lenses

clRestrictToMyDrive :: Lens' ChangesList Bool #

Whether to restrict the results to changes inside the My Drive hierarchy. This omits changes to files such as those in the Application Data folder or shared files which have not been added to My Drive.

clSpaces :: Lens' ChangesList Text #

A comma-separated list of spaces to query within the user corpus. Supported values are 'drive', 'appDataFolder' and 'photos'.

clPageToken :: Lens' ChangesList Text #

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 or to the response from the getStartPageToken method.

clPageSize :: Lens' ChangesList Int32 #

The maximum number of changes to return per page.

clIncludeRemoved :: Lens' ChangesList Bool #

Whether to include changes indicating that items have left the view of the changes list, for example by deletion or lost access.