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