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 permissions for an existing user on the given view (profile).
See: Google Analytics API Reference for analytics.management.profileUserLinks.update
.
Synopsis
- type ManagementProFileUserLinksUpdateResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("entityUserLinks" :> (Capture "linkId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EntityUserLink :> Put '[JSON] EntityUserLink))))))))))))
- managementProFileUserLinksUpdate :: Text -> Text -> EntityUserLink -> Text -> Text -> ManagementProFileUserLinksUpdate
- data ManagementProFileUserLinksUpdate
- mpfuluWebPropertyId :: Lens' ManagementProFileUserLinksUpdate Text
- mpfuluProFileId :: Lens' ManagementProFileUserLinksUpdate Text
- mpfuluPayload :: Lens' ManagementProFileUserLinksUpdate EntityUserLink
- mpfuluAccountId :: Lens' ManagementProFileUserLinksUpdate Text
- mpfuluLinkId :: Lens' ManagementProFileUserLinksUpdate Text
REST Resource
type ManagementProFileUserLinksUpdateResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("entityUserLinks" :> (Capture "linkId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EntityUserLink :> Put '[JSON] EntityUserLink)))))))))))) Source #
A resource alias for analytics.management.profileUserLinks.update
method which the
ManagementProFileUserLinksUpdate
request conforms to.
Creating a Request
managementProFileUserLinksUpdate Source #
:: Text | |
-> Text | |
-> EntityUserLink | |
-> Text | |
-> Text | |
-> ManagementProFileUserLinksUpdate |
Creates a value of ManagementProFileUserLinksUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementProFileUserLinksUpdate Source #
Updates permissions for an existing user on the given view (profile).
See: managementProFileUserLinksUpdate
smart constructor.
Instances
Request Lenses
mpfuluWebPropertyId :: Lens' ManagementProFileUserLinksUpdate Text Source #
Web Property ID to update the user link for.
mpfuluProFileId :: Lens' ManagementProFileUserLinksUpdate Text Source #
View (Profile ID) to update the user link for.
mpfuluPayload :: Lens' ManagementProFileUserLinksUpdate EntityUserLink Source #
Multipart request metadata.
mpfuluAccountId :: Lens' ManagementProFileUserLinksUpdate Text Source #
Account ID to update the user link for.
mpfuluLinkId :: Lens' ManagementProFileUserLinksUpdate Text Source #
Link ID to update the user link for.