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. This method supports patch semantics.
See: Google Play EMM API Reference for androidenterprise.managedconfigurationsforuser.patch
.
Synopsis
- type ManagedConfigurationsforUserPatchResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("managedConfigurationsForUser" :> (Capture "managedConfigurationForUserId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ManagedConfiguration :> Patch '[JSON] ManagedConfiguration)))))))))
- managedConfigurationsforUserPatch :: Text -> ManagedConfiguration -> Text -> Text -> ManagedConfigurationsforUserPatch
- data ManagedConfigurationsforUserPatch
- mcupEnterpriseId :: Lens' ManagedConfigurationsforUserPatch Text
- mcupPayload :: Lens' ManagedConfigurationsforUserPatch ManagedConfiguration
- mcupUserId :: Lens' ManagedConfigurationsforUserPatch Text
- mcupManagedConfigurationForUserId :: Lens' ManagedConfigurationsforUserPatch Text
REST Resource
type ManagedConfigurationsforUserPatchResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("users" :> (Capture "userId" Text :> ("managedConfigurationsForUser" :> (Capture "managedConfigurationForUserId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ManagedConfiguration :> Patch '[JSON] ManagedConfiguration))))))))) Source #
A resource alias for androidenterprise.managedconfigurationsforuser.patch
method which the
ManagedConfigurationsforUserPatch
request conforms to.
Creating a Request
managedConfigurationsforUserPatch Source #
Creates a value of ManagedConfigurationsforUserPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagedConfigurationsforUserPatch 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. This method supports patch semantics.
See: managedConfigurationsforUserPatch
smart constructor.
Instances
Request Lenses
mcupEnterpriseId :: Lens' ManagedConfigurationsforUserPatch Text Source #
The ID of the enterprise.
mcupPayload :: Lens' ManagedConfigurationsforUserPatch ManagedConfiguration Source #
Multipart request metadata.
mcupUserId :: Lens' ManagedConfigurationsforUserPatch Text Source #
The ID of the user.
mcupManagedConfigurationForUserId :: Lens' ManagedConfigurationsforUserPatch Text Source #
The ID of the managed configuration (a product ID), e.g. "app:com.google.android.gm".