gogol-dfareporting-0.5.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" :> ("v3.3" :> ("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 # 
Instance details

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

Data SubAccountsPatch Source # 
Instance details

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

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

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

Generic SubAccountsPatch Source # 
Instance details

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

Associated Types

type Rep SubAccountsPatch :: Type -> Type #

GoogleRequest SubAccountsPatch Source # 
Instance details

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

Associated Types

type Rs SubAccountsPatch :: Type #

type Scopes SubAccountsPatch :: [Symbol] #

type Rep SubAccountsPatch Source # 
Instance details

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

type Rep SubAccountsPatch = D1 (MetaData "SubAccountsPatch" "Network.Google.Resource.DFAReporting.SubAccounts.Patch" "gogol-dfareporting-0.5.0-H2nEimqYPoYBpPsdI4WnkF" False) (C1 (MetaCons "SubAccountsPatch'" PrefixI True) (S1 (MetaSel (Just "_sapProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: (S1 (MetaSel (Just "_sapPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SubAccount) :*: S1 (MetaSel (Just "_sapId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)))))
type Scopes SubAccountsPatch Source # 
Instance details

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

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

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

Request Lenses

sapProFileId :: Lens' SubAccountsPatch Int64 Source #

User profile ID associated with this request.

sapPayload :: Lens' SubAccountsPatch SubAccount Source #

Multipart request metadata.