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