Google_Mutation

The Google Books Importer Google Mutation class.

Defined (1)

The class is defined in the following location(s).

/src/contrib/Google_DatastoreService.php  
  1. class Google_Mutation extends Google_Model { 
  2. protected $__deleteType = 'Google_Key'; 
  3. protected $__deleteDataType = 'array'; 
  4. public $delete; 
  5. public $force; 
  6. protected $__insertType = 'Google_Entity'; 
  7. protected $__insertDataType = 'array'; 
  8. public $insert; 
  9. protected $__insertAutoIdType = 'Google_Entity'; 
  10. protected $__insertAutoIdDataType = 'array'; 
  11. public $insertAutoId; 
  12. protected $__updateType = 'Google_Entity'; 
  13. protected $__updateDataType = 'array'; 
  14. public $update; 
  15. protected $__upsertType = 'Google_Entity'; 
  16. protected $__upsertDataType = 'array'; 
  17. public $upsert; 
  18. public function setDelete(/** array(Google_Key) */ $delete) { 
  19. $this->assertIsArray($delete, 'Google_Key', __METHOD__); 
  20. $this->delete = $delete; 
  21. public function getDelete() { 
  22. return $this->delete; 
  23. public function setForce( $force) { 
  24. $this->force = $force; 
  25. public function getForce() { 
  26. return $this->force; 
  27. public function setInsert(/** array(Google_Entity) */ $insert) { 
  28. $this->assertIsArray($insert, 'Google_Entity', __METHOD__); 
  29. $this->insert = $insert; 
  30. public function getInsert() { 
  31. return $this->insert; 
  32. public function setInsertAutoId(/** array(Google_Entity) */ $insertAutoId) { 
  33. $this->assertIsArray($insertAutoId, 'Google_Entity', __METHOD__); 
  34. $this->insertAutoId = $insertAutoId; 
  35. public function getInsertAutoId() { 
  36. return $this->insertAutoId; 
  37. public function setUpdate(/** array(Google_Entity) */ $update) { 
  38. $this->assertIsArray($update, 'Google_Entity', __METHOD__); 
  39. $this->update = $update; 
  40. public function getUpdate() { 
  41. return $this->update; 
  42. public function setUpsert(/** array(Google_Entity) */ $upsert) { 
  43. $this->assertIsArray($upsert, 'Google_Entity', __METHOD__); 
  44. $this->upsert = $upsert; 
  45. public function getUpsert() { 
  46. return $this->upsert;