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 shared 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 "includeItemsFromAllDrives" Bool :> (QueryParam "supportsAllDrives" Bool :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "includeRemoved" Bool :> (QueryParam "supportsTeamDrives" Bool :> (QueryParam "driveId" Text :> (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
- clIncludeItemsFromAllDrives :: Lens' ChangesList Bool
- clSupportsAllDrives :: Lens' ChangesList Bool
- clPageToken :: Lens' ChangesList Text
- clPageSize :: Lens' ChangesList Int32
- clIncludeRemoved :: Lens' ChangesList Bool
- clSupportsTeamDrives :: Lens' ChangesList Bool
- clDriveId :: Lens' ChangesList (Maybe Text)
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 "includeItemsFromAllDrives" Bool :> (QueryParam "supportsAllDrives" Bool :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "includeRemoved" Bool :> (QueryParam "supportsTeamDrives" Bool :> (QueryParam "driveId" Text :> (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 shared drive.
See: changesList
smart constructor.
Instances
Request Lenses
clIncludeTeamDriveItems :: Lens' ChangesList Bool Source #
Deprecated use includeItemsFromAllDrives instead.
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 #
Deprecated use driveId instead.
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'.
clIncludeItemsFromAllDrives :: Lens' ChangesList Bool Source #
Whether both My Drive and shared drive items should be included in results.
clSupportsAllDrives :: Lens' ChangesList Bool Source #
Whether the requesting application supports both My Drives and shared drives.
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 #
Deprecated use supportsAllDrives instead.