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 |
Provision account.
See: Google Analytics API Reference for analytics.provisioning.createAccountTree
.
Synopsis
- type ProvisioningCreateAccountTreeResource = "analytics" :> ("v3" :> ("provisioning" :> ("createAccountTree" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AccountTreeRequest :> Post '[JSON] AccountTreeResponse)))))
- provisioningCreateAccountTree :: AccountTreeRequest -> ProvisioningCreateAccountTree
- data ProvisioningCreateAccountTree
- pcatPayload :: Lens' ProvisioningCreateAccountTree AccountTreeRequest
REST Resource
type ProvisioningCreateAccountTreeResource = "analytics" :> ("v3" :> ("provisioning" :> ("createAccountTree" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] AccountTreeRequest :> Post '[JSON] AccountTreeResponse))))) Source #
A resource alias for analytics.provisioning.createAccountTree
method which the
ProvisioningCreateAccountTree
request conforms to.
Creating a Request
provisioningCreateAccountTree Source #
Creates a value of ProvisioningCreateAccountTree
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProvisioningCreateAccountTree Source #
Provision account.
See: provisioningCreateAccountTree
smart constructor.
Instances
Request Lenses
pcatPayload :: Lens' ProvisioningCreateAccountTree AccountTreeRequest Source #
Multipart request metadata.