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 filter. This method supports patch semantics.
See: Google Analytics API Reference for analytics.management.filters.patch
.
Synopsis
- type ManagementFiltersPatchResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("filters" :> (Capture "filterId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Filter :> Patch '[JSON] Filter))))))))
- managementFiltersPatch :: Text -> Filter -> Text -> ManagementFiltersPatch
- data ManagementFiltersPatch
- mfpFilterId :: Lens' ManagementFiltersPatch Text
- mfpPayload :: Lens' ManagementFiltersPatch Filter
- mfpAccountId :: Lens' ManagementFiltersPatch Text
REST Resource
type ManagementFiltersPatchResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("filters" :> (Capture "filterId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Filter :> Patch '[JSON] Filter)))))))) Source #
A resource alias for analytics.management.filters.patch
method which the
ManagementFiltersPatch
request conforms to.
Creating a Request
managementFiltersPatch Source #
Creates a value of ManagementFiltersPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementFiltersPatch Source #
Updates an existing filter. This method supports patch semantics.
See: managementFiltersPatch
smart constructor.
Instances
Request Lenses
mfpFilterId :: Lens' ManagementFiltersPatch Text Source #
ID of the filter to be updated.
mfpPayload :: Lens' ManagementFiltersPatch Filter Source #
Multipart request metadata.
mfpAccountId :: Lens' ManagementFiltersPatch Text Source #
Account ID to which the filter belongs.