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 |
Adds a new user to the given account.
See: Google Analytics API Reference for analytics.management.accountUserLinks.insert
.
Synopsis
- type ManagementAccountUserLinksInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("entityUserLinks" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EntityUserLink :> Post '[JSON] EntityUserLink)))))))
- managementAccountUserLinksInsert :: EntityUserLink -> Text -> ManagementAccountUserLinksInsert
- data ManagementAccountUserLinksInsert
- mauliPayload :: Lens' ManagementAccountUserLinksInsert EntityUserLink
- mauliAccountId :: Lens' ManagementAccountUserLinksInsert Text
REST Resource
type ManagementAccountUserLinksInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("entityUserLinks" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EntityUserLink :> Post '[JSON] EntityUserLink))))))) Source #
A resource alias for analytics.management.accountUserLinks.insert
method which the
ManagementAccountUserLinksInsert
request conforms to.
Creating a Request
managementAccountUserLinksInsert Source #
Creates a value of ManagementAccountUserLinksInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementAccountUserLinksInsert Source #
Adds a new user to the given account.
See: managementAccountUserLinksInsert
smart constructor.
Instances
Request Lenses
mauliPayload :: Lens' ManagementAccountUserLinksInsert EntityUserLink Source #
Multipart request metadata.
mauliAccountId :: Lens' ManagementAccountUserLinksInsert Text Source #
Account ID to create the user link for.