gogol-dfareporting-0.3.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.InventoryItems.List

Contents

Description

Retrieves a list of inventory items, possibly filtered. This method supports paging.

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

Synopsis

REST Resource

type InventoryItemsListResource = "dfareporting" :> ("v2.7" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("projects" :> (Capture "projectId" (Textual Int64) :> ("inventoryItems" :> (QueryParams "ids" (Textual Int64) :> (QueryParam "sortOrder" InventoryItemsListSortOrder :> (QueryParam "inPlan" Bool :> (QueryParam "pageToken" Text :> (QueryParam "sortField" InventoryItemsListSortField :> (QueryParam "type" InventoryItemsListType :> (QueryParams "orderId" (Textual Int64) :> (QueryParams "siteId" (Textual Int64) :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] InventoryItemsListResponse)))))))))))))))) Source #

A resource alias for dfareporting.inventoryItems.list method which the InventoryItemsList request conforms to.

Creating a Request

inventoryItemsList Source #

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

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

data InventoryItemsList Source #

Retrieves a list of inventory items, possibly filtered. This method supports paging.

See: inventoryItemsList smart constructor.

Instances

Eq InventoryItemsList Source # 
Data InventoryItemsList Source # 

Methods

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

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

toConstr :: InventoryItemsList -> Constr #

dataTypeOf :: InventoryItemsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InventoryItemsList Source # 
Generic InventoryItemsList Source # 
GoogleRequest InventoryItemsList Source # 
type Rep InventoryItemsList Source # 
type Rep InventoryItemsList = D1 (MetaData "InventoryItemsList" "Network.Google.Resource.DFAReporting.InventoryItems.List" "gogol-dfareporting-0.3.0-1Sz7MzcQaqT30NKUHnKpNh" False) (C1 (MetaCons "InventoryItemsList'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_iilIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int64]))) (S1 (MetaSel (Just Symbol "_iilProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_iilSortOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InventoryItemsListSortOrder))) ((:*:) (S1 (MetaSel (Just Symbol "_iilInPlan") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_iilPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_iilProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) ((:*:) (S1 (MetaSel (Just Symbol "_iilSortField") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InventoryItemsListSortField))) (S1 (MetaSel (Just Symbol "_iilType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InventoryItemsListType))))) ((:*:) (S1 (MetaSel (Just Symbol "_iilOrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int64]))) ((:*:) (S1 (MetaSel (Just Symbol "_iilSiteId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int64]))) (S1 (MetaSel (Just Symbol "_iilMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))))
type Scopes InventoryItemsList Source # 
type Scopes InventoryItemsList = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs InventoryItemsList Source # 

Request Lenses

iilIds :: Lens' InventoryItemsList [Int64] Source #

Select only inventory items with these IDs.

iilProFileId :: Lens' InventoryItemsList Int64 Source #

User profile ID associated with this request.

iilSortOrder :: Lens' InventoryItemsList (Maybe InventoryItemsListSortOrder) Source #

Order of sorted results, default is ASCENDING.

iilInPlan :: Lens' InventoryItemsList (Maybe Bool) Source #

Select only inventory items that are in plan.

iilPageToken :: Lens' InventoryItemsList (Maybe Text) Source #

Value of the nextPageToken from the previous result page.

iilProjectId :: Lens' InventoryItemsList Int64 Source #

Project ID for order documents.

iilType :: Lens' InventoryItemsList (Maybe InventoryItemsListType) Source #

Select only inventory items with this type.

iilOrderId :: Lens' InventoryItemsList [Int64] Source #

Select only inventory items that belong to specified orders.

iilSiteId :: Lens' InventoryItemsList [Int64] Source #

Select only inventory items that are associated with these sites.

iilMaxResults :: Lens' InventoryItemsList (Maybe Int32) Source #

Maximum number of results to return.