| 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.MobileDevices.Action
Description
Take action on Mobile Device
See: Admin Directory API Reference for directory.mobiledevices.action.
Synopsis
- type MobileDevicesActionResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("mobile" :> (Capture "resourceId" Text :> ("action" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] MobileDeviceAction :> Post '[JSON] ()))))))))))
- mobileDevicesAction :: Text -> MobileDeviceAction -> Text -> MobileDevicesAction
- data MobileDevicesAction
- mdaResourceId :: Lens' MobileDevicesAction Text
- mdaPayload :: Lens' MobileDevicesAction MobileDeviceAction
- mdaCustomerId :: Lens' MobileDevicesAction Text
REST Resource
type MobileDevicesActionResource = "admin" :> ("directory" :> ("v1" :> ("customer" :> (Capture "customerId" Text :> ("devices" :> ("mobile" :> (Capture "resourceId" Text :> ("action" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] MobileDeviceAction :> Post '[JSON] ())))))))))) Source #
A resource alias for directory.mobiledevices.action method which the
MobileDevicesAction request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> MobileDeviceAction | |
| -> Text | |
| -> MobileDevicesAction |
Creates a value of MobileDevicesAction with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MobileDevicesAction Source #
Take action on Mobile Device
See: mobileDevicesAction smart constructor.
Instances
Request Lenses
mdaResourceId :: Lens' MobileDevicesAction Text Source #
Immutable ID of Mobile Device
mdaPayload :: Lens' MobileDevicesAction MobileDeviceAction Source #
Multipart request metadata.
mdaCustomerId :: Lens' MobileDevicesAction Text Source #
Immutable ID of the G Suite account