gogol-tagmanager-0.2.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.Update

Contents

Description

Updates a GTM Account.

See: Tag Manager API Reference for tagmanager.accounts.update.

Synopsis

REST Resource

type AccountsUpdateResource = "tagmanager" :> ("v1" :> ("accounts" :> (Capture "accountId" Text :> (QueryParam "fingerprint" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Account :> Put '[JSON] Account)))))) Source #

A resource alias for tagmanager.accounts.update method which the AccountsUpdate request conforms to.

Creating a Request

accountsUpdate Source #

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

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

data AccountsUpdate Source #

Updates a GTM Account.

See: accountsUpdate smart constructor.

Instances

Eq AccountsUpdate Source # 
Data AccountsUpdate Source # 

Methods

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

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

toConstr :: AccountsUpdate -> Constr #

dataTypeOf :: AccountsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AccountsUpdate Source # 
Generic AccountsUpdate Source # 

Associated Types

type Rep AccountsUpdate :: * -> * #

GoogleRequest AccountsUpdate Source # 
type Rep AccountsUpdate Source # 
type Rep AccountsUpdate = D1 (MetaData "AccountsUpdate" "Network.Google.Resource.TagManager.Accounts.Update" "gogol-tagmanager-0.2.0-It8ONsTi93z1Pafnlf7Hr3" False) (C1 (MetaCons "AccountsUpdate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_auFingerprint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_auPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Account)) (S1 (MetaSel (Just Symbol "_auAccountId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes AccountsUpdate Source # 
type Scopes AccountsUpdate = (:) Symbol "https://www.googleapis.com/auth/tagmanager.manage.accounts" ([] Symbol)
type Rs AccountsUpdate Source # 

Request Lenses

auFingerprint :: Lens' AccountsUpdate (Maybe Text) Source #

When provided, this fingerprint must match the fingerprint of the account in storage.

auPayload :: Lens' AccountsUpdate Account Source #

Multipart request metadata.