| 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 |
Network.Google.Resource.Drive.Teamdrives.Delete
Description
Permanently deletes a Team Drive for which the user is an organizer. The Team Drive cannot contain any untrashed items.
See: Drive API Reference for drive.teamdrives.delete.
Synopsis
- type TeamdrivesDeleteResource = "drive" :> ("v3" :> ("teamdrives" :> (Capture "teamDriveId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ()))))
- teamdrivesDelete :: Text -> TeamdrivesDelete
- data TeamdrivesDelete
- tdTeamDriveId :: Lens' TeamdrivesDelete Text
REST Resource
type TeamdrivesDeleteResource = "drive" :> ("v3" :> ("teamdrives" :> (Capture "teamDriveId" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] ())))) Source #
A resource alias for drive.teamdrives.delete method which the
TeamdrivesDelete request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> TeamdrivesDelete |
Creates a value of TeamdrivesDelete with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TeamdrivesDelete Source #
Permanently deletes a Team Drive for which the user is an organizer. The Team Drive cannot contain any untrashed items.
See: teamdrivesDelete smart constructor.
Instances
Request Lenses
tdTeamDriveId :: Lens' TeamdrivesDelete Text Source #
The ID of the Team Drive