gogol-tagmanager-0.4.0: Google Tag Manager 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.TagManager.Accounts.UserPermissions.Create

Contents

Description

Creates a user's Account & Container access.

See: Tag Manager API Reference for tagmanager.accounts.user_permissions.create.

Synopsis

REST Resource

type AccountsUserPermissionsCreateResource = "tagmanager" :> ("v2" :> (Capture "parent" Text :> ("user_permissions" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UserPermission :> Post '[JSON] UserPermission))))) Source #

A resource alias for tagmanager.accounts.user_permissions.create method which the AccountsUserPermissionsCreate request conforms to.

Creating a Request

accountsUserPermissionsCreate Source #

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

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

data AccountsUserPermissionsCreate Source #

Creates a user's Account & Container access.

See: accountsUserPermissionsCreate smart constructor.

Instances
Eq AccountsUserPermissionsCreate Source # 
Instance details

Defined in Network.Google.Resource.TagManager.Accounts.UserPermissions.Create

Data AccountsUserPermissionsCreate Source # 
Instance details

Defined in Network.Google.Resource.TagManager.Accounts.UserPermissions.Create

Methods

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

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

toConstr :: AccountsUserPermissionsCreate -> Constr #

dataTypeOf :: AccountsUserPermissionsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsUserPermissionsCreate Source # 
Instance details

Defined in Network.Google.Resource.TagManager.Accounts.UserPermissions.Create

Generic AccountsUserPermissionsCreate Source # 
Instance details

Defined in Network.Google.Resource.TagManager.Accounts.UserPermissions.Create

Associated Types

type Rep AccountsUserPermissionsCreate :: Type -> Type #

GoogleRequest AccountsUserPermissionsCreate Source # 
Instance details

Defined in Network.Google.Resource.TagManager.Accounts.UserPermissions.Create

type Rep AccountsUserPermissionsCreate Source # 
Instance details

Defined in Network.Google.Resource.TagManager.Accounts.UserPermissions.Create

type Rep AccountsUserPermissionsCreate = D1 (MetaData "AccountsUserPermissionsCreate" "Network.Google.Resource.TagManager.Accounts.UserPermissions.Create" "gogol-tagmanager-0.4.0-JkYPGEBfRoiX1IdddhYzg" False) (C1 (MetaCons "AccountsUserPermissionsCreate'" PrefixI True) (S1 (MetaSel (Just "_aupcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_aupcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 UserPermission)))
type Scopes AccountsUserPermissionsCreate Source # 
Instance details

Defined in Network.Google.Resource.TagManager.Accounts.UserPermissions.Create

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

Defined in Network.Google.Resource.TagManager.Accounts.UserPermissions.Create

Request Lenses

aupcParent :: Lens' AccountsUserPermissionsCreate Text Source #

GTM Account's API relative path. Example: accounts/{account_id}