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.Changes.List

Contents

Description

Lists the changes for a user or Team Drive.

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

Synopsis

REST Resource

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

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

Creating a Request

changesList Source #

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 Source #

Lists the changes for a user or Team Drive.

See: changesList smart constructor.

Instances
Eq ChangesList Source # 
Instance details

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

Data ChangesList Source # 
Instance details

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

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

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

Generic ChangesList Source # 
Instance details

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

Associated Types

type Rep ChangesList :: Type -> Type #

GoogleRequest ChangesList Source # 
Instance details

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

Associated Types

type Rs ChangesList :: Type #

type Scopes ChangesList :: [Symbol] #

type Rep ChangesList Source # 
Instance details

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

type Rep ChangesList = D1 (MetaData "ChangesList" "Network.Google.Resource.Drive.Changes.List" "gogol-drive-0.4.0-C4qjNjFgJei6ubblDJk14k" False) (C1 (MetaCons "ChangesList'" PrefixI True) (((S1 (MetaSel (Just "_clIncludeTeamDriveItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "_clIncludeCorpusRemovals") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)) :*: (S1 (MetaSel (Just "_clTeamDriveId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_clRestrictToMyDrive") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))) :*: ((S1 (MetaSel (Just "_clSpaces") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_clPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_clPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32)) :*: (S1 (MetaSel (Just "_clIncludeRemoved") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool) :*: S1 (MetaSel (Just "_clSupportsTeamDrives") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))))))
type Scopes ChangesList Source # 
Instance details

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

type Scopes ChangesList = "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 ChangesList Source # 
Instance details

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

Request Lenses

clIncludeTeamDriveItems :: Lens' ChangesList Bool Source #

Whether Team Drive files or changes should be included in results.

clIncludeCorpusRemovals :: Lens' ChangesList Bool Source #

Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file.

clTeamDriveId :: Lens' ChangesList (Maybe Text) Source #

The Team Drive from which changes will be returned. If specified the change IDs will be reflective of the Team Drive; use the combined Team Drive ID and change ID as an identifier.

clRestrictToMyDrive :: Lens' ChangesList Bool Source #

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 Source #

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

clPageToken :: Lens' ChangesList 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 or to the response from the getStartPageToken method.

clPageSize :: Lens' ChangesList Int32 Source #

The maximum number of changes to return per page.

clIncludeRemoved :: Lens' ChangesList Bool Source #

Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.

clSupportsTeamDrives :: Lens' ChangesList Bool Source #

Whether the requesting application supports Team Drives.