Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists the changes for a user or Team Drive.
See: Drive API Reference for drive.changes.list
.
Synopsis
- 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))))))))))))
- changesList :: Text -> ChangesList
- data ChangesList
- clIncludeTeamDriveItems :: Lens' ChangesList Bool
- clIncludeCorpusRemovals :: Lens' ChangesList Bool
- clTeamDriveId :: Lens' ChangesList (Maybe Text)
- clRestrictToMyDrive :: Lens' ChangesList Bool
- clSpaces :: Lens' ChangesList Text
- clPageToken :: Lens' ChangesList Text
- clPageSize :: Lens' ChangesList Int32
- clIncludeRemoved :: Lens' ChangesList Bool
- clSupportsTeamDrives :: Lens' ChangesList Bool
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
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
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.