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.locations.workerMessages
.
Synopsis
- type ProjectsLocationsWorkerMessagesResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" 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))))))))))))
- projectsLocationsWorkerMessages :: Text -> SendWorkerMessagesRequest -> Text -> ProjectsLocationsWorkerMessages
- data ProjectsLocationsWorkerMessages
- plwmXgafv :: Lens' ProjectsLocationsWorkerMessages (Maybe Xgafv)
- plwmUploadProtocol :: Lens' ProjectsLocationsWorkerMessages (Maybe Text)
- plwmLocation :: Lens' ProjectsLocationsWorkerMessages Text
- plwmAccessToken :: Lens' ProjectsLocationsWorkerMessages (Maybe Text)
- plwmUploadType :: Lens' ProjectsLocationsWorkerMessages (Maybe Text)
- plwmPayload :: Lens' ProjectsLocationsWorkerMessages SendWorkerMessagesRequest
- plwmProjectId :: Lens' ProjectsLocationsWorkerMessages Text
- plwmCallback :: Lens' ProjectsLocationsWorkerMessages (Maybe Text)
REST Resource
type ProjectsLocationsWorkerMessagesResource = "v1b3" :> ("projects" :> (Capture "projectId" Text :> ("locations" :> (Capture "location" 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.locations.workerMessages
method which the
ProjectsLocationsWorkerMessages
request conforms to.
Creating a Request
projectsLocationsWorkerMessages Source #
Creates a value of ProjectsLocationsWorkerMessages
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsWorkerMessages Source #
Send a worker_message to the service.
See: projectsLocationsWorkerMessages
smart constructor.
Instances
Request Lenses
plwmUploadProtocol :: Lens' ProjectsLocationsWorkerMessages (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plwmLocation :: Lens' ProjectsLocationsWorkerMessages Text Source #
The location which contains the job
plwmAccessToken :: Lens' ProjectsLocationsWorkerMessages (Maybe Text) Source #
OAuth access token.
plwmUploadType :: Lens' ProjectsLocationsWorkerMessages (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plwmPayload :: Lens' ProjectsLocationsWorkerMessages SendWorkerMessagesRequest Source #
Multipart request metadata.
plwmProjectId :: Lens' ProjectsLocationsWorkerMessages Text Source #
The project to send the WorkerMessages to.
plwmCallback :: Lens' ProjectsLocationsWorkerMessages (Maybe Text) Source #
JSONP