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.Orders.List

Contents

Description

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

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

Synopsis

REST Resource

type OrdersListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("projects" :> (Capture "projectId" (Textual Int64) :> ("orders" :> (QueryParam "searchString" Text :> (QueryParams "ids" (Textual Int64) :> (QueryParam "sortOrder" OrdersListSortOrder :> (QueryParam "pageToken" Text :> (QueryParam "sortField" OrdersListSortField :> (QueryParams "siteId" (Textual Int64) :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] OrdersListResponse)))))))))))))) Source #

A resource alias for dfareporting.orders.list method which the OrdersList request conforms to.

Creating a Request

ordersList Source #

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

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

data OrdersList Source #

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

See: ordersList smart constructor.

Instances
Eq OrdersList Source # 
Instance details

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

Data OrdersList Source # 
Instance details

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

Methods

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

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

toConstr :: OrdersList -> Constr #

dataTypeOf :: OrdersList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrdersList Source # 
Instance details

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

Generic OrdersList Source # 
Instance details

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

Associated Types

type Rep OrdersList :: Type -> Type #

GoogleRequest OrdersList Source # 
Instance details

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

Associated Types

type Rs OrdersList :: Type #

type Scopes OrdersList :: [Symbol] #

type Rep OrdersList Source # 
Instance details

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

type Scopes OrdersList Source # 
Instance details

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

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

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

Request Lenses

olSearchString :: Lens' OrdersList (Maybe Text) Source #

Allows searching for orders by name or ID. Wildcards (*) are allowed. For example, "order*2015" will return orders with names like "order June 2015", "order April 2015", or simply "order 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 "order" will match orders with name "my order", "order 2015", or simply "order".

olIds :: Lens' OrdersList [Int64] Source #

Select only orders with these IDs.

olProFileId :: Lens' OrdersList Int64 Source #

User profile ID associated with this request.

olPageToken :: Lens' OrdersList (Maybe Text) Source #

Value of the nextPageToken from the previous result page.

olProjectId :: Lens' OrdersList Int64 Source #

Project ID for orders.

olSortField :: Lens' OrdersList OrdersListSortField Source #

Field by which to sort the list.

olSiteId :: Lens' OrdersList [Int64] Source #

Select only orders that are associated with these site IDs.

olMaxResults :: Lens' OrdersList Int32 Source #

Maximum number of results to return.