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 |
Logs a generic message from the client, such as `Failed to render component`, `Profile page is running slow`, `More than 500 users have accessed this result.`, etc.
See: Google Partners API Reference for partners.clientMessages.log
.
Synopsis
- type ClientMessagesLogResource = "v2" :> ("clientMessages:log" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LogMessageRequest :> Post '[JSON] LogMessageResponse))))))))
- clientMessagesLog :: LogMessageRequest -> ClientMessagesLog
- data ClientMessagesLog
- cmlXgafv :: Lens' ClientMessagesLog (Maybe Xgafv)
- cmlUploadProtocol :: Lens' ClientMessagesLog (Maybe Text)
- cmlAccessToken :: Lens' ClientMessagesLog (Maybe Text)
- cmlUploadType :: Lens' ClientMessagesLog (Maybe Text)
- cmlPayload :: Lens' ClientMessagesLog LogMessageRequest
- cmlCallback :: Lens' ClientMessagesLog (Maybe Text)
REST Resource
type ClientMessagesLogResource = "v2" :> ("clientMessages:log" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] LogMessageRequest :> Post '[JSON] LogMessageResponse)))))))) Source #
A resource alias for partners.clientMessages.log
method which the
ClientMessagesLog
request conforms to.
Creating a Request
Creates a value of ClientMessagesLog
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ClientMessagesLog Source #
Logs a generic message from the client, such as `Failed to render component`, `Profile page is running slow`, `More than 500 users have accessed this result.`, etc.
See: clientMessagesLog
smart constructor.
Instances
Request Lenses
cmlUploadProtocol :: Lens' ClientMessagesLog (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cmlAccessToken :: Lens' ClientMessagesLog (Maybe Text) Source #
OAuth access token.
cmlUploadType :: Lens' ClientMessagesLog (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cmlPayload :: Lens' ClientMessagesLog LogMessageRequest Source #
Multipart request metadata.
cmlCallback :: Lens' ClientMessagesLog (Maybe Text) Source #
JSONP