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 |
Adds or updates a per-device managed configuration for an app for the specified device. This method supports patch semantics.
See: Google Play EMM API Reference for androidenterprise.managedconfigurationsfordevice.patch
.
Synopsis
- type ManagedConfigurationsforDevicePatchResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("devices" :> (Capture "deviceId" Text :> ("managedConfigurationsForDevice" :> (Capture "managedConfigurationForDeviceId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ManagedConfiguration :> Patch '[JSON] ManagedConfiguration)))))))))))
- managedConfigurationsforDevicePatch :: Text -> ManagedConfiguration -> Text -> Text -> Text -> ManagedConfigurationsforDevicePatch
- data ManagedConfigurationsforDevicePatch
- mcdpEnterpriseId :: Lens' ManagedConfigurationsforDevicePatch Text
- mcdpPayload :: Lens' ManagedConfigurationsforDevicePatch ManagedConfiguration
- mcdpUserId :: Lens' ManagedConfigurationsforDevicePatch Text
- mcdpDeviceId :: Lens' ManagedConfigurationsforDevicePatch Text
- mcdpManagedConfigurationForDeviceId :: Lens' ManagedConfigurationsforDevicePatch Text
REST Resource
type ManagedConfigurationsforDevicePatchResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("devices" :> (Capture "deviceId" Text :> ("managedConfigurationsForDevice" :> (Capture "managedConfigurationForDeviceId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ManagedConfiguration :> Patch '[JSON] ManagedConfiguration))))))))))) Source #
A resource alias for androidenterprise.managedconfigurationsfordevice.patch
method which the
ManagedConfigurationsforDevicePatch
request conforms to.
Creating a Request
managedConfigurationsforDevicePatch Source #
:: Text | |
-> ManagedConfiguration | |
-> Text | |
-> Text | |
-> Text | |
-> ManagedConfigurationsforDevicePatch |
Creates a value of ManagedConfigurationsforDevicePatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagedConfigurationsforDevicePatch Source #
Adds or updates a per-device managed configuration for an app for the specified device. This method supports patch semantics.
See: managedConfigurationsforDevicePatch
smart constructor.
Instances
Request Lenses
mcdpEnterpriseId :: Lens' ManagedConfigurationsforDevicePatch Text Source #
The ID of the enterprise.
mcdpPayload :: Lens' ManagedConfigurationsforDevicePatch ManagedConfiguration Source #
Multipart request metadata.
mcdpUserId :: Lens' ManagedConfigurationsforDevicePatch Text Source #
The ID of the user.
mcdpDeviceId :: Lens' ManagedConfigurationsforDevicePatch Text Source #
The Android ID of the device.
mcdpManagedConfigurationForDeviceId :: Lens' ManagedConfigurationsforDevicePatch Text Source #
The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm".