Google_Service_AndroidPublisher_EditsTracks_Resource

The "tracks" 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_EditsTracks_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Fetches the track configuration for the specified track type. Includes the 
  5. * APK version codes that are in this track. (tracks.get) 
  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 string $track The track type to read or modify. 
  10. * @param array $optParams Optional parameters. 
  11. * @return Google_Service_AndroidPublisher_Track 
  12. */ 
  13. public function get($packageName, $editId, $track, $optParams = array()) 
  14. $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track); 
  15. $params = array_merge($params, $optParams); 
  16. return $this->call('get', array($params), "Google_Service_AndroidPublisher_Track"); 
  17.  
  18. /** 
  19. * Lists all the track configurations for this edit. (tracks.listEditsTracks) 
  20. * @param string $packageName Unique identifier for the Android app that is 
  21. * being updated; for example, "com.spiffygame". 
  22. * @param string $editId Unique identifier for this edit. 
  23. * @param array $optParams Optional parameters. 
  24. * @return Google_Service_AndroidPublisher_TracksListResponse 
  25. */ 
  26. public function listEditsTracks($packageName, $editId, $optParams = array()) 
  27. $params = array('packageName' => $packageName, 'editId' => $editId); 
  28. $params = array_merge($params, $optParams); 
  29. return $this->call('list', array($params), "Google_Service_AndroidPublisher_TracksListResponse"); 
  30.  
  31. /** 
  32. * Updates the track configuration for the specified track type. When halted,  
  33. * the rollout track cannot be updated without adding new APKs, and adding new 
  34. * APKs will cause it to resume. This method supports patch semantics. 
  35. * (tracks.patch) 
  36. * @param string $packageName Unique identifier for the Android app that is 
  37. * being updated; for example, "com.spiffygame". 
  38. * @param string $editId Unique identifier for this edit. 
  39. * @param string $track The track type to read or modify. 
  40. * @param Google_Track $postBody 
  41. * @param array $optParams Optional parameters. 
  42. * @return Google_Service_AndroidPublisher_Track 
  43. */ 
  44. public function patch($packageName, $editId, $track, Google_Service_AndroidPublisher_Track $postBody, $optParams = array()) 
  45. $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody); 
  46. $params = array_merge($params, $optParams); 
  47. return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Track"); 
  48.  
  49. /** 
  50. * Updates the track configuration for the specified track type. When halted,  
  51. * the rollout track cannot be updated without adding new APKs, and adding new 
  52. * APKs will cause it to resume. (tracks.update) 
  53. * @param string $packageName Unique identifier for the Android app that is 
  54. * being updated; for example, "com.spiffygame". 
  55. * @param string $editId Unique identifier for this edit. 
  56. * @param string $track The track type to read or modify. 
  57. * @param Google_Track $postBody 
  58. * @param array $optParams Optional parameters. 
  59. * @return Google_Service_AndroidPublisher_Track 
  60. */ 
  61. public function update($packageName, $editId, $track, Google_Service_AndroidPublisher_Track $postBody, $optParams = array()) 
  62. $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody); 
  63. $params = array_merge($params, $optParams); 
  64. return $this->call('update', array($params), "Google_Service_AndroidPublisher_Track");