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

Contents

Description

Updates an existing account. This method supports patch semantics.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.accounts.patch.

Synopsis

REST Resource

type AccountsPatchResource = "dfareporting" :> ("v2.7" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("accounts" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Account :> Patch '[JSON] Account))))))) Source #

A resource alias for dfareporting.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.DFAReporting.Accounts.Patch" "gogol-dfareporting-0.2.0-3vkytqIdbR4DxGH3Av8E8" False) (C1 (MetaCons "AccountsPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_appProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) ((:*:) (S1 (MetaSel (Just Symbol "_appPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Account)) (S1 (MetaSel (Just Symbol "_appId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))))))
type Scopes AccountsPatch Source # 
type Scopes AccountsPatch = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs AccountsPatch Source # 

Request Lenses

appProFileId :: Lens' AccountsPatch Int64 Source #

User profile ID associated with this request.

appPayload :: Lens' AccountsPatch Account Source #

Multipart request metadata.