| 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.DFAReporting.SubAccounts.Update
Description
Updates an existing subaccount.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.subaccounts.update.
Synopsis
- type SubAccountsUpdateResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("subaccounts" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SubAccount :> Put '[JSON] SubAccount))))))
- subAccountsUpdate :: Int64 -> SubAccount -> SubAccountsUpdate
- data SubAccountsUpdate
- sauProFileId :: Lens' SubAccountsUpdate Int64
- sauPayload :: Lens' SubAccountsUpdate SubAccount
REST Resource
type SubAccountsUpdateResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("subaccounts" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SubAccount :> Put '[JSON] SubAccount)))))) Source #
A resource alias for dfareporting.subaccounts.update method which the
SubAccountsUpdate request conforms to.
Creating a Request
Arguments
| :: Int64 | |
| -> SubAccount | |
| -> SubAccountsUpdate |
Creates a value of SubAccountsUpdate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SubAccountsUpdate Source #
Updates an existing subaccount.
See: subAccountsUpdate smart constructor.
Instances
Request Lenses
sauProFileId :: Lens' SubAccountsUpdate Int64 Source #
User profile ID associated with this request.
sauPayload :: Lens' SubAccountsUpdate SubAccount Source #
Multipart request metadata.