| Copyright | (c) 2015 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.DFAReporting.ContentCategories.Get
Description
Gets one content category by ID.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.contentCategories.get.
- type ContentCategoriesGetResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("contentCategories" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get `[JSON]` ContentCategory))))))
- contentCategoriesGet :: Int64 -> Int64 -> ContentCategoriesGet
- data ContentCategoriesGet
- ccgProFileId :: Lens' ContentCategoriesGet Int64
- ccgId :: Lens' ContentCategoriesGet Int64
REST Resource
type ContentCategoriesGetResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("contentCategories" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get `[JSON]` ContentCategory)))))) Source
A resource alias for dfareporting.contentCategories.get method which the
ContentCategoriesGet request conforms to.
Creating a Request
Arguments
| :: Int64 | |
| -> Int64 | |
| -> ContentCategoriesGet |
Creates a value of ContentCategoriesGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ContentCategoriesGet Source
Gets one content category by ID.
See: contentCategoriesGet smart constructor.
Request Lenses
ccgProFileId :: Lens' ContentCategoriesGet Int64 Source
User profile ID associated with this request.
ccgId :: Lens' ContentCategoriesGet Int64 Source
Content category ID.