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

Contents

Description

Updates an existing site. This method supports patch semantics.

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

Synopsis

REST Resource

type SitesPatchResource = "dfareporting" :> ("v2.7" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("sites" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Site :> Patch '[JSON] Site))))))) Source #

A resource alias for dfareporting.sites.patch method which the SitesPatch request conforms to.

Creating a Request

sitesPatch Source #

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

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

data SitesPatch Source #

Updates an existing site. This method supports patch semantics.

See: sitesPatch smart constructor.

Instances

Eq SitesPatch Source # 
Data SitesPatch Source # 

Methods

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

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

toConstr :: SitesPatch -> Constr #

dataTypeOf :: SitesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SitesPatch Source # 
Generic SitesPatch Source # 

Associated Types

type Rep SitesPatch :: * -> * #

GoogleRequest SitesPatch Source # 

Associated Types

type Rs SitesPatch :: * #

type Scopes SitesPatch :: [Symbol] #

type Rep SitesPatch Source # 
type Rep SitesPatch = D1 (MetaData "SitesPatch" "Network.Google.Resource.DFAReporting.Sites.Patch" "gogol-dfareporting-0.3.0-1Sz7MzcQaqT30NKUHnKpNh" False) (C1 (MetaCons "SitesPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_spProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))) ((:*:) (S1 (MetaSel (Just Symbol "_spPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Site)) (S1 (MetaSel (Just Symbol "_spId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64))))))
type Scopes SitesPatch Source # 
type Scopes SitesPatch = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs SitesPatch Source # 

Request Lenses

spProFileId :: Lens' SitesPatch Int64 Source #

User profile ID associated with this request.

spPayload :: Lens' SitesPatch Site Source #

Multipart request metadata.