Google_Service_JobService_Resource_Jobs
extends Google_Service_Resource
in package
The "jobs" collection of methods.
Typical usage is:
$jobsService = new Google_Service_JobService(...);
$jobs = $jobsService->jobs;
Table of Contents
- $client : Google_Client
- $methods : array<string|int, mixed>
- $resourceName : string
- $rootUrl : string
- $serviceName : string
- $servicePath : string
- $stackParameters : mixed
- __construct() : mixed
- batchDelete() : Google_Service_JobService_JobsEmpty
- Deletes a list of Job postings by filter. (jobs.batchDelete)
- call() : Google_Http_Request|expectedClass
- TODO: This function needs simplifying.
- create() : Google_Service_JobService_Job
- Creates a new job.
- createRequestUri() : string
- Parse/expand request parameters and create a fully qualified request uri.
- delete() : Google_Service_JobService_JobsEmpty
- Deletes the specified job.
- deleteByFilter() : Google_Service_JobService_JobsEmpty
- Deprecated. Use BatchDeleteJobs instead.
- get() : Google_Service_JobService_Job
- Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days. (jobs.get)
- histogram() : Google_Service_JobService_GetHistogramResponse
- Deprecated. Use SearchJobsRequest.histogram_facets instead to make a single call with both search and histogram.
- listJobs() : Google_Service_JobService_ListJobsResponse
- Lists jobs by filter. (jobs.listJobs)
- patch() : Google_Service_JobService_Job
- Updates specified job.
- search() : Google_Service_JobService_SearchJobsResponse
- Searches for jobs using the provided SearchJobsRequest.
- searchForAlert() : Google_Service_JobService_SearchJobsResponse
- Searches for jobs using the provided SearchJobsRequest.
- convertToArrayAndStripNulls() : mixed
Properties
$client
private
Google_Client
$client
$methods
private
array<string|int, mixed>
$methods
$resourceName
private
string
$resourceName
$rootUrl
private
string
$rootUrl
$serviceName
private
string
$serviceName
$servicePath
private
string
$servicePath
$stackParameters
private
mixed
$stackParameters
= array('alt' => array('type' => 'string', 'location' => 'query'), 'fields' => array('type' => 'string', 'location' => 'query'), 'trace' => array('type' => 'string', 'location' => 'query'), 'userIp' => array('type' => 'string', 'location' => 'query'), 'quotaUser' => array('type' => 'string', 'location' => 'query'), 'data' => array('type' => 'string', 'location' => 'body'), 'mimeType' => array('type' => 'string', 'location' => 'header'), 'uploadType' => array('type' => 'string', 'location' => 'query'), 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), 'prettyPrint' => array('type' => 'string', 'location' => 'query'))
Methods
__construct()
public
__construct(mixed $service, mixed $serviceName, mixed $resourceName, mixed $resource) : mixed
Parameters
- $service : mixed
- $serviceName : mixed
- $resourceName : mixed
- $resource : mixed
Return values
mixed —batchDelete()
Deletes a list of Job postings by filter. (jobs.batchDelete)
public
batchDelete(Google_Service_JobService_BatchDeleteJobsRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_JobService_JobsEmpty
Parameters
- $postBody : Google_Service_JobService_BatchDeleteJobsRequest
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_JobService_JobsEmpty —call()
TODO: This function needs simplifying.
public
call( $name, $arguments[, $expectedClass = null ]) : Google_Http_Request|expectedClass
Parameters
Tags
Return values
Google_Http_Request|expectedClass —create()
Creates a new job.
public
create(Google_Service_JobService_CreateJobRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_JobService_Job
Typically, the job becomes searchable within 10 seconds, but it may take up to 5 minutes. (jobs.create)
Parameters
- $postBody : Google_Service_JobService_CreateJobRequest
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_JobService_Job —createRequestUri()
Parse/expand request parameters and create a fully qualified request uri.
public
createRequestUri(string $restPath, array<string|int, mixed> $params) : string
Parameters
- $restPath : string
- $params : array<string|int, mixed>
Tags
Return values
string —$requestUrl
delete()
Deletes the specified job.
public
delete(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_JobService_JobsEmpty
Typically, the job becomes unsearchable within 10 seconds, but it may take up to 5 minutes. (jobs.delete)
Parameters
- $name : string
-
Required.
The resource name of the job to be deleted, such as "jobs/11111111".
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_JobService_JobsEmpty —deleteByFilter()
Deprecated. Use BatchDeleteJobs instead.
public
deleteByFilter(Google_Service_JobService_DeleteJobsByFilterRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_JobService_JobsEmpty
Deletes the specified job by filter. You can specify whether to synchronously wait for validation, indexing, and general processing to be completed before the response is returned. (jobs.deleteByFilter)
Parameters
- $postBody : Google_Service_JobService_DeleteJobsByFilterRequest
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_JobService_JobsEmpty —get()
Retrieves the specified job, whose status is OPEN or recently EXPIRED within the last 90 days. (jobs.get)
public
get(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_JobService_Job
Parameters
- $name : string
-
Required.
The resource name of the job to retrieve, such as "jobs/11111111".
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_JobService_Job —histogram()
Deprecated. Use SearchJobsRequest.histogram_facets instead to make a single call with both search and histogram.
public
histogram(Google_Service_JobService_GetHistogramRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_JobService_GetHistogramResponse
Retrieves a histogram for the given GetHistogramRequest. This call provides a structured count of jobs that match against the search query, grouped by specified facets.
This call constrains the visibility of jobs present in the database, and only counts jobs the caller has permission to search against.
For example, use this call to generate the number of jobs in the U.S. by state. (jobs.histogram)
Parameters
- $postBody : Google_Service_JobService_GetHistogramRequest
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_JobService_GetHistogramResponse —listJobs()
Lists jobs by filter. (jobs.listJobs)
public
listJobs([array<string|int, mixed> $optParams = array() ]) : Google_Service_JobService_ListJobsResponse
Parameters
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_JobService_ListJobsResponse —patch()
Updates specified job.
public
patch(string $name, Google_Service_JobService_UpdateJobRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_JobService_Job
Typically, updated contents become visible in search results within 10 seconds, but it may take up to 5 minutes. (jobs.patch)
Parameters
- $name : string
-
Required during job update.
Resource name assigned to a job by the API, for example, "/jobs/foo". Use of this field in job queries and API calls is preferred over the use of requisition_id since this value is unique.
- $postBody : Google_Service_JobService_UpdateJobRequest
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_JobService_Job —search()
Searches for jobs using the provided SearchJobsRequest.
public
search(Google_Service_JobService_SearchJobsRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_JobService_SearchJobsResponse
This call constrains the visibility of jobs present in the database, and only returns jobs that the caller has permission to search against. (jobs.search)
Parameters
- $postBody : Google_Service_JobService_SearchJobsRequest
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_JobService_SearchJobsResponse —searchForAlert()
Searches for jobs using the provided SearchJobsRequest.
public
searchForAlert(Google_Service_JobService_SearchJobsRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_JobService_SearchJobsResponse
This API call is intended for the use case of targeting passive job seekers (for example, job seekers who have signed up to receive email alerts about potential job opportunities), and has different algorithmic adjustments that are targeted to passive job seekers.
This call constrains the visibility of jobs present in the database, and only returns jobs the caller has permission to search against. (jobs.searchForAlert)
Parameters
- $postBody : Google_Service_JobService_SearchJobsRequest
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_JobService_SearchJobsResponse —convertToArrayAndStripNulls()
protected
convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
- $o : mixed