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

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

Data SitesPatch Source # 
Instance details

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

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

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

Generic SitesPatch Source # 
Instance details

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

Associated Types

type Rep SitesPatch :: Type -> Type #

GoogleRequest SitesPatch Source # 
Instance details

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

Associated Types

type Rs SitesPatch :: Type #

type Scopes SitesPatch :: [Symbol] #

type Rep SitesPatch Source # 
Instance details

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

type Rep SitesPatch = D1 (MetaData "SitesPatch" "Network.Google.Resource.DFAReporting.Sites.Patch" "gogol-dfareporting-0.4.0-9N9I1R95b3Y5YmOKldvlKw" False) (C1 (MetaCons "SitesPatch'" PrefixI True) (S1 (MetaSel (Just "_spProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: (S1 (MetaSel (Just "_spPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Site) :*: S1 (MetaSel (Just "_spId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)))))
type Scopes SitesPatch Source # 
Instance details

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

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

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

Request Lenses

spProFileId :: Lens' SitesPatch Int64 Source #

User profile ID associated with this request.

spPayload :: Lens' SitesPatch Site Source #

Multipart request metadata.