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

Contents

Description

Updates an existing goal.

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

Synopsis

REST Resource

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

A resource alias for analytics.management.goals.update method which the ManagementGoalsUpdate request conforms to.

Creating a Request

managementGoalsUpdate Source #

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

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

data ManagementGoalsUpdate Source #

Updates an existing goal.

See: managementGoalsUpdate smart constructor.

Instances
Eq ManagementGoalsUpdate Source # 
Instance details

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

Data ManagementGoalsUpdate Source # 
Instance details

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

Methods

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

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

toConstr :: ManagementGoalsUpdate -> Constr #

dataTypeOf :: ManagementGoalsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementGoalsUpdate Source # 
Instance details

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

Generic ManagementGoalsUpdate Source # 
Instance details

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

Associated Types

type Rep ManagementGoalsUpdate :: Type -> Type #

GoogleRequest ManagementGoalsUpdate Source # 
Instance details

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

type Rep ManagementGoalsUpdate Source # 
Instance details

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

type Rep ManagementGoalsUpdate = D1 (MetaData "ManagementGoalsUpdate" "Network.Google.Resource.Analytics.Management.Goals.Update" "gogol-analytics-0.4.0-8oDsBGD0bWo5StLtdNIJLF" False) (C1 (MetaCons "ManagementGoalsUpdate'" PrefixI True) ((S1 (MetaSel (Just "_mguWebPropertyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mguGoalId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_mguProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_mguPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Goal) :*: S1 (MetaSel (Just "_mguAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes ManagementGoalsUpdate Source # 
Instance details

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

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

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

Request Lenses

mguWebPropertyId :: Lens' ManagementGoalsUpdate Text Source #

Web property ID to update the goal.

mguGoalId :: Lens' ManagementGoalsUpdate Text Source #

Index of the goal to be updated.

mguProFileId :: Lens' ManagementGoalsUpdate Text Source #

View (Profile) ID to update the goal.

mguPayload :: Lens' ManagementGoalsUpdate Goal Source #

Multipart request metadata.

mguAccountId :: Lens' ManagementGoalsUpdate Text Source #

Account ID to update the goal.