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 user's shared drives.
See: Drive API Reference for drive.drives.list
.
Synopsis
- type DrivesListResource = "drive" :> ("v3" :> ("drives" :> (QueryParam "q" Text :> (QueryParam "pageToken" Text :> (QueryParam "useDomainAdminAccess" Bool :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] DriveList)))))))
- drivesList :: DrivesList
- data DrivesList
- dlQ :: Lens' DrivesList (Maybe Text)
- dlPageToken :: Lens' DrivesList (Maybe Text)
- dlUseDomainAdminAccess :: Lens' DrivesList Bool
- dlPageSize :: Lens' DrivesList Int32
REST Resource
type DrivesListResource = "drive" :> ("v3" :> ("drives" :> (QueryParam "q" Text :> (QueryParam "pageToken" Text :> (QueryParam "useDomainAdminAccess" Bool :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] DriveList))))))) Source #
A resource alias for drive.drives.list
method which the
DrivesList
request conforms to.
Creating a Request
drivesList :: DrivesList Source #
Creates a value of DrivesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DrivesList Source #
Lists the user's shared drives.
See: drivesList
smart constructor.
Instances
Request Lenses
dlPageToken :: Lens' DrivesList (Maybe Text) Source #
Page token for shared drives.
dlUseDomainAdminAccess :: Lens' DrivesList Bool Source #
Issue the request as a domain administrator; if set to true, then all shared drives of the domain in which the requester is an administrator are returned.
dlPageSize :: Lens' DrivesList Int32 Source #
Maximum number of shared drives to return.