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.Reports.Patch

Contents

Description

Updates a report. This method supports patch semantics.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.reports.patch.

Synopsis

REST Resource

type ReportsPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (Capture "reportId" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Report :> Patch '[JSON] Report))))))) Source #

A resource alias for dfareporting.reports.patch method which the ReportsPatch request conforms to.

Creating a Request

reportsPatch Source #

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

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

data ReportsPatch Source #

Updates a report. This method supports patch semantics.

See: reportsPatch smart constructor.

Instances
Eq ReportsPatch Source # 
Instance details

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

Data ReportsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ReportsPatch -> Constr #

dataTypeOf :: ReportsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ReportsPatch Source # 
Instance details

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

Generic ReportsPatch Source # 
Instance details

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

Associated Types

type Rep ReportsPatch :: Type -> Type #

GoogleRequest ReportsPatch Source # 
Instance details

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

Associated Types

type Rs ReportsPatch :: Type #

type Scopes ReportsPatch :: [Symbol] #

type Rep ReportsPatch Source # 
Instance details

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

type Rep ReportsPatch = D1 (MetaData "ReportsPatch" "Network.Google.Resource.DFAReporting.Reports.Patch" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "ReportsPatch'" PrefixI True) (S1 (MetaSel (Just "_rpReportId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: (S1 (MetaSel (Just "_rpProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: S1 (MetaSel (Just "_rpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Report))))
type Scopes ReportsPatch Source # 
Instance details

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

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

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

Request Lenses

rpReportId :: Lens' ReportsPatch Int64 Source #

The ID of the report.

rpProFileId :: Lens' ReportsPatch Int64 Source #

The DFA user profile ID.

rpPayload :: Lens' ReportsPatch Report Source #

Multipart request metadata.