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

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

Data SubAccountsInsert Source # 
Instance details

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

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

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

Generic SubAccountsInsert Source # 
Instance details

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

Associated Types

type Rep SubAccountsInsert :: Type -> Type #

GoogleRequest SubAccountsInsert Source # 
Instance details

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

Associated Types

type Rs SubAccountsInsert :: Type #

type Scopes SubAccountsInsert :: [Symbol] #

type Rep SubAccountsInsert Source # 
Instance details

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

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

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

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

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

Request Lenses

saiProFileId :: Lens' SubAccountsInsert Int64 Source #

User profile ID associated with this request.

saiPayload :: Lens' SubAccountsInsert SubAccount Source #

Multipart request metadata.