| 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.Directory.ChromeosDevices.Update
Description
Update Chrome OS Device
See: Admin Directory API Reference for directory.chromeosdevices.update.
Synopsis
- type ChromeosDevicesUpdateResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("chromeos" :> (Capture "deviceId" Text :> (QueryParam "projection" ChromeosDevicesUpdateProjection :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ChromeOSDevice :> Put '[JSON] ChromeOSDevice))))))))))
- chromeosDevicesUpdate :: ChromeOSDevice -> Text -> Text -> ChromeosDevicesUpdate
- data ChromeosDevicesUpdate
- cduPayload :: Lens' ChromeosDevicesUpdate ChromeOSDevice
- cduCustomerId :: Lens' ChromeosDevicesUpdate Text
- cduDeviceId :: Lens' ChromeosDevicesUpdate Text
- cduProjection :: Lens' ChromeosDevicesUpdate (Maybe ChromeosDevicesUpdateProjection)
REST Resource
type ChromeosDevicesUpdateResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("chromeos" :> (Capture "deviceId" Text :> (QueryParam "projection" ChromeosDevicesUpdateProjection :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ChromeOSDevice :> Put '[JSON] ChromeOSDevice)))))))))) Source #
A resource alias for directory.chromeosdevices.update method which the
ChromeosDevicesUpdate request conforms to.
Creating a Request
chromeosDevicesUpdate Source #
Arguments
| :: ChromeOSDevice | |
| -> Text | |
| -> Text | |
| -> ChromeosDevicesUpdate |
Creates a value of ChromeosDevicesUpdate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ChromeosDevicesUpdate Source #
Update Chrome OS Device
See: chromeosDevicesUpdate smart constructor.
Instances
Request Lenses
cduPayload :: Lens' ChromeosDevicesUpdate ChromeOSDevice Source #
Multipart request metadata.
cduCustomerId :: Lens' ChromeosDevicesUpdate Text Source #
Immutable ID of the G Suite account
cduDeviceId :: Lens' ChromeosDevicesUpdate Text Source #
Immutable ID of Chrome OS Device
cduProjection :: Lens' ChromeosDevicesUpdate (Maybe ChromeosDevicesUpdateProjection) Source #
Restrict information returned to a set of selected fields.