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 |
Lists jobs by filter.
See: Cloud Talent Solution API Reference for jobs.projects.jobs.list
.
Synopsis
- type ProjectsJobsListResource = "v3p1beta1" :> (Capture "parent" Text :> ("jobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "jobView" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListJobsResponse))))))))))))
- projectsJobsList :: Text -> ProjectsJobsList
- data ProjectsJobsList
- pjlParent :: Lens' ProjectsJobsList Text
- pjlXgafv :: Lens' ProjectsJobsList (Maybe Xgafv)
- pjlJobView :: Lens' ProjectsJobsList (Maybe Text)
- pjlUploadProtocol :: Lens' ProjectsJobsList (Maybe Text)
- pjlAccessToken :: Lens' ProjectsJobsList (Maybe Text)
- pjlUploadType :: Lens' ProjectsJobsList (Maybe Text)
- pjlFilter :: Lens' ProjectsJobsList (Maybe Text)
- pjlPageToken :: Lens' ProjectsJobsList (Maybe Text)
- pjlPageSize :: Lens' ProjectsJobsList (Maybe Int32)
- pjlCallback :: Lens' ProjectsJobsList (Maybe Text)
REST Resource
type ProjectsJobsListResource = "v3p1beta1" :> (Capture "parent" Text :> ("jobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "jobView" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListJobsResponse)))))))))))) Source #
A resource alias for jobs.projects.jobs.list
method which the
ProjectsJobsList
request conforms to.
Creating a Request
Creates a value of ProjectsJobsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsJobsList Source #
Lists jobs by filter.
See: projectsJobsList
smart constructor.
Instances
Request Lenses
pjlParent :: Lens' ProjectsJobsList Text Source #
Required. The resource name of the project under which the job is created. The format is "projects/{project_id}", for example, "projects/api-test-project".
pjlJobView :: Lens' ProjectsJobsList (Maybe Text) Source #
Optional. The desired job attributes returned for jobs in the search response. Defaults to JobView.JOB_VIEW_FULL if no value is specified.
pjlUploadProtocol :: Lens' ProjectsJobsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjlAccessToken :: Lens' ProjectsJobsList (Maybe Text) Source #
OAuth access token.
pjlUploadType :: Lens' ProjectsJobsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjlFilter :: Lens' ProjectsJobsList (Maybe Text) Source #
Required. The filter string specifies the jobs to be enumerated. Supported operator: =, AND The fields eligible for filtering are: * `companyName` (Required) * `requisitionId` (Optional) Sample Query: * companyName = "projects/api-test-project/companies/123" * companyName = "projects/api-test-project/companies/123" AND requisitionId = "req-1"
pjlPageToken :: Lens' ProjectsJobsList (Maybe Text) Source #
Optional. The starting point of a query result.
pjlPageSize :: Lens' ProjectsJobsList (Maybe Int32) Source #
Optional. The maximum number of jobs to be returned per page of results. If job_view is set to JobView.JOB_VIEW_ID_ONLY, the maximum allowed page size is 1000. Otherwise, the maximum allowed page size is 100. Default is 100 if empty or a number < 1 is specified.
pjlCallback :: Lens' ProjectsJobsList (Maybe Text) Source #
JSONP