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.Update

Contents

Description

Updates a GTM Account.

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

Synopsis

REST Resource

type AccountsUpdateResource = "tagmanager" :> ("v2" :> (Capture "path" 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 # 
Instance details

Defined in Network.Google.Resource.TagManager.Accounts.Update

Data AccountsUpdate Source # 
Instance details

Defined in Network.Google.Resource.TagManager.Accounts.Update

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 # 
Instance details

Defined in Network.Google.Resource.TagManager.Accounts.Update

Generic AccountsUpdate Source # 
Instance details

Defined in Network.Google.Resource.TagManager.Accounts.Update

Associated Types

type Rep AccountsUpdate :: Type -> Type #

GoogleRequest AccountsUpdate Source # 
Instance details

Defined in Network.Google.Resource.TagManager.Accounts.Update

Associated Types

type Rs AccountsUpdate :: Type #

type Scopes AccountsUpdate :: [Symbol] #

type Rep AccountsUpdate Source # 
Instance details

Defined in Network.Google.Resource.TagManager.Accounts.Update

type Rep AccountsUpdate = D1 (MetaData "AccountsUpdate" "Network.Google.Resource.TagManager.Accounts.Update" "gogol-tagmanager-0.4.0-JkYPGEBfRoiX1IdddhYzg" False) (C1 (MetaCons "AccountsUpdate'" PrefixI True) (S1 (MetaSel (Just "_auPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_auFingerprint") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_auPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Account))))
type Scopes AccountsUpdate Source # 
Instance details

Defined in Network.Google.Resource.TagManager.Accounts.Update

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

Defined in Network.Google.Resource.TagManager.Accounts.Update

Request Lenses

auPath :: Lens' AccountsUpdate Text Source #

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

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.