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 |
Update Chrome OS Device. This method supports patch semantics.
See: Admin Directory API Reference for directory.chromeosdevices.patch
.
Synopsis
- type ChromeosDevicesPatchResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("chromeos" :> (Capture "deviceId" Text :> (QueryParam "projection" ChromeosDevicesPatchProjection :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ChromeOSDevice :> Patch '[JSON] ChromeOSDevice))))))))))
- chromeosDevicesPatch :: ChromeOSDevice -> Text -> Text -> ChromeosDevicesPatch
- data ChromeosDevicesPatch
- cdpPayload :: Lens' ChromeosDevicesPatch ChromeOSDevice
- cdpCustomerId :: Lens' ChromeosDevicesPatch Text
- cdpDeviceId :: Lens' ChromeosDevicesPatch Text
- cdpProjection :: Lens' ChromeosDevicesPatch (Maybe ChromeosDevicesPatchProjection)
REST Resource
type ChromeosDevicesPatchResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("chromeos" :> (Capture "deviceId" Text :> (QueryParam "projection" ChromeosDevicesPatchProjection :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ChromeOSDevice :> Patch '[JSON] ChromeOSDevice)))))))))) Source #
A resource alias for directory.chromeosdevices.patch
method which the
ChromeosDevicesPatch
request conforms to.
Creating a Request
Creates a value of ChromeosDevicesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ChromeosDevicesPatch Source #
Update Chrome OS Device. This method supports patch semantics.
See: chromeosDevicesPatch
smart constructor.
Instances
Request Lenses
cdpPayload :: Lens' ChromeosDevicesPatch ChromeOSDevice Source #
Multipart request metadata.
cdpCustomerId :: Lens' ChromeosDevicesPatch Text Source #
Immutable ID of the G Suite account
cdpDeviceId :: Lens' ChromeosDevicesPatch Text Source #
Immutable ID of Chrome OS Device
cdpProjection :: Lens' ChromeosDevicesPatch (Maybe ChromeosDevicesPatchProjection) Source #
Restrict information returned to a set of selected fields.