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 the user to the list of those specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only such users will see the collection.
See: Google Play EMM API Reference for androidenterprise.collectionviewers.update
.
- type CollectionviewersUpdateResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> ("users" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] User :> Put '[JSON] User)))))))))
- collectionviewersUpdate :: Text -> Text -> User -> Text -> CollectionviewersUpdate
- data CollectionviewersUpdate
- cuEnterpriseId :: Lens' CollectionviewersUpdate Text
- cuCollectionId :: Lens' CollectionviewersUpdate Text
- cuPayload :: Lens' CollectionviewersUpdate User
- cuUserId :: Lens' CollectionviewersUpdate Text
REST Resource
type CollectionviewersUpdateResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> ("users" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] User :> Put '[JSON] User))))))))) Source #
A resource alias for androidenterprise.collectionviewers.update
method which the
CollectionviewersUpdate
request conforms to.
Creating a Request
collectionviewersUpdate Source #
Creates a value of CollectionviewersUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CollectionviewersUpdate Source #
Adds the user to the list of those specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only such users will see the collection.
See: collectionviewersUpdate
smart constructor.
Request Lenses
cuEnterpriseId :: Lens' CollectionviewersUpdate Text Source #
The ID of the enterprise.
cuCollectionId :: Lens' CollectionviewersUpdate Text Source #
The ID of the collection.