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

Contents

Description

Create a new view (profile).

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

Synopsis

REST Resource

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

A resource alias for analytics.management.profiles.insert method which the ManagementProFilesInsert request conforms to.

Creating a Request

managementProFilesInsert Source #

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

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

data ManagementProFilesInsert Source #

Create a new view (profile).

See: managementProFilesInsert smart constructor.

Instances
Eq ManagementProFilesInsert Source # 
Instance details

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

Data ManagementProFilesInsert Source # 
Instance details

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

Methods

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

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

toConstr :: ManagementProFilesInsert -> Constr #

dataTypeOf :: ManagementProFilesInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementProFilesInsert Source # 
Instance details

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

Generic ManagementProFilesInsert Source # 
Instance details

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

Associated Types

type Rep ManagementProFilesInsert :: Type -> Type #

GoogleRequest ManagementProFilesInsert Source # 
Instance details

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

type Rep ManagementProFilesInsert Source # 
Instance details

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

type Rep ManagementProFilesInsert = D1 (MetaData "ManagementProFilesInsert" "Network.Google.Resource.Analytics.Management.ProFiles.Insert" "gogol-analytics-0.4.0-8oDsBGD0bWo5StLtdNIJLF" False) (C1 (MetaCons "ManagementProFilesInsert'" PrefixI True) (S1 (MetaSel (Just "_mpfiWebPropertyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_mpfiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ProFile) :*: S1 (MetaSel (Just "_mpfiAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ManagementProFilesInsert Source # 
Instance details

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

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

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

Request Lenses

mpfiWebPropertyId :: Lens' ManagementProFilesInsert Text Source #

Web property ID to create the view (profile) for.

mpfiAccountId :: Lens' ManagementProFilesInsert Text Source #

Account ID to create the view (profile) for.