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

Defined in Network.Google.Resource.DFAReporting.SubAccounts.Update

Data SubAccountsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.SubAccounts.Update

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

Defined in Network.Google.Resource.DFAReporting.SubAccounts.Update

Generic SubAccountsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.SubAccounts.Update

Associated Types

type Rep SubAccountsUpdate :: Type -> Type #

GoogleRequest SubAccountsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.SubAccounts.Update

Associated Types

type Rs SubAccountsUpdate :: Type #

type Scopes SubAccountsUpdate :: [Symbol] #

type Rep SubAccountsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.SubAccounts.Update

type Rep SubAccountsUpdate = D1 (MetaData "SubAccountsUpdate" "Network.Google.Resource.DFAReporting.SubAccounts.Update" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "SubAccountsUpdate'" PrefixI True) (S1 (MetaSel (Just "_sauProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_sauPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SubAccount)))
type Scopes SubAccountsUpdate Source # 
Instance details

Defined in Network.Google.Resource.DFAReporting.SubAccounts.Update

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

Defined in Network.Google.Resource.DFAReporting.SubAccounts.Update

Request Lenses

sauProFileId :: Lens' SubAccountsUpdate Int64 Source #

User profile ID associated with this request.

sauPayload :: Lens' SubAccountsUpdate SubAccount Source #

Multipart request metadata.