gogol-analytics-0.2.0: Google Analytics 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.Analytics.Management.ProFiles.Patch

Contents

Description

Updates an existing view (profile). This method supports patch semantics.

See: Google Analytics API Reference for analytics.management.profiles.patch.

Synopsis

REST Resource

type ManagementProFilesPatchResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ProFile :> Patch '[JSON] ProFile)))))))))) Source #

A resource alias for analytics.management.profiles.patch method which the ManagementProFilesPatch request conforms to.

Creating a Request

managementProFilesPatch Source #

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

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

data ManagementProFilesPatch Source #

Updates an existing view (profile). This method supports patch semantics.

See: managementProFilesPatch smart constructor.

Instances

Eq ManagementProFilesPatch Source # 
Data ManagementProFilesPatch Source # 

Methods

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

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

toConstr :: ManagementProFilesPatch -> Constr #

dataTypeOf :: ManagementProFilesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementProFilesPatch Source # 
Generic ManagementProFilesPatch Source # 
GoogleRequest ManagementProFilesPatch Source # 
type Rep ManagementProFilesPatch Source # 
type Rep ManagementProFilesPatch = D1 (MetaData "ManagementProFilesPatch" "Network.Google.Resource.Analytics.Management.ProFiles.Patch" "gogol-analytics-0.2.0-3FrcqldgScuFeT7P3430HZ" False) (C1 (MetaCons "ManagementProFilesPatch'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mpfpWebPropertyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_mpfpProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mpfpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ProFile)) (S1 (MetaSel (Just Symbol "_mpfpAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes ManagementProFilesPatch Source # 
type Scopes ManagementProFilesPatch = (:) Symbol "https://www.googleapis.com/auth/analytics.edit" ([] Symbol)
type Rs ManagementProFilesPatch Source # 

Request Lenses

mpfpWebPropertyId :: Lens' ManagementProFilesPatch Text Source #

Web property ID to which the view (profile) belongs

mpfpProFileId :: Lens' ManagementProFilesPatch Text Source #

ID of the view (profile) to be updated.

mpfpAccountId :: Lens' ManagementProFilesPatch Text Source #

Account ID to which the view (profile) belongs