| 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.Drives.Update
Description
Updates the metadate for a shared drive.
See: Drive API Reference for drive.drives.update.
Synopsis
- type DrivesUpdateResource = "drive" :> ("v3" :> ("drives" :> (Capture "driveId" Text :> (QueryParam "useDomainAdminAccess" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Drive :> Patch '[JSON] Drive))))))
- drivesUpdate :: Drive -> Text -> DrivesUpdate
- data DrivesUpdate
- dPayload :: Lens' DrivesUpdate Drive
- dUseDomainAdminAccess :: Lens' DrivesUpdate Bool
- dDriveId :: Lens' DrivesUpdate Text
REST Resource
type DrivesUpdateResource = "drive" :> ("v3" :> ("drives" :> (Capture "driveId" Text :> (QueryParam "useDomainAdminAccess" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Drive :> Patch '[JSON] Drive)))))) Source #
A resource alias for drive.drives.update method which the
DrivesUpdate request conforms to.
Creating a Request
Arguments
| :: Drive | |
| -> Text | |
| -> DrivesUpdate |
Creates a value of DrivesUpdate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DrivesUpdate Source #
Updates the metadate for a shared drive.
See: drivesUpdate smart constructor.
Instances
Request Lenses
dUseDomainAdminAccess :: Lens' DrivesUpdate 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 shared drive belongs.