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.Filters.Insert

Contents

Description

Create a new filter.

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

Synopsis

REST Resource

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

A resource alias for analytics.management.filters.insert method which the ManagementFiltersInsert request conforms to.

Creating a Request

managementFiltersInsert Source #

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

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

data ManagementFiltersInsert Source #

Create a new filter.

See: managementFiltersInsert smart constructor.

Instances
Eq ManagementFiltersInsert Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Filters.Insert

Data ManagementFiltersInsert Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Filters.Insert

Methods

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

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

toConstr :: ManagementFiltersInsert -> Constr #

dataTypeOf :: ManagementFiltersInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementFiltersInsert Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Filters.Insert

Generic ManagementFiltersInsert Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Filters.Insert

Associated Types

type Rep ManagementFiltersInsert :: Type -> Type #

GoogleRequest ManagementFiltersInsert Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Filters.Insert

type Rep ManagementFiltersInsert Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Filters.Insert

type Rep ManagementFiltersInsert = D1 (MetaData "ManagementFiltersInsert" "Network.Google.Resource.Analytics.Management.Filters.Insert" "gogol-analytics-0.4.0-8oDsBGD0bWo5StLtdNIJLF" False) (C1 (MetaCons "ManagementFiltersInsert'" PrefixI True) (S1 (MetaSel (Just "_mfiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Filter) :*: S1 (MetaSel (Just "_mfiAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes ManagementFiltersInsert Source # 
Instance details

Defined in Network.Google.Resource.Analytics.Management.Filters.Insert

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

Defined in Network.Google.Resource.Analytics.Management.Filters.Insert

Request Lenses

mfiPayload :: Lens' ManagementFiltersInsert Filter Source #

Multipart request metadata.

mfiAccountId :: Lens' ManagementFiltersInsert Text Source #

Account ID to create filter for.