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

Contents

Description

Adds a new user to the given account.

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

Synopsis

REST Resource

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

A resource alias for analytics.management.accountUserLinks.insert method which the ManagementAccountUserLinksInsert request conforms to.

Creating a Request

managementAccountUserLinksInsert Source #

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

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

data ManagementAccountUserLinksInsert Source #

Adds a new user to the given account.

See: managementAccountUserLinksInsert smart constructor.

Instances
Eq ManagementAccountUserLinksInsert Source # 
Instance details

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

Data ManagementAccountUserLinksInsert Source # 
Instance details

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

Methods

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

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

toConstr :: ManagementAccountUserLinksInsert -> Constr #

dataTypeOf :: ManagementAccountUserLinksInsert -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ManagementAccountUserLinksInsert Source # 
Instance details

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

Generic ManagementAccountUserLinksInsert Source # 
Instance details

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

Associated Types

type Rep ManagementAccountUserLinksInsert :: Type -> Type #

GoogleRequest ManagementAccountUserLinksInsert Source # 
Instance details

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

type Rep ManagementAccountUserLinksInsert Source # 
Instance details

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

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

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

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

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

Request Lenses

mauliAccountId :: Lens' ManagementAccountUserLinksInsert Text Source #

Account ID to create the user link for.