| 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.Analytics.Management.ProFiles.Insert
Description
Create a new view (profile).
See: Google Analytics API Reference for analytics.management.profiles.insert.
Synopsis
- type ManagementProFilesInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ProFile :> Post '[JSON] ProFile)))))))))
- managementProFilesInsert :: Text -> ProFile -> Text -> ManagementProFilesInsert
- data ManagementProFilesInsert
- mpfiWebPropertyId :: Lens' ManagementProFilesInsert Text
- mpfiPayload :: Lens' ManagementProFilesInsert ProFile
- mpfiAccountId :: Lens' ManagementProFilesInsert Text
REST Resource
type ManagementProFilesInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ProFile :> Post '[JSON] ProFile))))))))) Source #
A resource alias for analytics.management.profiles.insert method which the
ManagementProFilesInsert request conforms to.
Creating a Request
managementProFilesInsert Source #
Arguments
| :: Text | |
| -> ProFile | |
| -> Text | |
| -> ManagementProFilesInsert |
Creates a value of ManagementProFilesInsert with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementProFilesInsert Source #
Create a new view (profile).
See: managementProFilesInsert smart constructor.
Instances
Request Lenses
mpfiWebPropertyId :: Lens' ManagementProFilesInsert Text Source #
Web property ID to create the view (profile) for.
mpfiPayload :: Lens' ManagementProFilesInsert ProFile Source #
Multipart request metadata.
mpfiAccountId :: Lens' ManagementProFilesInsert Text Source #
Account ID to create the view (profile) for.