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 |
Returns User Activity data.
See: Analytics Reporting API Reference for analyticsreporting.userActivity.search
.
Synopsis
- type UserActivitySearchResource = "v4" :> ("userActivity:search" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchUserActivityRequest :> Post '[JSON] SearchUserActivityResponse))))))))
- userActivitySearch :: SearchUserActivityRequest -> UserActivitySearch
- data UserActivitySearch
- uasXgafv :: Lens' UserActivitySearch (Maybe Xgafv)
- uasUploadProtocol :: Lens' UserActivitySearch (Maybe Text)
- uasAccessToken :: Lens' UserActivitySearch (Maybe Text)
- uasUploadType :: Lens' UserActivitySearch (Maybe Text)
- uasPayload :: Lens' UserActivitySearch SearchUserActivityRequest
- uasCallback :: Lens' UserActivitySearch (Maybe Text)
REST Resource
type UserActivitySearchResource = "v4" :> ("userActivity:search" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchUserActivityRequest :> Post '[JSON] SearchUserActivityResponse)))))))) Source #
A resource alias for analyticsreporting.userActivity.search
method which the
UserActivitySearch
request conforms to.
Creating a Request
Creates a value of UserActivitySearch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UserActivitySearch Source #
Returns User Activity data.
See: userActivitySearch
smart constructor.
Instances
Request Lenses
uasUploadProtocol :: Lens' UserActivitySearch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
uasAccessToken :: Lens' UserActivitySearch (Maybe Text) Source #
OAuth access token.
uasUploadType :: Lens' UserActivitySearch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
uasPayload :: Lens' UserActivitySearch SearchUserActivityRequest Source #
Multipart request metadata.
uasCallback :: Lens' UserActivitySearch (Maybe Text) Source #
JSONP