| 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.Get
Description
Retrieves the details of a collection.
See: Google Play EMM API Reference for androidenterprise.collections.get.
- type CollectionsGetResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Collection))))))
- collectionsGet :: Text -> Text -> CollectionsGet
- data CollectionsGet
- cgEnterpriseId :: Lens' CollectionsGet Text
- cgCollectionId :: Lens' CollectionsGet Text
REST Resource
type CollectionsGetResource = "androidenterprise" :> ("v1" :> ("enterprises" :> (Capture "enterpriseId" Text :> ("collections" :> (Capture "collectionId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Collection)))))) Source #
A resource alias for androidenterprise.collections.get method which the
CollectionsGet request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> CollectionsGet |
Creates a value of CollectionsGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CollectionsGet Source #
Retrieves the details of a collection.
See: collectionsGet smart constructor.
Instances
Request Lenses
cgEnterpriseId :: Lens' CollectionsGet Text Source #
The ID of the enterprise.
cgCollectionId :: Lens' CollectionsGet Text Source #
The ID of the collection.