| 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 |
Network.Google.Resource.AdExchangeBuyer.Accounts.Patch
Description
Updates an existing account. This method supports patch semantics.
See: Ad Exchange Buyer API Reference for adexchangebuyer.accounts.patch.
Synopsis
- type AccountsPatchResource = "adexchangebuyer" :> ("v1.4" :> ("accounts" :> (Capture "id" (Textual Int32) :> (QueryParam "confirmUnsafeAccountChange" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Account :> Patch '[JSON] Account))))))
- accountsPatch :: Account -> Int32 -> AccountsPatch
- data AccountsPatch
- apPayload :: Lens' AccountsPatch Account
- apConfirmUnsafeAccountChange :: Lens' AccountsPatch (Maybe Bool)
- apId :: Lens' AccountsPatch Int32
REST Resource
type AccountsPatchResource = "adexchangebuyer" :> ("v1.4" :> ("accounts" :> (Capture "id" (Textual Int32) :> (QueryParam "confirmUnsafeAccountChange" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Account :> Patch '[JSON] Account)))))) Source #
A resource alias for adexchangebuyer.accounts.patch method which the
AccountsPatch request conforms to.
Creating a Request
Arguments
| :: Account | |
| -> Int32 | |
| -> AccountsPatch |
Creates a value of AccountsPatch with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsPatch Source #
Updates an existing account. This method supports patch semantics.
See: accountsPatch smart constructor.
Instances
Request Lenses
apConfirmUnsafeAccountChange :: Lens' AccountsPatch (Maybe Bool) Source #
Confirmation for erasing bidder and cookie matching urls.