* Cloud Talent Solution provides the capability to create, read, update, and * delete job postings, as well as search jobs based on keywords and filters.

* *

* For more information about this service, see the API * Documentation *

* * @author Google, Inc. */ class CloudTalentSolution extends \Google\Service { /** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; /** Manage job postings. */ const JOBS = "https://www.googleapis.com/auth/jobs"; public $projects_operations; public $projects_tenants; public $projects_tenants_clientEvents; public $projects_tenants_companies; public $projects_tenants_jobs; /** * Constructs the internal representation of the CloudTalentSolution service. * * @param Client|array $clientOrConfig The client used to deliver requests, or a * config array to pass to a new Client instance. * @param string $rootUrl The root URL used for requests to the service. */ public function __construct($clientOrConfig = [], $rootUrl = null) { parent::__construct($clientOrConfig); $this->rootUrl = $rootUrl ?: 'https://jobs.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v4'; $this->serviceName = 'jobs'; $this->projects_operations = new CloudTalentSolution\Resource\ProjectsOperations( $this, $this->serviceName, 'operations', [ 'methods' => [ 'get' => [ 'path' => 'v4/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ], ] ] ); $this->projects_tenants = new CloudTalentSolution\Resource\ProjectsTenants( $this, $this->serviceName, 'tenants', [ 'methods' => [ 'completeQuery' => [ 'path' => 'v4/{+tenant}:completeQuery', 'httpMethod' => 'GET', 'parameters' => [ 'tenant' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'company' => [ 'location' => 'query', 'type' => 'string', ], 'languageCodes' => [ 'location' => 'query', 'type' => 'string', 'repeated' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'query' => [ 'location' => 'query', 'type' => 'string', ], 'scope' => [ 'location' => 'query', 'type' => 'string', ], 'type' => [ 'location' => 'query', 'type' => 'string', ], ], ],'create' => [ 'path' => 'v4/{+parent}/tenants', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'delete' => [ 'path' => 'v4/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v4/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v4/{+parent}/tenants', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v4/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->projects_tenants_clientEvents = new CloudTalentSolution\Resource\ProjectsTenantsClientEvents( $this, $this->serviceName, 'clientEvents', [ 'methods' => [ 'create' => [ 'path' => 'v4/{+parent}/clientEvents', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ], ] ] ); $this->projects_tenants_companies = new CloudTalentSolution\Resource\ProjectsTenantsCompanies( $this, $this->serviceName, 'companies', [ 'methods' => [ 'create' => [ 'path' => 'v4/{+parent}/companies', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'delete' => [ 'path' => 'v4/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v4/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v4/{+parent}/companies', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], 'requireOpenJobs' => [ 'location' => 'query', 'type' => 'boolean', ], ], ],'patch' => [ 'path' => 'v4/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ], ] ] ); $this->projects_tenants_jobs = new CloudTalentSolution\Resource\ProjectsTenantsJobs( $this, $this->serviceName, 'jobs', [ 'methods' => [ 'batchCreate' => [ 'path' => 'v4/{+parent}/jobs:batchCreate', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'batchDelete' => [ 'path' => 'v4/{+parent}/jobs:batchDelete', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'batchUpdate' => [ 'path' => 'v4/{+parent}/jobs:batchUpdate', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'create' => [ 'path' => 'v4/{+parent}/jobs', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'delete' => [ 'path' => 'v4/{+name}', 'httpMethod' => 'DELETE', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'get' => [ 'path' => 'v4/{+name}', 'httpMethod' => 'GET', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'list' => [ 'path' => 'v4/{+parent}/jobs', 'httpMethod' => 'GET', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'filter' => [ 'location' => 'query', 'type' => 'string', ], 'jobView' => [ 'location' => 'query', 'type' => 'string', ], 'pageSize' => [ 'location' => 'query', 'type' => 'integer', ], 'pageToken' => [ 'location' => 'query', 'type' => 'string', ], ], ],'patch' => [ 'path' => 'v4/{+name}', 'httpMethod' => 'PATCH', 'parameters' => [ 'name' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], 'updateMask' => [ 'location' => 'query', 'type' => 'string', ], ], ],'search' => [ 'path' => 'v4/{+parent}/jobs:search', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ],'searchForAlert' => [ 'path' => 'v4/{+parent}/jobs:searchForAlert', 'httpMethod' => 'POST', 'parameters' => [ 'parent' => [ 'location' => 'path', 'type' => 'string', 'required' => true, ], ], ], ] ] ); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CloudTalentSolution::class, 'Google_Service_CloudTalentSolution');