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.Update

Contents

Description

Updates an existing site.

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

Synopsis

REST Resource

type SitesUpdateResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("sites" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Site :> Put '[JSON] Site)))))) Source #

A resource alias for dfareporting.sites.update method which the SitesUpdate request conforms to.

Creating a Request

sitesUpdate Source #

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

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

data SitesUpdate Source #

Updates an existing site.

See: sitesUpdate smart constructor.

Instances
Eq SitesUpdate Source # 
Instance details

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

Data SitesUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: SitesUpdate -> Constr #

dataTypeOf :: SitesUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SitesUpdate Source # 
Instance details

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

Generic SitesUpdate Source # 
Instance details

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

Associated Types

type Rep SitesUpdate :: Type -> Type #

GoogleRequest SitesUpdate Source # 
Instance details

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

Associated Types

type Rs SitesUpdate :: Type #

type Scopes SitesUpdate :: [Symbol] #

type Rep SitesUpdate Source # 
Instance details

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

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

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

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

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

Request Lenses

suProFileId :: Lens' SitesUpdate Int64 Source #

User profile ID associated with this request.

suPayload :: Lens' SitesUpdate Site Source #

Multipart request metadata.