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 changes for a user.
See: Drive API Reference for drive.changes.list
.
- 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))))))))
- changesList :: Text -> ChangesList
- data ChangesList
- clRestrictToMyDrive :: Lens' ChangesList Bool
- clSpaces :: Lens' ChangesList Text
- clPageToken :: Lens' ChangesList Text
- clPageSize :: Lens' ChangesList Int32
- clIncludeRemoved :: Lens' ChangesList Bool
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)))))))) 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 changes for a user.
See: changesList
smart constructor.
Request Lenses
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 left the view of the changes list, for example by deletion or lost access.