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