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

Contents

Description

Updates an existing goal. This method supports patch semantics.

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

Synopsis

REST Resource

type ManagementGoalsPatchResource = "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 :> Patch '[JSON] Goal)))))))))))) Source #

A resource alias for analytics.management.goals.patch method which the ManagementGoalsPatch request conforms to.

Creating a Request

managementGoalsPatch Source #

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

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

data ManagementGoalsPatch Source #

Updates an existing goal. This method supports patch semantics.

See: managementGoalsPatch smart constructor.

Instances
Eq ManagementGoalsPatch Source # 
Instance details

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

Data ManagementGoalsPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ManagementGoalsPatch -> Constr #

dataTypeOf :: ManagementGoalsPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementGoalsPatch Source # 
Instance details

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

Generic ManagementGoalsPatch Source # 
Instance details

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

Associated Types

type Rep ManagementGoalsPatch :: Type -> Type #

GoogleRequest ManagementGoalsPatch Source # 
Instance details

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

Associated Types

type Rs ManagementGoalsPatch :: Type #

type Scopes ManagementGoalsPatch :: [Symbol] #

type Rep ManagementGoalsPatch Source # 
Instance details

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

type Rep ManagementGoalsPatch = D1 (MetaData "ManagementGoalsPatch" "Network.Google.Resource.Analytics.Management.Goals.Patch" "gogol-analytics-0.4.0-8oDsBGD0bWo5StLtdNIJLF" False) (C1 (MetaCons "ManagementGoalsPatch'" PrefixI True) ((S1 (MetaSel (Just "_mgpWebPropertyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_mgpGoalId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_mgpProFileId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_mgpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Goal) :*: S1 (MetaSel (Just "_mgpAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes ManagementGoalsPatch Source # 
Instance details

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

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

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

Request Lenses

mgpWebPropertyId :: Lens' ManagementGoalsPatch Text Source #

Web property ID to update the goal.

mgpGoalId :: Lens' ManagementGoalsPatch Text Source #

Index of the goal to be updated.

mgpProFileId :: Lens' ManagementGoalsPatch Text Source #

View (Profile) ID to update the goal.

mgpPayload :: Lens' ManagementGoalsPatch Goal Source #

Multipart request metadata.

mgpAccountId :: Lens' ManagementGoalsPatch Text Source #

Account ID to update the goal.