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 |
Updates an existing view (profile). This method supports patch semantics.
See: Google Analytics API Reference for analytics.management.profiles.patch
.
Synopsis
- type ManagementProFilesPatchResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ProFile :> Patch '[JSON] ProFile))))))))))
- managementProFilesPatch :: Text -> Text -> ProFile -> Text -> ManagementProFilesPatch
- data ManagementProFilesPatch
- mpfpWebPropertyId :: Lens' ManagementProFilesPatch Text
- mpfpProFileId :: Lens' ManagementProFilesPatch Text
- mpfpPayload :: Lens' ManagementProFilesPatch ProFile
- mpfpAccountId :: Lens' ManagementProFilesPatch Text
REST Resource
type ManagementProFilesPatchResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ProFile :> Patch '[JSON] ProFile)))))))))) Source #
A resource alias for analytics.management.profiles.patch
method which the
ManagementProFilesPatch
request conforms to.
Creating a Request
managementProFilesPatch Source #
:: Text | |
-> Text | |
-> ProFile | |
-> Text | |
-> ManagementProFilesPatch |
Creates a value of ManagementProFilesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementProFilesPatch Source #
Updates an existing view (profile). This method supports patch semantics.
See: managementProFilesPatch
smart constructor.
Instances
Request Lenses
mpfpWebPropertyId :: Lens' ManagementProFilesPatch Text Source #
Web property ID to which the view (profile) belongs
mpfpProFileId :: Lens' ManagementProFilesPatch Text Source #
ID of the view (profile) to be updated.
mpfpPayload :: Lens' ManagementProFilesPatch ProFile Source #
Multipart request metadata.
mpfpAccountId :: Lens' ManagementProFilesPatch Text Source #
Account ID to which the view (profile) belongs