Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Updates a GTM Account.
See: Tag Manager API Reference for tagmanager.accounts.update
.
Synopsis
- type AccountsUpdateResource = "tagmanager" :> ("v2" :> (Capture "path" Text :> (QueryParam "fingerprint" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Account :> Put '[JSON] Account)))))
- accountsUpdate :: Text -> Account -> AccountsUpdate
- data AccountsUpdate
- auPath :: Lens' AccountsUpdate Text
- auFingerprint :: Lens' AccountsUpdate (Maybe Text)
- auPayload :: Lens' AccountsUpdate Account
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
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
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.