* Creates and manages jobs run on a regular recurring schedule.

* *

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

* * @author Google, Inc. */ class Google_Service_CloudScheduler extends Google_Service { /** View and manage your data across Google Cloud Platform services. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; public $projects_locations; public $projects_locations_jobs; /** * Constructs the internal representation of the CloudScheduler service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://cloudscheduler.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v1'; $this->serviceName = 'cloudscheduler'; $this->projects_locations = new Google_Service_CloudScheduler_Resource_ProjectsLocations( $this, $this->serviceName, 'locations', array( 'methods' => array( 'get' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1/{+name}/locations', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'filter' => array( 'location' => 'query', 'type' => 'string', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), ), ), ) ) ); $this->projects_locations_jobs = new Google_Service_CloudScheduler_Resource_ProjectsLocationsJobs( $this, $this->serviceName, 'jobs', array( 'methods' => array( 'create' => array( 'path' => 'v1/{+parent}/jobs', 'httpMethod' => 'POST', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'delete' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'DELETE', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'GET', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1/{+parent}/jobs', 'httpMethod' => 'GET', 'parameters' => array( 'parent' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), ), ),'patch' => array( 'path' => 'v1/{+name}', 'httpMethod' => 'PATCH', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'updateMask' => array( 'location' => 'query', 'type' => 'string', ), ), ),'pause' => array( 'path' => 'v1/{+name}:pause', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'resume' => array( 'path' => 'v1/{+name}:resume', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'run' => array( 'path' => 'v1/{+name}:run', 'httpMethod' => 'POST', 'parameters' => array( 'name' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); } }