| 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.Update
Description
Updates an existing view (profile).
See: Google Analytics API Reference for analytics.management.profiles.update.
Synopsis
- type ManagementProFilesUpdateResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ProFile :> Put '[JSON] ProFile))))))))))
- managementProFilesUpdate :: Text -> Text -> ProFile -> Text -> ManagementProFilesUpdate
- data ManagementProFilesUpdate
- mpfuWebPropertyId :: Lens' ManagementProFilesUpdate Text
- mpfuProFileId :: Lens' ManagementProFilesUpdate Text
- mpfuPayload :: Lens' ManagementProFilesUpdate ProFile
- mpfuAccountId :: Lens' ManagementProFilesUpdate Text
REST Resource
type ManagementProFilesUpdateResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ProFile :> Put '[JSON] ProFile)))))))))) Source #
A resource alias for analytics.management.profiles.update method which the
ManagementProFilesUpdate request conforms to.
Creating a Request
managementProFilesUpdate Source #
Arguments
| :: Text | |
| -> Text | |
| -> ProFile | |
| -> Text | |
| -> ManagementProFilesUpdate |
Creates a value of ManagementProFilesUpdate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementProFilesUpdate Source #
Updates an existing view (profile).
See: managementProFilesUpdate smart constructor.
Instances
Request Lenses
mpfuWebPropertyId :: Lens' ManagementProFilesUpdate Text Source #
Web property ID to which the view (profile) belongs
mpfuProFileId :: Lens' ManagementProFilesUpdate Text Source #
ID of the view (profile) to be updated.
mpfuPayload :: Lens' ManagementProFilesUpdate ProFile Source #
Multipart request metadata.
mpfuAccountId :: Lens' ManagementProFilesUpdate Text Source #
Account ID to which the view (profile) belongs