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