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 |
Send a worker_message to the service.
See: Dataflow API Reference for dataflow.projects.workerMessages
.
Synopsis
- type ProjectsWorkerMessagesResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("WorkerMessages" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SendWorkerMessagesRequest :> Post '[JSON] SendWorkerMessagesResponse))))))))))
- projectsWorkerMessages :: SendWorkerMessagesRequest -> Text -> ProjectsWorkerMessages
- data ProjectsWorkerMessages
- pwmXgafv :: Lens' ProjectsWorkerMessages (Maybe Xgafv)
- pwmUploadProtocol :: Lens' ProjectsWorkerMessages (Maybe Text)
- pwmAccessToken :: Lens' ProjectsWorkerMessages (Maybe Text)
- pwmUploadType :: Lens' ProjectsWorkerMessages (Maybe Text)
- pwmPayload :: Lens' ProjectsWorkerMessages SendWorkerMessagesRequest
- pwmProjectId :: Lens' ProjectsWorkerMessages Text
- pwmCallback :: Lens' ProjectsWorkerMessages (Maybe Text)
REST Resource
type ProjectsWorkerMessagesResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("WorkerMessages" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SendWorkerMessagesRequest :> Post '[JSON] SendWorkerMessagesResponse)))))))))) Source #
A resource alias for dataflow.projects.workerMessages
method which the
ProjectsWorkerMessages
request conforms to.
Creating a Request
projectsWorkerMessages Source #
Creates a value of ProjectsWorkerMessages
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsWorkerMessages Source #
Send a worker_message to the service.
See: projectsWorkerMessages
smart constructor.
Instances
Request Lenses
pwmUploadProtocol :: Lens' ProjectsWorkerMessages (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pwmAccessToken :: Lens' ProjectsWorkerMessages (Maybe Text) Source #
OAuth access token.
pwmUploadType :: Lens' ProjectsWorkerMessages (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pwmPayload :: Lens' ProjectsWorkerMessages SendWorkerMessagesRequest Source #
Multipart request metadata.
pwmProjectId :: Lens' ProjectsWorkerMessages Text Source #
The project to send the WorkerMessages to.
pwmCallback :: Lens' ProjectsWorkerMessages (Maybe Text) Source #
JSONP