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 |
Gets a Team Drive's metadata by ID.
See: Drive API Reference for drive.teamdrives.get
.
Synopsis
- type TeamdrivesGetResource = "drive" :> ("v3" :> ("teamdrives" :> (Capture "teamDriveId" Text :> (QueryParam "useDomainAdminAccess" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] TeamDrive)))))
- teamdrivesGet :: Text -> TeamdrivesGet
- data TeamdrivesGet
- tgTeamDriveId :: Lens' TeamdrivesGet Text
- tgUseDomainAdminAccess :: Lens' TeamdrivesGet Bool
REST Resource
type TeamdrivesGetResource = "drive" :> ("v3" :> ("teamdrives" :> (Capture "teamDriveId" Text :> (QueryParam "useDomainAdminAccess" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] TeamDrive))))) Source #
A resource alias for drive.teamdrives.get
method which the
TeamdrivesGet
request conforms to.
Creating a Request
Creates a value of TeamdrivesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TeamdrivesGet Source #
Gets a Team Drive's metadata by ID.
See: teamdrivesGet
smart constructor.
Instances
Request Lenses
tgTeamDriveId :: Lens' TeamdrivesGet Text Source #
The ID of the Team Drive
tgUseDomainAdminAccess :: Lens' TeamdrivesGet Bool Source #
Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the Team Drive belongs.