GoogleGAL_Service_AndroidPublisher_EditsImages_Resource

The "images" collection of methods.

Defined (1)

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

/core/Google/Service/AndroidPublisher.php  
  1. class GoogleGAL_Service_AndroidPublisher_EditsImages_Resource extends GoogleGAL_Service_Resource 
  2.  
  3. /** 
  4. * Deletes the image (specified by id) from the edit. (images.delete) 
  5. * @param string $packageName Unique identifier for the Android app that is 
  6. * being updated; for example, "com.spiffygame". 
  7. * @param string $editId Unique identifier for this edit. 
  8. * @param string $language The language code (a BCP-47 language tag) of the 
  9. * localized listing whose images are to read or modified. For example, to 
  10. * select Austrian German, pass "de-AT". 
  11. * @param string $imageType 
  12. * @param string $imageId Unique identifier an image within the set of images 
  13. * attached to this edit. 
  14. * @param array $optParams Optional parameters. 
  15. */ 
  16. public function delete($packageName, $editId, $language, $imageType, $imageId, $optParams = array()) 
  17. $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType, 'imageId' => $imageId); 
  18. $params = array_merge($params, $optParams); 
  19. return $this->call('delete', array($params)); 
  20.  
  21. /** 
  22. * Deletes all images for the specified language and image type. 
  23. * (images.deleteall) 
  24. * @param string $packageName Unique identifier for the Android app that is 
  25. * being updated; for example, "com.spiffygame". 
  26. * @param string $editId Unique identifier for this edit. 
  27. * @param string $language The language code (a BCP-47 language tag) of the 
  28. * localized listing whose images are to read or modified. For example, to 
  29. * select Austrian German, pass "de-AT". 
  30. * @param string $imageType 
  31. * @param array $optParams Optional parameters. 
  32. * @return GoogleGAL_Service_AndroidPublisher_ImagesDeleteAllResponse 
  33. */ 
  34. public function deleteall($packageName, $editId, $language, $imageType, $optParams = array()) 
  35. $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType); 
  36. $params = array_merge($params, $optParams); 
  37. return $this->call('deleteall', array($params), "GoogleGAL_Service_AndroidPublisher_ImagesDeleteAllResponse"); 
  38.  
  39. /** 
  40. * Lists all images for the specified language and image type. 
  41. * (images.listEditsImages) 
  42. * @param string $packageName Unique identifier for the Android app that is 
  43. * being updated; for example, "com.spiffygame". 
  44. * @param string $editId Unique identifier for this edit. 
  45. * @param string $language The language code (a BCP-47 language tag) of the 
  46. * localized listing whose images are to read or modified. For example, to 
  47. * select Austrian German, pass "de-AT". 
  48. * @param string $imageType 
  49. * @param array $optParams Optional parameters. 
  50. * @return GoogleGAL_Service_AndroidPublisher_ImagesListResponse 
  51. */ 
  52. public function listEditsImages($packageName, $editId, $language, $imageType, $optParams = array()) 
  53. $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType); 
  54. $params = array_merge($params, $optParams); 
  55. return $this->call('list', array($params), "GoogleGAL_Service_AndroidPublisher_ImagesListResponse"); 
  56.  
  57. /** 
  58. * Uploads a new image and adds it to the list of images for the specified 
  59. * language and image type. (images.upload) 
  60. * @param string $packageName Unique identifier for the Android app that is 
  61. * being updated; for example, "com.spiffygame". 
  62. * @param string $editId Unique identifier for this edit. 
  63. * @param string $language The language code (a BCP-47 language tag) of the 
  64. * localized listing whose images are to read or modified. For example, to 
  65. * select Austrian German, pass "de-AT". 
  66. * @param string $imageType 
  67. * @param array $optParams Optional parameters. 
  68. * @return GoogleGAL_Service_AndroidPublisher_ImagesUploadResponse 
  69. */ 
  70. public function upload($packageName, $editId, $language, $imageType, $optParams = array()) 
  71. $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType); 
  72. $params = array_merge($params, $optParams); 
  73. return $this->call('upload', array($params), "GoogleGAL_Service_AndroidPublisher_ImagesUploadResponse");