gogol-dfareporting-0.4.0: Google DCM/DFA Reporting And Trafficking SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.DFAReporting.ContentCategories.List

Contents

Description

Retrieves a list of content categories, possibly filtered. This method supports paging.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.contentCategories.list.

Synopsis

REST Resource

type ContentCategoriesListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("contentCategories" :> (QueryParam "searchString" Text :> (QueryParams "ids" (Textual Int64) :> (QueryParam "sortOrder" ContentCategoriesListSortOrder :> (QueryParam "pageToken" Text :> (QueryParam "sortField" ContentCategoriesListSortField :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ContentCategoriesListResponse))))))))))) Source #

A resource alias for dfareporting.contentCategories.list method which the ContentCategoriesList request conforms to.

Creating a Request

contentCategoriesList Source #

Creates a value of ContentCategoriesList with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ContentCategoriesList Source #

Retrieves a list of content categories, possibly filtered. This method supports paging.

See: contentCategoriesList smart constructor.

Instances
Eq ContentCategoriesList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.ContentCategories.List

Data ContentCategoriesList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.ContentCategories.List

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ContentCategoriesList -> c ContentCategoriesList #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ContentCategoriesList #

toConstr :: ContentCategoriesList -> Constr #

dataTypeOf :: ContentCategoriesList -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ContentCategoriesList) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ContentCategoriesList) #

gmapT :: (forall b. Data b => b -> b) -> ContentCategoriesList -> ContentCategoriesList #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ContentCategoriesList -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ContentCategoriesList -> r #

gmapQ :: (forall d. Data d => d -> u) -> ContentCategoriesList -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ContentCategoriesList -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ContentCategoriesList -> m ContentCategoriesList #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ContentCategoriesList -> m ContentCategoriesList #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ContentCategoriesList -> m ContentCategoriesList #

Show ContentCategoriesList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.ContentCategories.List

Generic ContentCategoriesList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.ContentCategories.List

Associated Types

type Rep ContentCategoriesList :: Type -> Type #

GoogleRequest ContentCategoriesList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.ContentCategories.List

type Rep ContentCategoriesList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.ContentCategories.List

type Rep ContentCategoriesList = D1 (MetaData "ContentCategoriesList" "Network.Google.Resource.DFAReporting.ContentCategories.List" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "ContentCategoriesList'" PrefixI True) ((S1 (MetaSel (Just "_cclSearchString") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cclIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int64])) :*: S1 (MetaSel (Just "_cclProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)))) :*: ((S1 (MetaSel (Just "_cclSortOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ContentCategoriesListSortOrder) :*: S1 (MetaSel (Just "_cclPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cclSortField") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ContentCategoriesListSortField) :*: S1 (MetaSel (Just "_cclMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32))))))
type Scopes ContentCategoriesList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.ContentCategories.List

type Scopes ContentCategoriesList = "https://www.googleapis.com/auth/dfatrafficking" ': ([] :: [Symbol])
type Rs ContentCategoriesList Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.ContentCategories.List

Request Lenses

cclSearchString :: Lens' ContentCategoriesList (Maybe Text) Source #

Allows searching for objects by name or ID. Wildcards (*) are allowed. For example, "contentcategory*2015" will return objects with names like "contentcategory June 2015", "contentcategory April 2015", or simply "contentcategory 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "contentcategory" will match objects with name "my contentcategory", "contentcategory 2015", or simply "contentcategory".

cclIds :: Lens' ContentCategoriesList [Int64] Source #

Select only content categories with these IDs.

cclProFileId :: Lens' ContentCategoriesList Int64 Source #

User profile ID associated with this request.

cclPageToken :: Lens' ContentCategoriesList (Maybe Text) Source #

Value of the nextPageToken from the previous result page.

cclMaxResults :: Lens' ContentCategoriesList Int32 Source #

Maximum number of results to return.