gogol-adexchange-buyer-0.2.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.Accounts.Patch

Contents

Description

Updates an existing account. This method supports patch semantics.

See: Ad Exchange Buyer API Reference for adexchangebuyer.accounts.patch.

Synopsis

REST Resource

type AccountsPatchResource = "adexchangebuyer" :> ("v1.4" :> ("accounts" :> (Capture "id" (Textual Int32) :> (QueryParam "confirmUnsafeAccountChange" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Account :> Patch '[JSON] Account)))))) Source #

A resource alias for adexchangebuyer.accounts.patch method which the AccountsPatch request conforms to.

Creating a Request

accountsPatch Source #

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

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

data AccountsPatch Source #

Updates an existing account. This method supports patch semantics.

See: accountsPatch smart constructor.

Instances

Eq AccountsPatch Source # 
Data AccountsPatch Source # 

Methods

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

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

toConstr :: AccountsPatch -> Constr #

dataTypeOf :: AccountsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsPatch Source # 
Generic AccountsPatch Source # 

Associated Types

type Rep AccountsPatch :: * -> * #

GoogleRequest AccountsPatch Source # 

Associated Types

type Rs AccountsPatch :: * #

type Scopes AccountsPatch :: [Symbol] #

type Rep AccountsPatch Source # 
type Rep AccountsPatch = D1 (MetaData "AccountsPatch" "Network.Google.Resource.AdExchangeBuyer.Accounts.Patch" "gogol-adexchange-buyer-0.2.0-7hKGM4LXxGdBpdUkxFCsCD" False) (C1 (MetaCons "AccountsPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_apPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Account)) ((:*:) (S1 (MetaSel (Just Symbol "_apConfirmUnsafeAccountChange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) (S1 (MetaSel (Just Symbol "_apId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32))))))
type Scopes AccountsPatch Source # 
type Scopes AccountsPatch = (:) Symbol "https://www.googleapis.com/auth/adexchange.buyer" ([] Symbol)
type Rs AccountsPatch Source # 

Request Lenses

apPayload :: Lens' AccountsPatch Account Source #

Multipart request metadata.

apConfirmUnsafeAccountChange :: Lens' AccountsPatch (Maybe Bool) Source #

Confirmation for erasing bidder and cookie matching urls.