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 |
Updates a Team Drive's metadata
See: Drive API Reference for drive.teamdrives.update
.
Synopsis
- type TeamdrivesUpdateResource = "drive" :> ("v3" :> ("teamdrives" :> (Capture "teamDriveId" Text :> (QueryParam "useDomainAdminAccess" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TeamDrive :> Patch '[JSON] TeamDrive))))))
- teamdrivesUpdate :: TeamDrive -> Text -> TeamdrivesUpdate
- data TeamdrivesUpdate
- tuPayload :: Lens' TeamdrivesUpdate TeamDrive
- tuTeamDriveId :: Lens' TeamdrivesUpdate Text
- tuUseDomainAdminAccess :: Lens' TeamdrivesUpdate Bool
REST Resource
type TeamdrivesUpdateResource = "drive" :> ("v3" :> ("teamdrives" :> (Capture "teamDriveId" Text :> (QueryParam "useDomainAdminAccess" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TeamDrive :> Patch '[JSON] TeamDrive)))))) Source #
A resource alias for drive.teamdrives.update
method which the
TeamdrivesUpdate
request conforms to.
Creating a Request
Creates a value of TeamdrivesUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TeamdrivesUpdate Source #
Updates a Team Drive's metadata
See: teamdrivesUpdate
smart constructor.
Instances
Request Lenses
tuTeamDriveId :: Lens' TeamdrivesUpdate Text Source #
The ID of the Team Drive
tuUseDomainAdminAccess :: Lens' TeamdrivesUpdate 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.