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 account.
See: Google Analytics API Reference for analytics.management.accountUserLinks.update
.
Synopsis
- type ManagementAccountUserLinksUpdateResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("entityUserLinks" :> (Capture "linkId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EntityUserLink :> Put '[JSON] EntityUserLink))))))))
- managementAccountUserLinksUpdate :: EntityUserLink -> Text -> Text -> ManagementAccountUserLinksUpdate
- data ManagementAccountUserLinksUpdate
- mauluPayload :: Lens' ManagementAccountUserLinksUpdate EntityUserLink
- mauluAccountId :: Lens' ManagementAccountUserLinksUpdate Text
- mauluLinkId :: Lens' ManagementAccountUserLinksUpdate Text
REST Resource
type ManagementAccountUserLinksUpdateResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("entityUserLinks" :> (Capture "linkId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EntityUserLink :> Put '[JSON] EntityUserLink)))))))) Source #
A resource alias for analytics.management.accountUserLinks.update
method which the
ManagementAccountUserLinksUpdate
request conforms to.
Creating a Request
managementAccountUserLinksUpdate Source #
Creates a value of ManagementAccountUserLinksUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementAccountUserLinksUpdate Source #
Updates permissions for an existing user on the given account.
See: managementAccountUserLinksUpdate
smart constructor.
Instances
Request Lenses
mauluPayload :: Lens' ManagementAccountUserLinksUpdate EntityUserLink Source #
Multipart request metadata.
mauluAccountId :: Lens' ManagementAccountUserLinksUpdate Text Source #
Account ID to update the account-user link for.
mauluLinkId :: Lens' ManagementAccountUserLinksUpdate Text Source #
Link ID to update the account-user link for.