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 the managed configuration settings for an app for the specified user. If you support the Managed configurations iframe, you can apply managed configurations to a user by specifying an mcmId and its associated configuration variables (if any) in the request. Alternatively, all EMMs can apply managed configurations by passing a list of managed properties.
See: Google Play EMM API Reference for androidenterprise.managedconfigurationsforuser.update
.
Synopsis
- type ManagedConfigurationsforUserUpdateResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("managedConfigurationsForUser" :> (Capture "managedConfigurationForUserId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ManagedConfiguration :> Put '[JSON] ManagedConfiguration)))))))))
- managedConfigurationsforUserUpdate :: Text -> ManagedConfiguration -> Text -> Text -> ManagedConfigurationsforUserUpdate
- data ManagedConfigurationsforUserUpdate
- mcuuEnterpriseId :: Lens' ManagedConfigurationsforUserUpdate Text
- mcuuPayload :: Lens' ManagedConfigurationsforUserUpdate ManagedConfiguration
- mcuuUserId :: Lens' ManagedConfigurationsforUserUpdate Text
- mcuuManagedConfigurationForUserId :: Lens' ManagedConfigurationsforUserUpdate Text
REST Resource
type ManagedConfigurationsforUserUpdateResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("managedConfigurationsForUser" :> (Capture "managedConfigurationForUserId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ManagedConfiguration :> Put '[JSON] ManagedConfiguration))))))))) Source #
A resource alias for androidenterprise.managedconfigurationsforuser.update
method which the
ManagedConfigurationsforUserUpdate
request conforms to.
Creating a Request
managedConfigurationsforUserUpdate Source #
Creates a value of ManagedConfigurationsforUserUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagedConfigurationsforUserUpdate Source #
Adds or updates the managed configuration settings for an app for the specified user. If you support the Managed configurations iframe, you can apply managed configurations to a user by specifying an mcmId and its associated configuration variables (if any) in the request. Alternatively, all EMMs can apply managed configurations by passing a list of managed properties.
See: managedConfigurationsforUserUpdate
smart constructor.
Instances
Request Lenses
mcuuEnterpriseId :: Lens' ManagedConfigurationsforUserUpdate Text Source #
The ID of the enterprise.
mcuuPayload :: Lens' ManagedConfigurationsforUserUpdate ManagedConfiguration Source #
Multipart request metadata.
mcuuUserId :: Lens' ManagedConfigurationsforUserUpdate Text Source #
The ID of the user.
mcuuManagedConfigurationForUserId :: Lens' ManagedConfigurationsforUserUpdate Text Source #
The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm".