gogol-analytics-0.4.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.Update

Contents

Description

Updates an existing view (profile).

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

Synopsis

REST Resource

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

A resource alias for analytics.management.profiles.update method which the ManagementProFilesUpdate request conforms to.

Creating a Request

managementProFilesUpdate Source #

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

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

data ManagementProFilesUpdate Source #

Updates an existing view (profile).

See: managementProFilesUpdate smart constructor.

Instances
Eq ManagementProFilesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.ProFiles.Update

Data ManagementProFilesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.ProFiles.Update

Methods

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

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

toConstr :: ManagementProFilesUpdate -> Constr #

dataTypeOf :: ManagementProFilesUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementProFilesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.ProFiles.Update

Generic ManagementProFilesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.ProFiles.Update

Associated Types

type Rep ManagementProFilesUpdate :: Type -> Type #

GoogleRequest ManagementProFilesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.ProFiles.Update

type Rep ManagementProFilesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.ProFiles.Update

type Rep ManagementProFilesUpdate = D1 (MetaData "ManagementProFilesUpdate" "Network.Google.Resource.Analytics.Management.ProFiles.Update" "gogol-analytics-0.4.0-8oDsBGD0bWo5StLtdNIJLF" False) (C1 (MetaCons "ManagementProFilesUpdate'" PrefixI True) ((S1 (MetaSel (Just "_mpfuWebPropertyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mpfuProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_mpfuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ProFile) :*: S1 (MetaSel (Just "_mpfuAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ManagementProFilesUpdate Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.ProFiles.Update

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

Defined in Network.Google.Resource.Analytics.Management.ProFiles.Update

Request Lenses

mpfuWebPropertyId :: Lens' ManagementProFilesUpdate Text Source #

Web property ID to which the view (profile) belongs

mpfuProFileId :: Lens' ManagementProFilesUpdate Text Source #

ID of the view (profile) to be updated.

mpfuAccountId :: Lens' ManagementProFilesUpdate Text Source #

Account ID to which the view (profile) belongs