gogol-analytics-0.3.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.Filters.Patch

Contents

Description

Updates an existing filter. This method supports patch semantics.

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

Synopsis

REST Resource

type ManagementFiltersPatchResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("filters" :> (Capture "filterId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Filter :> Patch '[JSON] Filter)))))))) Source #

A resource alias for analytics.management.filters.patch method which the ManagementFiltersPatch request conforms to.

Creating a Request

managementFiltersPatch Source #

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

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

data ManagementFiltersPatch Source #

Updates an existing filter. This method supports patch semantics.

See: managementFiltersPatch smart constructor.

Instances

Eq ManagementFiltersPatch Source # 
Data ManagementFiltersPatch Source # 

Methods

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

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

toConstr :: ManagementFiltersPatch -> Constr #

dataTypeOf :: ManagementFiltersPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementFiltersPatch Source # 
Generic ManagementFiltersPatch Source # 
GoogleRequest ManagementFiltersPatch Source # 
type Rep ManagementFiltersPatch Source # 
type Rep ManagementFiltersPatch = D1 (MetaData "ManagementFiltersPatch" "Network.Google.Resource.Analytics.Management.Filters.Patch" "gogol-analytics-0.3.0-HIek6YEHwnSLCn7HDgQZyX" False) (C1 (MetaCons "ManagementFiltersPatch'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mfpFilterId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_mfpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Filter)) (S1 (MetaSel (Just Symbol "_mfpAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes ManagementFiltersPatch Source # 
type Scopes ManagementFiltersPatch = (:) Symbol "https://www.googleapis.com/auth/analytics.edit" ([] Symbol)
type Rs ManagementFiltersPatch Source # 

Request Lenses

mfpFilterId :: Lens' ManagementFiltersPatch Text Source #

ID of the filter to be updated.

mfpPayload :: Lens' ManagementFiltersPatch Filter Source #

Multipart request metadata.

mfpAccountId :: Lens' ManagementFiltersPatch Text Source #

Account ID to which the filter belongs.