GoogleGAL_Service_AndroidPublisher_EditsApklistings_Resource

The "apklistings" collection of methods.

Defined (1)

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

/core/Google/Service/AndroidPublisher.php  
  1. class GoogleGAL_Service_AndroidPublisher_EditsApklistings_Resource extends GoogleGAL_Service_Resource 
  2.  
  3. /** 
  4. * Deletes the APK-specific localized listing for a specified APK and language 
  5. * code. (apklistings.delete) 
  6. * @param string $packageName Unique identifier for the Android app that is 
  7. * being updated; for example, "com.spiffygame". 
  8. * @param string $editId Unique identifier for this edit. 
  9. * @param int $apkVersionCode The APK version code whose APK-specific listings 
  10. * should be read or modified. 
  11. * @param string $language The language code (a BCP-47 language tag) of the APK- 
  12. * specific localized listing to read or modify. For example, to select Austrian 
  13. * German, pass "de-AT". 
  14. * @param array $optParams Optional parameters. 
  15. */ 
  16. public function delete($packageName, $editId, $apkVersionCode, $language, $optParams = array()) 
  17. $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language); 
  18. $params = array_merge($params, $optParams); 
  19. return $this->call('delete', array($params)); 
  20.  
  21. /** 
  22. * Deletes all the APK-specific localized listings for a specified APK. 
  23. * (apklistings.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 int $apkVersionCode The APK version code whose APK-specific listings 
  28. * should be read or modified. 
  29. * @param array $optParams Optional parameters. 
  30. */ 
  31. public function deleteall($packageName, $editId, $apkVersionCode, $optParams = array()) 
  32. $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode); 
  33. $params = array_merge($params, $optParams); 
  34. return $this->call('deleteall', array($params)); 
  35.  
  36. /** 
  37. * Fetches the APK-specific localized listing for a specified APK and language 
  38. * code. (apklistings.get) 
  39. * @param string $packageName Unique identifier for the Android app that is 
  40. * being updated; for example, "com.spiffygame". 
  41. * @param string $editId Unique identifier for this edit. 
  42. * @param int $apkVersionCode The APK version code whose APK-specific listings 
  43. * should be read or modified. 
  44. * @param string $language The language code (a BCP-47 language tag) of the APK- 
  45. * specific localized listing to read or modify. For example, to select Austrian 
  46. * German, pass "de-AT". 
  47. * @param array $optParams Optional parameters. 
  48. * @return GoogleGAL_Service_AndroidPublisher_ApkListing 
  49. */ 
  50. public function get($packageName, $editId, $apkVersionCode, $language, $optParams = array()) 
  51. $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language); 
  52. $params = array_merge($params, $optParams); 
  53. return $this->call('get', array($params), "GoogleGAL_Service_AndroidPublisher_ApkListing"); 
  54.  
  55. /** 
  56. * Lists all the APK-specific localized listings for a specified APK. 
  57. * (apklistings.listEditsApklistings) 
  58. * @param string $packageName Unique identifier for the Android app that is 
  59. * being updated; for example, "com.spiffygame". 
  60. * @param string $editId Unique identifier for this edit. 
  61. * @param int $apkVersionCode The APK version code whose APK-specific listings 
  62. * should be read or modified. 
  63. * @param array $optParams Optional parameters. 
  64. * @return GoogleGAL_Service_AndroidPublisher_ApkListingsListResponse 
  65. */ 
  66. public function listEditsApklistings($packageName, $editId, $apkVersionCode, $optParams = array()) 
  67. $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode); 
  68. $params = array_merge($params, $optParams); 
  69. return $this->call('list', array($params), "GoogleGAL_Service_AndroidPublisher_ApkListingsListResponse"); 
  70.  
  71. /** 
  72. * Updates or creates the APK-specific localized listing for a specified APK and 
  73. * language code. This method supports patch semantics. (apklistings.patch) 
  74. * @param string $packageName Unique identifier for the Android app that is 
  75. * being updated; for example, "com.spiffygame". 
  76. * @param string $editId Unique identifier for this edit. 
  77. * @param int $apkVersionCode The APK version code whose APK-specific listings 
  78. * should be read or modified. 
  79. * @param string $language The language code (a BCP-47 language tag) of the APK- 
  80. * specific localized listing to read or modify. For example, to select Austrian 
  81. * German, pass "de-AT". 
  82. * @param GoogleGAL_ApkListing $postBody 
  83. * @param array $optParams Optional parameters. 
  84. * @return GoogleGAL_Service_AndroidPublisher_ApkListing 
  85. */ 
  86. public function patch($packageName, $editId, $apkVersionCode, $language, GoogleGAL_Service_AndroidPublisher_ApkListing $postBody, $optParams = array()) 
  87. $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody); 
  88. $params = array_merge($params, $optParams); 
  89. return $this->call('patch', array($params), "GoogleGAL_Service_AndroidPublisher_ApkListing"); 
  90.  
  91. /** 
  92. * Updates or creates the APK-specific localized listing for a specified APK and 
  93. * language code. (apklistings.update) 
  94. * @param string $packageName Unique identifier for the Android app that is 
  95. * being updated; for example, "com.spiffygame". 
  96. * @param string $editId Unique identifier for this edit. 
  97. * @param int $apkVersionCode The APK version code whose APK-specific listings 
  98. * should be read or modified. 
  99. * @param string $language The language code (a BCP-47 language tag) of the APK- 
  100. * specific localized listing to read or modify. For example, to select Austrian 
  101. * German, pass "de-AT". 
  102. * @param GoogleGAL_ApkListing $postBody 
  103. * @param array $optParams Optional parameters. 
  104. * @return GoogleGAL_Service_AndroidPublisher_ApkListing 
  105. */ 
  106. public function update($packageName, $editId, $apkVersionCode, $language, GoogleGAL_Service_AndroidPublisher_ApkListing $postBody, $optParams = array()) 
  107. $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody); 
  108. $params = array_merge($params, $optParams); 
  109. return $this->call('update', array($params), "GoogleGAL_Service_AndroidPublisher_ApkListing");