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 custom dimension. This method supports patch semantics.
See: Google Analytics API Reference for analytics.management.customDimensions.patch
.
Synopsis
- type ManagementCustomDimensionsPatchResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("customDimensions" :> (Capture "customDimensionId" Text :> (QueryParam "ignoreCustomDataSourceLinks" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CustomDimension :> Patch '[JSON] CustomDimension)))))))))))
- managementCustomDimensionsPatch :: Text -> CustomDimension -> Text -> Text -> ManagementCustomDimensionsPatch
- data ManagementCustomDimensionsPatch
- mcdpWebPropertyId :: Lens' ManagementCustomDimensionsPatch Text
- mcdpIgnoreCustomDataSourceLinks :: Lens' ManagementCustomDimensionsPatch Bool
- mcdpPayload :: Lens' ManagementCustomDimensionsPatch CustomDimension
- mcdpAccountId :: Lens' ManagementCustomDimensionsPatch Text
- mcdpCustomDimensionId :: Lens' ManagementCustomDimensionsPatch Text
REST Resource
type ManagementCustomDimensionsPatchResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("customDimensions" :> (Capture "customDimensionId" Text :> (QueryParam "ignoreCustomDataSourceLinks" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CustomDimension :> Patch '[JSON] CustomDimension))))))))))) Source #
A resource alias for analytics.management.customDimensions.patch
method which the
ManagementCustomDimensionsPatch
request conforms to.
Creating a Request
managementCustomDimensionsPatch Source #
:: Text | |
-> CustomDimension | |
-> Text | |
-> Text | |
-> ManagementCustomDimensionsPatch |
Creates a value of ManagementCustomDimensionsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementCustomDimensionsPatch Source #
Updates an existing custom dimension. This method supports patch semantics.
See: managementCustomDimensionsPatch
smart constructor.
Instances
Request Lenses
mcdpWebPropertyId :: Lens' ManagementCustomDimensionsPatch Text Source #
Web property ID for the custom dimension to update.
mcdpIgnoreCustomDataSourceLinks :: Lens' ManagementCustomDimensionsPatch Bool Source #
Force the update and ignore any warnings related to the custom dimension being linked to a custom data source / data set.
mcdpPayload :: Lens' ManagementCustomDimensionsPatch CustomDimension Source #
Multipart request metadata.
mcdpAccountId :: Lens' ManagementCustomDimensionsPatch Text Source #
Account ID for the custom dimension to update.
mcdpCustomDimensionId :: Lens' ManagementCustomDimensionsPatch Text Source #
Custom dimension ID for the custom dimension to update.