gogol-partners-0.0.1: Google Partners SDK.

Copyright(c) 2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Partners.UserEvents.Log

Contents

Description

Logs a user event.

See: Google Partners API Reference for partners.userEvents.log.

Synopsis

REST Resource

type UserEventsLogResource = "v2" :> ("userEvents:log" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` LogUserEventRequest :> Post `[JSON]` LogUserEventResponse)))))))))) Source

A resource alias for partners.userEvents.log method which the UserEventsLog request conforms to.

Creating a Request

userEventsLog Source

Creates a value of UserEventsLog with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

uelUploadProtocol :: Lens' UserEventsLog (Maybe Text) Source

Upload protocol for media (e.g. "raw", "multipart").

uelPp :: Lens' UserEventsLog Bool Source

Pretty-print response.

uelUploadType :: Lens' UserEventsLog (Maybe Text) Source

Legacy upload protocol for media (e.g. "media", "multipart").