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