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 |
Move or insert multiple Chrome OS Devices to organizational unit
See: Admin Directory API Reference for directory.chromeosdevices.moveDevicesToOu
.
Synopsis
- type ChromeosDevicesMoveDevicesToOuResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("chromeos" :> ("moveDevicesToOu" :> (QueryParam "orgUnitPath" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ChromeOSMoveDevicesToOu :> Post '[JSON] ()))))))))))
- chromeosDevicesMoveDevicesToOu :: ChromeOSMoveDevicesToOu -> Text -> Text -> ChromeosDevicesMoveDevicesToOu
- data ChromeosDevicesMoveDevicesToOu
- cdmdtoPayload :: Lens' ChromeosDevicesMoveDevicesToOu ChromeOSMoveDevicesToOu
- cdmdtoOrgUnitPath :: Lens' ChromeosDevicesMoveDevicesToOu Text
- cdmdtoCustomerId :: Lens' ChromeosDevicesMoveDevicesToOu Text
REST Resource
type ChromeosDevicesMoveDevicesToOuResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("chromeos" :> ("moveDevicesToOu" :> (QueryParam "orgUnitPath" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ChromeOSMoveDevicesToOu :> Post '[JSON] ())))))))))) Source #
A resource alias for directory.chromeosdevices.moveDevicesToOu
method which the
ChromeosDevicesMoveDevicesToOu
request conforms to.
Creating a Request
chromeosDevicesMoveDevicesToOu Source #
Creates a value of ChromeosDevicesMoveDevicesToOu
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ChromeosDevicesMoveDevicesToOu Source #
Move or insert multiple Chrome OS Devices to organizational unit
See: chromeosDevicesMoveDevicesToOu
smart constructor.
Instances
Request Lenses
cdmdtoPayload :: Lens' ChromeosDevicesMoveDevicesToOu ChromeOSMoveDevicesToOu Source #
Multipart request metadata.
cdmdtoOrgUnitPath :: Lens' ChromeosDevicesMoveDevicesToOu Text Source #
Full path of the target organizational unit or its ID
cdmdtoCustomerId :: Lens' ChromeosDevicesMoveDevicesToOu Text Source #
Immutable ID of the G Suite account