gogol-adexchange-buyer-0.3.0: Google Ad Exchange Buyer 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.AdExchangeBuyer.Products.Search

Contents

Description

Gets the requested product.

See: Ad Exchange Buyer API Reference for adexchangebuyer.products.search.

Synopsis

REST Resource

type ProductsSearchResource = "adexchangebuyer" :> ("v1.4" :> ("products" :> ("search" :> (QueryParam "pqlQuery" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetOffersResponse))))) Source #

A resource alias for adexchangebuyer.products.search method which the ProductsSearch request conforms to.

Creating a Request

productsSearch :: ProductsSearch Source #

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

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

data ProductsSearch Source #

Gets the requested product.

See: productsSearch smart constructor.

Instances

Eq ProductsSearch Source # 
Data ProductsSearch Source # 

Methods

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

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

toConstr :: ProductsSearch -> Constr #

dataTypeOf :: ProductsSearch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProductsSearch Source # 
Generic ProductsSearch Source # 

Associated Types

type Rep ProductsSearch :: * -> * #

GoogleRequest ProductsSearch Source # 
type Rep ProductsSearch Source # 
type Rep ProductsSearch = D1 (MetaData "ProductsSearch" "Network.Google.Resource.AdExchangeBuyer.Products.Search" "gogol-adexchange-buyer-0.3.0-HwrQxbw7Q3S8KGsuNoMnAW" True) (C1 (MetaCons "ProductsSearch'" PrefixI True) (S1 (MetaSel (Just Symbol "_psPqlQuery") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Scopes ProductsSearch Source # 
type Scopes ProductsSearch = (:) Symbol "https://www.googleapis.com/auth/adexchange.buyer" ([] Symbol)
type Rs ProductsSearch Source # 

Request Lenses

psPqlQuery :: Lens' ProductsSearch (Maybe Text) Source #

The pql query used to query for products.