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