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.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" :> ("v3.2" :> ("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 # 
Instance details

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

Data InventoryItemsList Source # 
Instance details

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

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 # 
Instance details

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

Generic InventoryItemsList Source # 
Instance details

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

Associated Types

type Rep InventoryItemsList :: Type -> Type #

GoogleRequest InventoryItemsList Source # 
Instance details

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

Associated Types

type Rs InventoryItemsList :: Type #

type Scopes InventoryItemsList :: [Symbol] #

type Rep InventoryItemsList Source # 
Instance details

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

type Rep InventoryItemsList = D1 (MetaData "InventoryItemsList" "Network.Google.Resource.DFAReporting.InventoryItems.List" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "InventoryItemsList'" PrefixI True) (((S1 (MetaSel (Just "_iilIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int64])) :*: S1 (MetaSel (Just "_iilProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) :*: (S1 (MetaSel (Just "_iilSortOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InventoryItemsListSortOrder) :*: (S1 (MetaSel (Just "_iilInPlan") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_iilPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_iilProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: (S1 (MetaSel (Just "_iilSortField") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InventoryItemsListSortField) :*: S1 (MetaSel (Just "_iilType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe InventoryItemsListType)))) :*: (S1 (MetaSel (Just "_iilOrderId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int64])) :*: (S1 (MetaSel (Just "_iilSiteId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Textual Int64])) :*: S1 (MetaSel (Just "_iilMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32)))))))
type Scopes InventoryItemsList Source # 
Instance details

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

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

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

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.

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 Int32 Source #

Maximum number of results to return.