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

Contents

Description

Adds a new user to the given web property.

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

Synopsis

REST Resource

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

A resource alias for analytics.management.webpropertyUserLinks.insert method which the ManagementWebPropertyUserLinksInsert request conforms to.

Creating a Request

managementWebPropertyUserLinksInsert Source #

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

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

data ManagementWebPropertyUserLinksInsert Source #

Adds a new user to the given web property.

See: managementWebPropertyUserLinksInsert smart constructor.

Instances
Eq ManagementWebPropertyUserLinksInsert Source # 
Instance details

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

Data ManagementWebPropertyUserLinksInsert Source # 
Instance details

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

Methods

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

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

toConstr :: ManagementWebPropertyUserLinksInsert -> Constr #

dataTypeOf :: ManagementWebPropertyUserLinksInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementWebPropertyUserLinksInsert Source # 
Instance details

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

Generic ManagementWebPropertyUserLinksInsert Source # 
Instance details

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

GoogleRequest ManagementWebPropertyUserLinksInsert Source # 
Instance details

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

type Rep ManagementWebPropertyUserLinksInsert Source # 
Instance details

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

type Rep ManagementWebPropertyUserLinksInsert = D1 (MetaData "ManagementWebPropertyUserLinksInsert" "Network.Google.Resource.Analytics.Management.WebPropertyUserLinks.Insert" "gogol-analytics-0.4.0-8oDsBGD0bWo5StLtdNIJLF" False) (C1 (MetaCons "ManagementWebPropertyUserLinksInsert'" PrefixI True) (S1 (MetaSel (Just "_mwpuliWebPropertyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_mwpuliPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 EntityUserLink) :*: S1 (MetaSel (Just "_mwpuliAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ManagementWebPropertyUserLinksInsert Source # 
Instance details

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

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

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

Request Lenses

mwpuliWebPropertyId :: Lens' ManagementWebPropertyUserLinksInsert Text Source #

Web Property ID to create the user link for.

mwpuliAccountId :: Lens' ManagementWebPropertyUserLinksInsert Text Source #

Account ID to create the user link for.