Google_Service_AndroidPublisher_EditsApks_Resource

The "apks" collection of methods.

Defined (1)

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

/includes/api-libs/Google/Service/AndroidPublisher.php  
  1. class Google_Service_AndroidPublisher_EditsApks_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Creates a new APK without uploading the APK itself to Google Play, instead 
  5. * hosting the APK at a specified URL. This function is only available to 
  6. * enterprises using Android for Work, for applications distributed within the 
  7. * enterprise Private Channel. (apks.addexternallyhosted) 
  8. * @param string $packageName Unique identifier for the Android app that is 
  9. * being updated; for example, "com.spiffygame". 
  10. * @param string $editId Unique identifier for this edit. 
  11. * @param Google_ApksAddExternallyHostedRequest $postBody 
  12. * @param array $optParams Optional parameters. 
  13. * @return Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse 
  14. */ 
  15. public function addexternallyhosted($packageName, $editId, Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest $postBody, $optParams = array()) 
  16. $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody); 
  17. $params = array_merge($params, $optParams); 
  18. return $this->call('addexternallyhosted', array($params), "Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse"); 
  19.  
  20. /** 
  21. * (apks.listEditsApks) 
  22. * @param string $packageName Unique identifier for the Android app that is 
  23. * being updated; for example, "com.spiffygame". 
  24. * @param string $editId Unique identifier for this edit. 
  25. * @param array $optParams Optional parameters. 
  26. * @return Google_Service_AndroidPublisher_ApksListResponse 
  27. */ 
  28. public function listEditsApks($packageName, $editId, $optParams = array()) 
  29. $params = array('packageName' => $packageName, 'editId' => $editId); 
  30. $params = array_merge($params, $optParams); 
  31. return $this->call('list', array($params), "Google_Service_AndroidPublisher_ApksListResponse"); 
  32.  
  33. /** 
  34. * (apks.upload) 
  35. * @param string $packageName Unique identifier for the Android app that is 
  36. * being updated; for example, "com.spiffygame". 
  37. * @param string $editId Unique identifier for this edit. 
  38. * @param array $optParams Optional parameters. 
  39. * @return Google_Service_AndroidPublisher_Apk 
  40. */ 
  41. public function upload($packageName, $editId, $optParams = array()) 
  42. $params = array('packageName' => $packageName, 'editId' => $editId); 
  43. $params = array_merge($params, $optParams); 
  44. return $this->call('upload', array($params), "Google_Service_AndroidPublisher_Apk");