gogol-dfareporting-0.3.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.Update

Contents

Description

Updates an existing subaccount.

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

Synopsis

REST Resource

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

A resource alias for dfareporting.subaccounts.update method which the SubAccountsUpdate request conforms to.

Creating a Request

subAccountsUpdate Source #

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

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

data SubAccountsUpdate Source #

Updates an existing subaccount.

See: subAccountsUpdate smart constructor.

Instances

Eq SubAccountsUpdate Source # 
Data SubAccountsUpdate Source # 

Methods

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

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

toConstr :: SubAccountsUpdate -> Constr #

dataTypeOf :: SubAccountsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubAccountsUpdate Source # 
Generic SubAccountsUpdate Source # 
GoogleRequest SubAccountsUpdate Source # 
type Rep SubAccountsUpdate Source # 
type Rep SubAccountsUpdate = D1 (MetaData "SubAccountsUpdate" "Network.Google.Resource.DFAReporting.SubAccounts.Update" "gogol-dfareporting-0.3.0-1Sz7MzcQaqT30NKUHnKpNh" False) (C1 (MetaCons "SubAccountsUpdate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sauProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) (S1 (MetaSel (Just Symbol "_sauPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SubAccount))))
type Scopes SubAccountsUpdate Source # 
type Scopes SubAccountsUpdate = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs SubAccountsUpdate Source # 

Request Lenses

sauProFileId :: Lens' SubAccountsUpdate Int64 Source #

User profile ID associated with this request.

sauPayload :: Lens' SubAccountsUpdate SubAccount Source #

Multipart request metadata.