| 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.ProFileUserLinks.Insert
Description
Adds a new user to the given view (profile).
See: Google Analytics API Reference for analytics.management.profileUserLinks.insert.
Synopsis
- type ManagementProFileUserLinksInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("entityUserLinks" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EntityUserLink :> Post '[JSON] EntityUserLink)))))))))))
- managementProFileUserLinksInsert :: Text -> Text -> EntityUserLink -> Text -> ManagementProFileUserLinksInsert
- data ManagementProFileUserLinksInsert
- mpfuliWebPropertyId :: Lens' ManagementProFileUserLinksInsert Text
- mpfuliProFileId :: Lens' ManagementProFileUserLinksInsert Text
- mpfuliPayload :: Lens' ManagementProFileUserLinksInsert EntityUserLink
- mpfuliAccountId :: Lens' ManagementProFileUserLinksInsert Text
REST Resource
type ManagementProFileUserLinksInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("webproperties" :> (Capture "webPropertyId" Text :> ("profiles" :> (Capture "profileId" Text :> ("entityUserLinks" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] EntityUserLink :> Post '[JSON] EntityUserLink))))))))))) Source #
A resource alias for analytics.management.profileUserLinks.insert method which the
 ManagementProFileUserLinksInsert request conforms to.
Creating a Request
managementProFileUserLinksInsert Source #
Arguments
| :: Text | |
| -> Text | |
| -> EntityUserLink | |
| -> Text | |
| -> ManagementProFileUserLinksInsert | 
Creates a value of ManagementProFileUserLinksInsert with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementProFileUserLinksInsert Source #
Adds a new user to the given view (profile).
See: managementProFileUserLinksInsert smart constructor.
Instances
Request Lenses
mpfuliWebPropertyId :: Lens' ManagementProFileUserLinksInsert Text Source #
Web Property ID to create the user link for.
mpfuliProFileId :: Lens' ManagementProFileUserLinksInsert Text Source #
View (Profile) ID to create the user link for.
mpfuliPayload :: Lens' ManagementProFileUserLinksInsert EntityUserLink Source #
Multipart request metadata.
mpfuliAccountId :: Lens' ManagementProFileUserLinksInsert Text Source #
Account ID to create the user link for.