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.Insert

Contents

Description

Inserts a new subaccount.

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

Synopsis

REST Resource

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

A resource alias for dfareporting.subaccounts.insert method which the SubAccountsInsert request conforms to.

Creating a Request

subAccountsInsert Source #

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

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

data SubAccountsInsert Source #

Inserts a new subaccount.

See: subAccountsInsert smart constructor.

Instances

Eq SubAccountsInsert Source # 
Data SubAccountsInsert Source # 

Methods

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

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

toConstr :: SubAccountsInsert -> Constr #

dataTypeOf :: SubAccountsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

saiProFileId :: Lens' SubAccountsInsert Int64 Source #

User profile ID associated with this request.

saiPayload :: Lens' SubAccountsInsert SubAccount Source #

Multipart request metadata.