| 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 |
Network.Google.Resource.Analytics.Management.WebProperties.Update
Description
Updates an existing web property.
See: Google Analytics API Reference for analytics.management.webproperties.update.
Synopsis
- type ManagementWebPropertiesUpdateResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WebProperty :> Put '[JSON] WebProperty))))))))
- managementWebPropertiesUpdate :: Text -> WebProperty -> Text -> ManagementWebPropertiesUpdate
- data ManagementWebPropertiesUpdate
- mwpuWebPropertyId :: Lens' ManagementWebPropertiesUpdate Text
- mwpuPayload :: Lens' ManagementWebPropertiesUpdate WebProperty
- mwpuAccountId :: Lens' ManagementWebPropertiesUpdate Text
REST Resource
type ManagementWebPropertiesUpdateResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WebProperty :> Put '[JSON] WebProperty)))))))) Source #
A resource alias for analytics.management.webproperties.update method which the
ManagementWebPropertiesUpdate request conforms to.
Creating a Request
managementWebPropertiesUpdate Source #
Arguments
| :: Text | |
| -> WebProperty | |
| -> Text | |
| -> ManagementWebPropertiesUpdate |
Creates a value of ManagementWebPropertiesUpdate with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementWebPropertiesUpdate Source #
Updates an existing web property.
See: managementWebPropertiesUpdate smart constructor.
Instances
Request Lenses
mwpuWebPropertyId :: Lens' ManagementWebPropertiesUpdate Text Source #
Web property ID
mwpuPayload :: Lens' ManagementWebPropertiesUpdate WebProperty Source #
Multipart request metadata.
mwpuAccountId :: Lens' ManagementWebPropertiesUpdate Text Source #
Account ID to which the web property belongs