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

Defined in Network.Google.Resource.DFAReporting.Accounts.Patch

Data AccountsPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Accounts.Patch

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

Defined in Network.Google.Resource.DFAReporting.Accounts.Patch

Generic AccountsPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Accounts.Patch

Associated Types

type Rep AccountsPatch :: Type -> Type #

GoogleRequest AccountsPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Accounts.Patch

Associated Types

type Rs AccountsPatch :: Type #

type Scopes AccountsPatch :: [Symbol] #

type Rep AccountsPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Accounts.Patch

type Rep AccountsPatch = D1 (MetaData "AccountsPatch" "Network.Google.Resource.DFAReporting.Accounts.Patch" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "AccountsPatch'" PrefixI True) (S1 (MetaSel (Just "_appProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: (S1 (MetaSel (Just "_appPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Account) :*: S1 (MetaSel (Just "_appId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)))))
type Scopes AccountsPatch Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.Accounts.Patch

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

Defined in Network.Google.Resource.DFAReporting.Accounts.Patch

Request Lenses

appProFileId :: Lens' AccountsPatch Int64 Source #

User profile ID associated with this request.

appPayload :: Lens' AccountsPatch Account Source #

Multipart request metadata.