* Accesses the schemaless NoSQL database to provide fully managed, robust, * scalable storage for your application.
* ** For more information about this service, see the API * Documentation *
* * @author Google, Inc. */ class Google_Service_Datastore extends Google_Service { /** View and manage your data across Google Cloud Platform services. */ const CLOUD_PLATFORM = "https://www.googleapis.com/auth/cloud-platform"; /** View and manage your Google Cloud Datastore data. */ const DATASTORE = "https://www.googleapis.com/auth/datastore"; public $projects; public $projects_indexes; public $projects_operations; /** * Constructs the internal representation of the Datastore service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://datastore.googleapis.com/'; $this->servicePath = ''; $this->batchPath = 'batch'; $this->version = 'v1'; $this->serviceName = 'datastore'; $this->projects = new Google_Service_Datastore_Resource_Projects( $this, $this->serviceName, 'projects', array( 'methods' => array( 'allocateIds' => array( 'path' => 'v1/projects/{projectId}:allocateIds', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'beginTransaction' => array( 'path' => 'v1/projects/{projectId}:beginTransaction', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'commit' => array( 'path' => 'v1/projects/{projectId}:commit', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'export' => array( 'path' => 'v1/projects/{projectId}:export', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'import' => array( 'path' => 'v1/projects/{projectId}:import', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'lookup' => array( 'path' => 'v1/projects/{projectId}:lookup', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'reserveIds' => array( 'path' => 'v1/projects/{projectId}:reserveIds', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'rollback' => array( 'path' => 'v1/projects/{projectId}:rollback', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'runQuery' => array( 'path' => 'v1/projects/{projectId}:runQuery', 'httpMethod' => 'POST', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->projects_indexes = new Google_Service_Datastore_Resource_ProjectsIndexes( $this, $this->serviceName, 'indexes', array( 'methods' => array( 'get' => array( 'path' => 'v1/projects/{projectId}/indexes/{indexId}', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'indexId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'v1/projects/{projectId}/indexes', 'httpMethod' => 'GET', 'parameters' => array( 'projectId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'pageSize' => array( 'location' => 'query', 'type' => 'integer', ), 'filter' => array( 'location' => 'query', 'type' => 'string', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ), ) ) ); $this->projects_operations = new Google_Service_Datastore_Resource_ProjectsOperations( $this, $this->serviceName, 'operations', array( 'methods' => array( 'cancel' => array( 'path' => 'v1/{+name}:cancel', 'httpMethod' => 'POST', 'parameters' => array( 'name' => 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/{+name}/operations', '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', ), ), ), ) ) ); } }