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 |
Take action on Chrome OS Device
See: Admin Directory API Reference for directory.chromeosdevices.action
.
Synopsis
- type ChromeosDevicesActionResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("chromeos" :> (Capture "resourceId" Text :> ("action" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ChromeOSDeviceAction :> Post '[JSON] ()))))))))))
- chromeosDevicesAction :: Text -> ChromeOSDeviceAction -> Text -> ChromeosDevicesAction
- data ChromeosDevicesAction
- cdaResourceId :: Lens' ChromeosDevicesAction Text
- cdaPayload :: Lens' ChromeosDevicesAction ChromeOSDeviceAction
- cdaCustomerId :: Lens' ChromeosDevicesAction Text
REST Resource
type ChromeosDevicesActionResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("chromeos" :> (Capture "resourceId" Text :> ("action" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ChromeOSDeviceAction :> Post '[JSON] ())))))))))) Source #
A resource alias for directory.chromeosdevices.action
method which the
ChromeosDevicesAction
request conforms to.
Creating a Request
chromeosDevicesAction Source #
Creates a value of ChromeosDevicesAction
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ChromeosDevicesAction Source #
Take action on Chrome OS Device
See: chromeosDevicesAction
smart constructor.
Instances
Request Lenses
cdaResourceId :: Lens' ChromeosDevicesAction Text Source #
Immutable ID of Chrome OS Device
cdaPayload :: Lens' ChromeosDevicesAction ChromeOSDeviceAction Source #
Multipart request metadata.
cdaCustomerId :: Lens' ChromeosDevicesAction Text Source #
Immutable ID of the G Suite account