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

Contents

Description

Create a new property if the account has fewer than 20 properties. Web properties are visible in the Google Analytics interface only if they have at least one profile.

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

Synopsis

REST Resource

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

A resource alias for analytics.management.webproperties.insert method which the ManagementWebPropertiesInsert request conforms to.

Creating a Request

managementWebPropertiesInsert Source #

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

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

data ManagementWebPropertiesInsert Source #

Create a new property if the account has fewer than 20 properties. Web properties are visible in the Google Analytics interface only if they have at least one profile.

See: managementWebPropertiesInsert smart constructor.

Instances
Eq ManagementWebPropertiesInsert Source # 
Instance details

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

Data ManagementWebPropertiesInsert Source # 
Instance details

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

Methods

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

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

toConstr :: ManagementWebPropertiesInsert -> Constr #

dataTypeOf :: ManagementWebPropertiesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementWebPropertiesInsert Source # 
Instance details

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

Generic ManagementWebPropertiesInsert Source # 
Instance details

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

Associated Types

type Rep ManagementWebPropertiesInsert :: Type -> Type #

GoogleRequest ManagementWebPropertiesInsert Source # 
Instance details

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

type Rep ManagementWebPropertiesInsert Source # 
Instance details

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

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

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

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

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

Request Lenses

mwpiAccountId :: Lens' ManagementWebPropertiesInsert Text Source #

Account ID to create the web property for.