| 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.AndroidEnterprise.Collections.Patch
Description
Updates a collection. This method supports patch semantics.
See: Google Play EMM API Reference for androidenterprise.collections.patch.
- type CollectionsPatchResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Collection :> Patch '[JSON] Collection)))))))
- collectionsPatch :: Text -> Text -> Collection -> CollectionsPatch
- data CollectionsPatch
- cpEnterpriseId :: Lens' CollectionsPatch Text
- cpCollectionId :: Lens' CollectionsPatch Text
- cpPayload :: Lens' CollectionsPatch Collection
REST Resource
type CollectionsPatchResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Collection :> Patch '[JSON] Collection))))))) Source #
A resource alias for androidenterprise.collections.patch method which the
CollectionsPatch request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Collection | |
| -> CollectionsPatch |
Creates a value of CollectionsPatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CollectionsPatch Source #
Updates a collection. This method supports patch semantics.
See: collectionsPatch smart constructor.
Request Lenses
cpEnterpriseId :: Lens' CollectionsPatch Text Source #
The ID of the enterprise.
cpCollectionId :: Lens' CollectionsPatch Text Source #
The ID of the collection.
cpPayload :: Lens' CollectionsPatch Collection Source #
Multipart request metadata.