Google_Service_GamesConfiguration_AchievementConfigurations_Resource

The "achievementConfigurations" collection of methods.

Defined (2)

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

/includes/api-libs/Google/Service/GamesConfiguration.php  
  1. class Google_Service_GamesConfiguration_AchievementConfigurations_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Delete the achievement configuration with the given ID. 
  5. * (achievementConfigurations.delete) 
  6. * @param string $achievementId The ID of the achievement used by this method. 
  7. * @param array $optParams Optional parameters. 
  8. */ 
  9. public function delete($achievementId, $optParams = array()) 
  10. $params = array('achievementId' => $achievementId); 
  11. $params = array_merge($params, $optParams); 
  12. return $this->call('delete', array($params)); 
  13.  
  14. /** 
  15. * Retrieves the metadata of the achievement configuration with the given ID. 
  16. * (achievementConfigurations.get) 
  17. * @param string $achievementId The ID of the achievement used by this method. 
  18. * @param array $optParams Optional parameters. 
  19. * @return Google_Service_GamesConfiguration_AchievementConfiguration 
  20. */ 
  21. public function get($achievementId, $optParams = array()) 
  22. $params = array('achievementId' => $achievementId); 
  23. $params = array_merge($params, $optParams); 
  24. return $this->call('get', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); 
  25.  
  26. /** 
  27. * Insert a new achievement configuration in this application. 
  28. * (achievementConfigurations.insert) 
  29. * @param string $applicationId The application ID from the Google Play 
  30. * developer console. 
  31. * @param Google_AchievementConfiguration $postBody 
  32. * @param array $optParams Optional parameters. 
  33. * @return Google_Service_GamesConfiguration_AchievementConfiguration 
  34. */ 
  35. public function insert($applicationId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array()) 
  36. $params = array('applicationId' => $applicationId, 'postBody' => $postBody); 
  37. $params = array_merge($params, $optParams); 
  38. return $this->call('insert', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); 
  39.  
  40. /** 
  41. * Returns a list of the achievement configurations in this application. 
  42. * (achievementConfigurations.listAchievementConfigurations) 
  43. * @param string $applicationId The application ID from the Google Play 
  44. * developer console. 
  45. * @param array $optParams Optional parameters. 
  46. * @opt_param string pageToken The token returned by the previous request. 
  47. * @opt_param int maxResults The maximum number of resource configurations to 
  48. * return in the response, used for paging. For any response, the actual number 
  49. * of resources returned may be less than the specified maxResults. 
  50. * @return Google_Service_GamesConfiguration_AchievementConfigurationListResponse 
  51. */ 
  52. public function listAchievementConfigurations($applicationId, $optParams = array()) 
  53. $params = array('applicationId' => $applicationId); 
  54. $params = array_merge($params, $optParams); 
  55. return $this->call('list', array($params), "Google_Service_GamesConfiguration_AchievementConfigurationListResponse"); 
  56.  
  57. /** 
  58. * Update the metadata of the achievement configuration with the given ID. This 
  59. * method supports patch semantics. (achievementConfigurations.patch) 
  60. * @param string $achievementId The ID of the achievement used by this method. 
  61. * @param Google_AchievementConfiguration $postBody 
  62. * @param array $optParams Optional parameters. 
  63. * @return Google_Service_GamesConfiguration_AchievementConfiguration 
  64. */ 
  65. public function patch($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array()) 
  66. $params = array('achievementId' => $achievementId, 'postBody' => $postBody); 
  67. $params = array_merge($params, $optParams); 
  68. return $this->call('patch', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); 
  69.  
  70. /** 
  71. * Update the metadata of the achievement configuration with the given ID. 
  72. * (achievementConfigurations.update) 
  73. * @param string $achievementId The ID of the achievement used by this method. 
  74. * @param Google_AchievementConfiguration $postBody 
  75. * @param array $optParams Optional parameters. 
  76. * @return Google_Service_GamesConfiguration_AchievementConfiguration 
  77. */ 
  78. public function update($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array()) 
  79. $params = array('achievementId' => $achievementId, 'postBody' => $postBody); 
  80. $params = array_merge($params, $optParams); 
  81. return $this->call('update', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); 
  1. class Google_Service_GamesConfiguration_AchievementConfigurations_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Delete the achievement configuration with the given ID. 
  5. * (achievementConfigurations.delete) 
  6. * @param string $achievementId The ID of the achievement used by this method. 
  7. * @param array $optParams Optional parameters. 
  8. */ 
  9. public function delete($achievementId, $optParams = array()) 
  10. $params = array('achievementId' => $achievementId); 
  11. $params = array_merge($params, $optParams); 
  12. return $this->call('delete', array($params)); 
  13.  
  14. /** 
  15. * Retrieves the metadata of the achievement configuration with the given ID. 
  16. * (achievementConfigurations.get) 
  17. * @param string $achievementId The ID of the achievement used by this method. 
  18. * @param array $optParams Optional parameters. 
  19. * @return Google_Service_GamesConfiguration_AchievementConfiguration 
  20. */ 
  21. public function get($achievementId, $optParams = array()) 
  22. $params = array('achievementId' => $achievementId); 
  23. $params = array_merge($params, $optParams); 
  24. return $this->call('get', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); 
  25.  
  26. /** 
  27. * Insert a new achievement configuration in this application. 
  28. * (achievementConfigurations.insert) 
  29. * @param string $applicationId The application ID from the Google Play 
  30. * developer console. 
  31. * @param Google_AchievementConfiguration $postBody 
  32. * @param array $optParams Optional parameters. 
  33. * @return Google_Service_GamesConfiguration_AchievementConfiguration 
  34. */ 
  35. public function insert($applicationId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array()) 
  36. $params = array('applicationId' => $applicationId, 'postBody' => $postBody); 
  37. $params = array_merge($params, $optParams); 
  38. return $this->call('insert', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); 
  39.  
  40. /** 
  41. * Returns a list of the achievement configurations in this application. 
  42. * (achievementConfigurations.listAchievementConfigurations) 
  43. * @param string $applicationId The application ID from the Google Play 
  44. * developer console. 
  45. * @param array $optParams Optional parameters. 
  46. * @opt_param string pageToken The token returned by the previous request. 
  47. * @opt_param int maxResults The maximum number of resource configurations to 
  48. * return in the response, used for paging. For any response, the actual number 
  49. * of resources returned may be less than the specified maxResults. 
  50. * @return Google_Service_GamesConfiguration_AchievementConfigurationListResponse 
  51. */ 
  52. public function listAchievementConfigurations($applicationId, $optParams = array()) 
  53. $params = array('applicationId' => $applicationId); 
  54. $params = array_merge($params, $optParams); 
  55. return $this->call('list', array($params), "Google_Service_GamesConfiguration_AchievementConfigurationListResponse"); 
  56.  
  57. /** 
  58. * Update the metadata of the achievement configuration with the given ID. This 
  59. * method supports patch semantics. (achievementConfigurations.patch) 
  60. * @param string $achievementId The ID of the achievement used by this method. 
  61. * @param Google_AchievementConfiguration $postBody 
  62. * @param array $optParams Optional parameters. 
  63. * @return Google_Service_GamesConfiguration_AchievementConfiguration 
  64. */ 
  65. public function patch($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array()) 
  66. $params = array('achievementId' => $achievementId, 'postBody' => $postBody); 
  67. $params = array_merge($params, $optParams); 
  68. return $this->call('patch', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration"); 
  69.  
  70. /** 
  71. * Update the metadata of the achievement configuration with the given ID. 
  72. * (achievementConfigurations.update) 
  73. * @param string $achievementId The ID of the achievement used by this method. 
  74. * @param Google_AchievementConfiguration $postBody 
  75. * @param array $optParams Optional parameters. 
  76. * @return Google_Service_GamesConfiguration_AchievementConfiguration 
  77. */ 
  78. public function update($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams = array()) 
  79. $params = array('achievementId' => $achievementId, 'postBody' => $postBody); 
  80. $params = array_merge($params, $optParams); 
  81. return $this->call('update', array($params), "Google_Service_GamesConfiguration_AchievementConfiguration");