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 |
Updates specified job. Typically, updated contents become visible in search results within 10 seconds, but it may take up to 5 minutes.
See: Cloud Talent Solution API Reference for jobs.projects.jobs.patch
.
Synopsis
- type ProjectsJobsPatchResource = "v3p1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateJobRequest :> Patch '[JSON] Job))))))))
- projectsJobsPatch :: UpdateJobRequest -> Text -> ProjectsJobsPatch
- data ProjectsJobsPatch
- pjpXgafv :: Lens' ProjectsJobsPatch (Maybe Xgafv)
- pjpUploadProtocol :: Lens' ProjectsJobsPatch (Maybe Text)
- pjpAccessToken :: Lens' ProjectsJobsPatch (Maybe Text)
- pjpUploadType :: Lens' ProjectsJobsPatch (Maybe Text)
- pjpPayload :: Lens' ProjectsJobsPatch UpdateJobRequest
- pjpName :: Lens' ProjectsJobsPatch Text
- pjpCallback :: Lens' ProjectsJobsPatch (Maybe Text)
REST Resource
type ProjectsJobsPatchResource = "v3p1beta1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UpdateJobRequest :> Patch '[JSON] Job)))))))) Source #
A resource alias for jobs.projects.jobs.patch
method which the
ProjectsJobsPatch
request conforms to.
Creating a Request
Creates a value of ProjectsJobsPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsJobsPatch Source #
Updates specified job. Typically, updated contents become visible in search results within 10 seconds, but it may take up to 5 minutes.
See: projectsJobsPatch
smart constructor.
Instances
Request Lenses
pjpUploadProtocol :: Lens' ProjectsJobsPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjpAccessToken :: Lens' ProjectsJobsPatch (Maybe Text) Source #
OAuth access token.
pjpUploadType :: Lens' ProjectsJobsPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjpPayload :: Lens' ProjectsJobsPatch UpdateJobRequest Source #
Multipart request metadata.
pjpName :: Lens' ProjectsJobsPatch Text Source #
Required during job update. The resource name for the job. This is generated by the service when a job is created. The format is "projects/{project_id}/jobs/{job_id}", for example, "projects/api-test-project/jobs/1234". Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique.
pjpCallback :: Lens' ProjectsJobsPatch (Maybe Text) Source #
JSONP