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.SubAccounts.Patch

Contents

Description

Updates an existing subaccount. This method supports patch semantics.

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

Synopsis

REST Resource

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

A resource alias for dfareporting.subaccounts.patch method which the SubAccountsPatch request conforms to.

Creating a Request

subAccountsPatch Source #

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

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

data SubAccountsPatch Source #

Updates an existing subaccount. This method supports patch semantics.

See: subAccountsPatch smart constructor.

Instances

Eq SubAccountsPatch Source # 
Data SubAccountsPatch Source # 

Methods

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

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

toConstr :: SubAccountsPatch -> Constr #

dataTypeOf :: SubAccountsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubAccountsPatch Source # 
Generic SubAccountsPatch Source # 
GoogleRequest SubAccountsPatch Source # 
type Rep SubAccountsPatch Source # 
type Rep SubAccountsPatch = D1 (MetaData "SubAccountsPatch" "Network.Google.Resource.DFAReporting.SubAccounts.Patch" "gogol-dfareporting-0.2.0-3vkytqIdbR4DxGH3Av8E8" False) (C1 (MetaCons "SubAccountsPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sapProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) ((:*:) (S1 (MetaSel (Just Symbol "_sapPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SubAccount)) (S1 (MetaSel (Just Symbol "_sapId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))))))
type Scopes SubAccountsPatch Source # 
type Scopes SubAccountsPatch = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs SubAccountsPatch Source # 

Request Lenses

sapProFileId :: Lens' SubAccountsPatch Int64 Source #

User profile ID associated with this request.

sapPayload :: Lens' SubAccountsPatch SubAccount Source #

Multipart request metadata.