gogol-dfareporting-0.1.1: 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" :> ("v2.6" :> ("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 # 
Data ReportsPatch Source # 

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 # 
Generic ReportsPatch Source # 

Associated Types

type Rep ReportsPatch :: * -> * #

GoogleRequest ReportsPatch Source # 

Associated Types

type Rs ReportsPatch :: * #

type Scopes ReportsPatch :: [Symbol] #

type Rep ReportsPatch Source # 
type Rep ReportsPatch = D1 (MetaData "ReportsPatch" "Network.Google.Resource.DFAReporting.Reports.Patch" "gogol-dfareporting-0.1.1-7fQgClZr9j5JkRg9VaGiYc" False) (C1 (MetaCons "ReportsPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rpReportId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) ((:*:) (S1 (MetaSel (Just Symbol "_rpProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) (S1 (MetaSel (Just Symbol "_rpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Report)))))
type Scopes ReportsPatch Source # 
type Scopes ReportsPatch = (:) Symbol "https://www.googleapis.com/auth/dfareporting" ([] Symbol)
type Rs ReportsPatch Source # 

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.