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

Contents

Description

Create a new custom dimension.

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

Synopsis

REST Resource

type ManagementCustomDimensionsInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("customDimensions" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CustomDimension :> Post '[JSON] CustomDimension))))))))) Source #

A resource alias for analytics.management.customDimensions.insert method which the ManagementCustomDimensionsInsert request conforms to.

Creating a Request

managementCustomDimensionsInsert Source #

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

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

data ManagementCustomDimensionsInsert Source #

Create a new custom dimension.

See: managementCustomDimensionsInsert smart constructor.

Instances
Eq ManagementCustomDimensionsInsert Source # 
Instance details

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

Data ManagementCustomDimensionsInsert Source # 
Instance details

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

Methods

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

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

toConstr :: ManagementCustomDimensionsInsert -> Constr #

dataTypeOf :: ManagementCustomDimensionsInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementCustomDimensionsInsert Source # 
Instance details

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

Generic ManagementCustomDimensionsInsert Source # 
Instance details

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

Associated Types

type Rep ManagementCustomDimensionsInsert :: Type -> Type #

GoogleRequest ManagementCustomDimensionsInsert Source # 
Instance details

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

type Rep ManagementCustomDimensionsInsert Source # 
Instance details

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

type Rep ManagementCustomDimensionsInsert = D1 (MetaData "ManagementCustomDimensionsInsert" "Network.Google.Resource.Analytics.Management.CustomDimensions.Insert" "gogol-analytics-0.4.0-8oDsBGD0bWo5StLtdNIJLF" False) (C1 (MetaCons "ManagementCustomDimensionsInsert'" PrefixI True) (S1 (MetaSel (Just "_mcdiWebPropertyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_mcdiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 CustomDimension) :*: S1 (MetaSel (Just "_mcdiAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ManagementCustomDimensionsInsert Source # 
Instance details

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

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

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

Request Lenses

mcdiWebPropertyId :: Lens' ManagementCustomDimensionsInsert Text Source #

Web property ID for the custom dimension to create.

mcdiAccountId :: Lens' ManagementCustomDimensionsInsert Text Source #

Account ID for the custom dimension to create.