* The Publishing API for Google Play Game Services.
* ** For more information about this service, see the API * Documentation *
* * @author Google, Inc. */ class Google_Service_GamesConfiguration extends Google_Service { /** View and manage your Google Play Developer account. */ const ANDROIDPUBLISHER = "https://www.googleapis.com/auth/androidpublisher"; public $achievementConfigurations; public $imageConfigurations; public $leaderboardConfigurations; /** * Constructs the internal representation of the GamesConfiguration service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://www.googleapis.com/'; $this->servicePath = 'games/v1configuration/'; $this->batchPath = 'batch/gamesConfiguration/v1configuration'; $this->version = 'v1configuration'; $this->serviceName = 'gamesConfiguration'; $this->achievementConfigurations = new Google_Service_GamesConfiguration_Resource_AchievementConfigurations( $this, $this->serviceName, 'achievementConfigurations', array( 'methods' => array( 'delete' => array( 'path' => 'achievements/{achievementId}', 'httpMethod' => 'DELETE', 'parameters' => array( 'achievementId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'achievements/{achievementId}', 'httpMethod' => 'GET', 'parameters' => array( 'achievementId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'insert' => array( 'path' => 'applications/{applicationId}/achievements', 'httpMethod' => 'POST', 'parameters' => array( 'applicationId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'applications/{applicationId}/achievements', 'httpMethod' => 'GET', 'parameters' => array( 'applicationId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'maxResults' => array( 'location' => 'query', 'type' => 'integer', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ),'patch' => array( 'path' => 'achievements/{achievementId}', 'httpMethod' => 'PATCH', 'parameters' => array( 'achievementId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'update' => array( 'path' => 'achievements/{achievementId}', 'httpMethod' => 'PUT', 'parameters' => array( 'achievementId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->imageConfigurations = new Google_Service_GamesConfiguration_Resource_ImageConfigurations( $this, $this->serviceName, 'imageConfigurations', array( 'methods' => array( 'upload' => array( 'path' => 'images/{resourceId}/imageType/{imageType}', 'httpMethod' => 'POST', 'parameters' => array( 'resourceId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'imageType' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->leaderboardConfigurations = new Google_Service_GamesConfiguration_Resource_LeaderboardConfigurations( $this, $this->serviceName, 'leaderboardConfigurations', array( 'methods' => array( 'delete' => array( 'path' => 'leaderboards/{leaderboardId}', 'httpMethod' => 'DELETE', 'parameters' => array( 'leaderboardId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'get' => array( 'path' => 'leaderboards/{leaderboardId}', 'httpMethod' => 'GET', 'parameters' => array( 'leaderboardId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'insert' => array( 'path' => 'applications/{applicationId}/leaderboards', 'httpMethod' => 'POST', 'parameters' => array( 'applicationId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'list' => array( 'path' => 'applications/{applicationId}/leaderboards', 'httpMethod' => 'GET', 'parameters' => array( 'applicationId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'maxResults' => array( 'location' => 'query', 'type' => 'integer', ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), ), ),'patch' => array( 'path' => 'leaderboards/{leaderboardId}', 'httpMethod' => 'PATCH', 'parameters' => array( 'leaderboardId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'update' => array( 'path' => 'leaderboards/{leaderboardId}', 'httpMethod' => 'PUT', 'parameters' => array( 'leaderboardId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); } }