X7ROOT File Manager
Current Path:
/home/cbholdings/pasukulu/lib/google/src/Google/Service
home
/
cbholdings
/
pasukulu
/
lib
/
google
/
src
/
Google
/
Service
/
📁
..
📄
AdExchangeBuyer.php
(174.83 KB)
📄
AdExchangeSeller.php
(45.83 KB)
📄
AdSense.php
(101.29 KB)
📄
AdSenseHost.php
(61.74 KB)
📄
Admin.php
(4.46 KB)
📄
Analytics.php
(272.44 KB)
📄
AndroidEnterprise.php
(97.03 KB)
📄
AndroidPublisher.php
(124.87 KB)
📄
AppState.php
(10.23 KB)
📄
Appengine.php
(51.47 KB)
📄
Appsactivity.php
(14.46 KB)
📄
Audit.php
(10.1 KB)
📄
Autoscaler.php
(35.74 KB)
📄
Bigquery.php
(93.68 KB)
📄
Blogger.php
(89.81 KB)
📄
Books.php
(187.8 KB)
📄
Calendar.php
(116.73 KB)
📄
CivicInfo.php
(39.84 KB)
📄
Classroom.php
(50.79 KB)
📄
CloudMonitoring.php
(34.61 KB)
📄
CloudUserAccounts.php
(65.17 KB)
📄
Cloudbilling.php
(14.38 KB)
📄
Clouddebugger.php
(37.09 KB)
📄
Cloudlatencytest.php
(7.14 KB)
📄
Cloudresourcemanager.php
(30.68 KB)
📄
Cloudsearch.php
(1.37 KB)
📄
Cloudtrace.php
(13.1 KB)
📄
Compute.php
(520.94 KB)
📄
Computeaccounts.php
(45.65 KB)
📄
Container.php
(26.63 KB)
📄
Coordinate.php
(42.6 KB)
📄
Customsearch.php
(29.92 KB)
📄
DataTransfer.php
(14.96 KB)
📄
Dataflow.php
(90.7 KB)
📄
Datastore.php
(37.06 KB)
📄
DeploymentManager.php
(57.43 KB)
📄
Dfareporting.php
(626.18 KB)
📄
Directory.php
(192.76 KB)
📄
Dns.php
(25.9 KB)
📄
DoubleClickBidManager.php
(26.85 KB)
📄
Doubleclicksearch.php
(40.61 KB)
📄
Drive.php
(155.39 KB)
📄
Exception.php
(2.72 KB)
📄
Fitness.php
(46.34 KB)
📄
Freebase.php
(12.63 KB)
📄
Fusiontables.php
(69.8 KB)
📄
Games.php
(192.63 KB)
📄
GamesConfiguration.php
(31.3 KB)
📄
GamesManagement.php
(41.58 KB)
📄
Genomics.php
(107.03 KB)
📄
Gmail.php
(65.4 KB)
📄
GroupsMigration.php
(3.35 KB)
📄
Groupssettings.php
(11.12 KB)
📄
IdentityToolkit.php
(42.15 KB)
📄
Licensing.php
(14.86 KB)
📄
Logging.php
(9.15 KB)
📄
Manager.php
(45.88 KB)
📄
MapsEngine.php
(183.98 KB)
📄
Mirror.php
(47.96 KB)
📄
Oauth2.php
(10.99 KB)
📄
Pagespeedonline.php
(19.92 KB)
📄
Partners.php
(44.94 KB)
📄
Playmoviespartner.php
(43.75 KB)
📄
Plus.php
(84.55 KB)
📄
PlusDomains.php
(93.89 KB)
📄
Prediction.php
(31.39 KB)
📄
Proximitybeacon.php
(37.72 KB)
📄
Pubsub.php
(26.95 KB)
📄
QPXExpress.php
(31.48 KB)
📄
Replicapool.php
(38.83 KB)
📄
Replicapoolupdater.php
(37.11 KB)
📄
Reports.php
(28.55 KB)
📄
Reseller.php
(33.09 KB)
📄
Resource.php
(8.45 KB)
📄
Resourceviews.php
(37.28 KB)
📄
SQLAdmin.php
(102.96 KB)
📄
Script.php
(9.22 KB)
📄
ShoppingContent.php
(234.26 KB)
📄
SiteVerification.php
(12.06 KB)
📄
Spectrum.php
(42.2 KB)
📄
Storage.php
(105.8 KB)
📄
Storagetransfer.php
(41.66 KB)
📄
TagManager.php
(101.25 KB)
📄
Taskqueue.php
(19.95 KB)
📄
Tasks.php
(25.42 KB)
📄
Translate.php
(9.65 KB)
📄
Urlshortener.php
(10.52 KB)
📄
Webfonts.php
(4.75 KB)
📄
Webmasters.php
(33.68 KB)
📄
YouTube.php
(383.98 KB)
📄
YouTubeAnalytics.php
(35.47 KB)
📄
YouTubeReporting.php
(19.35 KB)
Editing: GamesManagement.php
<?php /* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. */ /** * Service definition for GamesManagement (v1management). * * <p> * The Management API for Google Play Game Services.</p> * * <p> * For more information about this service, see the API * <a href="https://developers.google.com/games/services" target="_blank">Documentation</a> * </p> * * @author Google, Inc. */ #[AllowDynamicProperties] class Google_Service_GamesManagement extends Google_Service { /** Share your Google+ profile information and view and manage your game activity. */ const GAMES = "https://www.googleapis.com/auth/games"; /** Know your basic profile info and list of people in your circles.. */ const PLUS_LOGIN = "https://www.googleapis.com/auth/plus.login"; public $achievements; public $applications; public $events; public $players; public $quests; public $rooms; public $scores; public $turnBasedMatches; /** * Constructs the internal representation of the GamesManagement service. * * @param Google_Client $client */ public function __construct(Google_Client $client) { parent::__construct($client); $this->rootUrl = 'https://www.googleapis.com/'; $this->servicePath = 'games/v1management/'; $this->version = 'v1management'; $this->serviceName = 'gamesManagement'; $this->achievements = new Google_Service_GamesManagement_Achievements_Resource( $this, $this->serviceName, 'achievements', array( 'methods' => array( 'reset' => array( 'path' => 'achievements/{achievementId}/reset', 'httpMethod' => 'POST', 'parameters' => array( 'achievementId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'resetAll' => array( 'path' => 'achievements/reset', 'httpMethod' => 'POST', 'parameters' => array(), ),'resetAllForAllPlayers' => array( 'path' => 'achievements/resetAllForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array(), ),'resetForAllPlayers' => array( 'path' => 'achievements/{achievementId}/resetForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array( 'achievementId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'resetMultipleForAllPlayers' => array( 'path' => 'achievements/resetMultipleForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array(), ), ) ) ); $this->applications = new Google_Service_GamesManagement_Applications_Resource( $this, $this->serviceName, 'applications', array( 'methods' => array( 'listHidden' => array( 'path' => 'applications/{applicationId}/players/hidden', 'httpMethod' => 'GET', 'parameters' => array( 'applicationId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'pageToken' => array( 'location' => 'query', 'type' => 'string', ), 'maxResults' => array( 'location' => 'query', 'type' => 'integer', ), ), ), ) ) ); $this->events = new Google_Service_GamesManagement_Events_Resource( $this, $this->serviceName, 'events', array( 'methods' => array( 'reset' => array( 'path' => 'events/{eventId}/reset', 'httpMethod' => 'POST', 'parameters' => array( 'eventId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'resetAll' => array( 'path' => 'events/reset', 'httpMethod' => 'POST', 'parameters' => array(), ),'resetAllForAllPlayers' => array( 'path' => 'events/resetAllForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array(), ),'resetForAllPlayers' => array( 'path' => 'events/{eventId}/resetForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array( 'eventId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'resetMultipleForAllPlayers' => array( 'path' => 'events/resetMultipleForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array(), ), ) ) ); $this->players = new Google_Service_GamesManagement_Players_Resource( $this, $this->serviceName, 'players', array( 'methods' => array( 'hide' => array( 'path' => 'applications/{applicationId}/players/hidden/{playerId}', 'httpMethod' => 'POST', 'parameters' => array( 'applicationId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'playerId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'unhide' => array( 'path' => 'applications/{applicationId}/players/hidden/{playerId}', 'httpMethod' => 'DELETE', 'parameters' => array( 'applicationId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), 'playerId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ), ) ) ); $this->quests = new Google_Service_GamesManagement_Quests_Resource( $this, $this->serviceName, 'quests', array( 'methods' => array( 'reset' => array( 'path' => 'quests/{questId}/reset', 'httpMethod' => 'POST', 'parameters' => array( 'questId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'resetAll' => array( 'path' => 'quests/reset', 'httpMethod' => 'POST', 'parameters' => array(), ),'resetAllForAllPlayers' => array( 'path' => 'quests/resetAllForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array(), ),'resetForAllPlayers' => array( 'path' => 'quests/{questId}/resetForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array( 'questId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'resetMultipleForAllPlayers' => array( 'path' => 'quests/resetMultipleForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array(), ), ) ) ); $this->rooms = new Google_Service_GamesManagement_Rooms_Resource( $this, $this->serviceName, 'rooms', array( 'methods' => array( 'reset' => array( 'path' => 'rooms/reset', 'httpMethod' => 'POST', 'parameters' => array(), ),'resetForAllPlayers' => array( 'path' => 'rooms/resetForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array(), ), ) ) ); $this->scores = new Google_Service_GamesManagement_Scores_Resource( $this, $this->serviceName, 'scores', array( 'methods' => array( 'reset' => array( 'path' => 'leaderboards/{leaderboardId}/scores/reset', 'httpMethod' => 'POST', 'parameters' => array( 'leaderboardId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'resetAll' => array( 'path' => 'scores/reset', 'httpMethod' => 'POST', 'parameters' => array(), ),'resetAllForAllPlayers' => array( 'path' => 'scores/resetAllForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array(), ),'resetForAllPlayers' => array( 'path' => 'leaderboards/{leaderboardId}/scores/resetForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array( 'leaderboardId' => array( 'location' => 'path', 'type' => 'string', 'required' => true, ), ), ),'resetMultipleForAllPlayers' => array( 'path' => 'scores/resetMultipleForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array(), ), ) ) ); $this->turnBasedMatches = new Google_Service_GamesManagement_TurnBasedMatches_Resource( $this, $this->serviceName, 'turnBasedMatches', array( 'methods' => array( 'reset' => array( 'path' => 'turnbasedmatches/reset', 'httpMethod' => 'POST', 'parameters' => array(), ),'resetForAllPlayers' => array( 'path' => 'turnbasedmatches/resetForAllPlayers', 'httpMethod' => 'POST', 'parameters' => array(), ), ) ) ); } } /** * The "achievements" collection of methods. * Typical usage is: * <code> * $gamesManagementService = new Google_Service_GamesManagement(...); * $achievements = $gamesManagementService->achievements; * </code> */ #[AllowDynamicProperties] class Google_Service_GamesManagement_Achievements_Resource extends Google_Service_Resource { /** * Resets the achievement with the given ID for the currently authenticated * player. This method is only accessible to whitelisted tester accounts for * your application. (achievements.reset) * * @param string $achievementId The ID of the achievement used by this method. * @param array $optParams Optional parameters. * @return Google_Service_GamesManagement_AchievementResetResponse */ public function reset($achievementId, $optParams = array()) { $params = array('achievementId' => $achievementId); $params = array_merge($params, $optParams); return $this->call('reset', array($params), "Google_Service_GamesManagement_AchievementResetResponse"); } /** * Resets all achievements for the currently authenticated player for your * application. This method is only accessible to whitelisted tester accounts * for your application. (achievements.resetAll) * * @param array $optParams Optional parameters. * @return Google_Service_GamesManagement_AchievementResetAllResponse */ public function resetAll($optParams = array()) { $params = array(); $params = array_merge($params, $optParams); return $this->call('resetAll', array($params), "Google_Service_GamesManagement_AchievementResetAllResponse"); } /** * Resets all draft achievements for all players. This method is only available * to user accounts for your developer console. * (achievements.resetAllForAllPlayers) * * @param array $optParams Optional parameters. */ public function resetAllForAllPlayers($optParams = array()) { $params = array(); $params = array_merge($params, $optParams); return $this->call('resetAllForAllPlayers', array($params)); } /** * Resets the achievement with the given ID for all players. This method is only * available to user accounts for your developer console. Only draft * achievements can be reset. (achievements.resetForAllPlayers) * * @param string $achievementId The ID of the achievement used by this method. * @param array $optParams Optional parameters. */ public function resetForAllPlayers($achievementId, $optParams = array()) { $params = array('achievementId' => $achievementId); $params = array_merge($params, $optParams); return $this->call('resetForAllPlayers', array($params)); } /** * Resets achievements with the given IDs for all players. This method is only * available to user accounts for your developer console. Only draft * achievements may be reset. (achievements.resetMultipleForAllPlayers) * * @param Google_AchievementResetMultipleForAllRequest $postBody * @param array $optParams Optional parameters. */ public function resetMultipleForAllPlayers(Google_Service_GamesManagement_AchievementResetMultipleForAllRequest $postBody, $optParams = array()) { $params = array('postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('resetMultipleForAllPlayers', array($params)); } } /** * The "applications" collection of methods. * Typical usage is: * <code> * $gamesManagementService = new Google_Service_GamesManagement(...); * $applications = $gamesManagementService->applications; * </code> */ #[AllowDynamicProperties] class Google_Service_GamesManagement_Applications_Resource extends Google_Service_Resource { /** * Get the list of players hidden from the given application. This method is * only available to user accounts for your developer console. * (applications.listHidden) * * @param string $applicationId The application ID from the Google Play * developer console. * @param array $optParams Optional parameters. * * @opt_param string pageToken The token returned by the previous request. * @opt_param int maxResults The maximum number of player resources to return in * the response, used for paging. For any response, the actual number of player * resources returned may be less than the specified maxResults. * @return Google_Service_GamesManagement_HiddenPlayerList */ public function listHidden($applicationId, $optParams = array()) { $params = array('applicationId' => $applicationId); $params = array_merge($params, $optParams); return $this->call('listHidden', array($params), "Google_Service_GamesManagement_HiddenPlayerList"); } } /** * The "events" collection of methods. * Typical usage is: * <code> * $gamesManagementService = new Google_Service_GamesManagement(...); * $events = $gamesManagementService->events; * </code> */ #[AllowDynamicProperties] class Google_Service_GamesManagement_Events_Resource extends Google_Service_Resource { /** * Resets all player progress on the event with the given ID for the currently * authenticated player. This method is only accessible to whitelisted tester * accounts for your application. All quests for this player that use the event * will also be reset. (events.reset) * * @param string $eventId The ID of the event. * @param array $optParams Optional parameters. */ public function reset($eventId, $optParams = array()) { $params = array('eventId' => $eventId); $params = array_merge($params, $optParams); return $this->call('reset', array($params)); } /** * Resets all player progress on all events for the currently authenticated * player. This method is only accessible to whitelisted tester accounts for * your application. All quests for this player will also be reset. * (events.resetAll) * * @param array $optParams Optional parameters. */ public function resetAll($optParams = array()) { $params = array(); $params = array_merge($params, $optParams); return $this->call('resetAll', array($params)); } /** * Resets all draft events for all players. This method is only available to * user accounts for your developer console. All quests that use any of these * events will also be reset. (events.resetAllForAllPlayers) * * @param array $optParams Optional parameters. */ public function resetAllForAllPlayers($optParams = array()) { $params = array(); $params = array_merge($params, $optParams); return $this->call('resetAllForAllPlayers', array($params)); } /** * Resets the event with the given ID for all players. This method is only * available to user accounts for your developer console. Only draft events can * be reset. All quests that use the event will also be reset. * (events.resetForAllPlayers) * * @param string $eventId The ID of the event. * @param array $optParams Optional parameters. */ public function resetForAllPlayers($eventId, $optParams = array()) { $params = array('eventId' => $eventId); $params = array_merge($params, $optParams); return $this->call('resetForAllPlayers', array($params)); } /** * Resets events with the given IDs for all players. This method is only * available to user accounts for your developer console. Only draft events may * be reset. All quests that use any of the events will also be reset. * (events.resetMultipleForAllPlayers) * * @param Google_EventsResetMultipleForAllRequest $postBody * @param array $optParams Optional parameters. */ public function resetMultipleForAllPlayers(Google_Service_GamesManagement_EventsResetMultipleForAllRequest $postBody, $optParams = array()) { $params = array('postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('resetMultipleForAllPlayers', array($params)); } } /** * The "players" collection of methods. * Typical usage is: * <code> * $gamesManagementService = new Google_Service_GamesManagement(...); * $players = $gamesManagementService->players; * </code> */ #[AllowDynamicProperties] class Google_Service_GamesManagement_Players_Resource extends Google_Service_Resource { /** * Hide the given player's leaderboard scores from the given application. This * method is only available to user accounts for your developer console. * (players.hide) * * @param string $applicationId The application ID from the Google Play * developer console. * @param string $playerId A player ID. A value of me may be used in place of * the authenticated player's ID. * @param array $optParams Optional parameters. */ public function hide($applicationId, $playerId, $optParams = array()) { $params = array('applicationId' => $applicationId, 'playerId' => $playerId); $params = array_merge($params, $optParams); return $this->call('hide', array($params)); } /** * Unhide the given player's leaderboard scores from the given application. This * method is only available to user accounts for your developer console. * (players.unhide) * * @param string $applicationId The application ID from the Google Play * developer console. * @param string $playerId A player ID. A value of me may be used in place of * the authenticated player's ID. * @param array $optParams Optional parameters. */ public function unhide($applicationId, $playerId, $optParams = array()) { $params = array('applicationId' => $applicationId, 'playerId' => $playerId); $params = array_merge($params, $optParams); return $this->call('unhide', array($params)); } } /** * The "quests" collection of methods. * Typical usage is: * <code> * $gamesManagementService = new Google_Service_GamesManagement(...); * $quests = $gamesManagementService->quests; * </code> */ #[AllowDynamicProperties] class Google_Service_GamesManagement_Quests_Resource extends Google_Service_Resource { /** * Resets all player progress on the quest with the given ID for the currently * authenticated player. This method is only accessible to whitelisted tester * accounts for your application. (quests.reset) * * @param string $questId The ID of the quest. * @param array $optParams Optional parameters. */ public function reset($questId, $optParams = array()) { $params = array('questId' => $questId); $params = array_merge($params, $optParams); return $this->call('reset', array($params)); } /** * Resets all player progress on all quests for the currently authenticated * player. This method is only accessible to whitelisted tester accounts for * your application. (quests.resetAll) * * @param array $optParams Optional parameters. */ public function resetAll($optParams = array()) { $params = array(); $params = array_merge($params, $optParams); return $this->call('resetAll', array($params)); } /** * Resets all draft quests for all players. This method is only available to * user accounts for your developer console. (quests.resetAllForAllPlayers) * * @param array $optParams Optional parameters. */ public function resetAllForAllPlayers($optParams = array()) { $params = array(); $params = array_merge($params, $optParams); return $this->call('resetAllForAllPlayers', array($params)); } /** * Resets all player progress on the quest with the given ID for all players. * This method is only available to user accounts for your developer console. * Only draft quests can be reset. (quests.resetForAllPlayers) * * @param string $questId The ID of the quest. * @param array $optParams Optional parameters. */ public function resetForAllPlayers($questId, $optParams = array()) { $params = array('questId' => $questId); $params = array_merge($params, $optParams); return $this->call('resetForAllPlayers', array($params)); } /** * Resets quests with the given IDs for all players. This method is only * available to user accounts for your developer console. Only draft quests may * be reset. (quests.resetMultipleForAllPlayers) * * @param Google_QuestsResetMultipleForAllRequest $postBody * @param array $optParams Optional parameters. */ public function resetMultipleForAllPlayers(Google_Service_GamesManagement_QuestsResetMultipleForAllRequest $postBody, $optParams = array()) { $params = array('postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('resetMultipleForAllPlayers', array($params)); } } /** * The "rooms" collection of methods. * Typical usage is: * <code> * $gamesManagementService = new Google_Service_GamesManagement(...); * $rooms = $gamesManagementService->rooms; * </code> */ #[AllowDynamicProperties] class Google_Service_GamesManagement_Rooms_Resource extends Google_Service_Resource { /** * Reset all rooms for the currently authenticated player for your application. * This method is only accessible to whitelisted tester accounts for your * application. (rooms.reset) * * @param array $optParams Optional parameters. */ public function reset($optParams = array()) { $params = array(); $params = array_merge($params, $optParams); return $this->call('reset', array($params)); } /** * Deletes rooms where the only room participants are from whitelisted tester * accounts for your application. This method is only available to user accounts * for your developer console. (rooms.resetForAllPlayers) * * @param array $optParams Optional parameters. */ public function resetForAllPlayers($optParams = array()) { $params = array(); $params = array_merge($params, $optParams); return $this->call('resetForAllPlayers', array($params)); } } /** * The "scores" collection of methods. * Typical usage is: * <code> * $gamesManagementService = new Google_Service_GamesManagement(...); * $scores = $gamesManagementService->scores; * </code> */ #[AllowDynamicProperties] class Google_Service_GamesManagement_Scores_Resource extends Google_Service_Resource { /** * Resets scores for the leaderboard with the given ID for the currently * authenticated player. This method is only accessible to whitelisted tester * accounts for your application. (scores.reset) * * @param string $leaderboardId The ID of the leaderboard. * @param array $optParams Optional parameters. * @return Google_Service_GamesManagement_PlayerScoreResetResponse */ public function reset($leaderboardId, $optParams = array()) { $params = array('leaderboardId' => $leaderboardId); $params = array_merge($params, $optParams); return $this->call('reset', array($params), "Google_Service_GamesManagement_PlayerScoreResetResponse"); } /** * Resets all scores for all leaderboards for the currently authenticated * players. This method is only accessible to whitelisted tester accounts for * your application. (scores.resetAll) * * @param array $optParams Optional parameters. * @return Google_Service_GamesManagement_PlayerScoreResetAllResponse */ public function resetAll($optParams = array()) { $params = array(); $params = array_merge($params, $optParams); return $this->call('resetAll', array($params), "Google_Service_GamesManagement_PlayerScoreResetAllResponse"); } /** * Resets scores for all draft leaderboards for all players. This method is only * available to user accounts for your developer console. * (scores.resetAllForAllPlayers) * * @param array $optParams Optional parameters. */ public function resetAllForAllPlayers($optParams = array()) { $params = array(); $params = array_merge($params, $optParams); return $this->call('resetAllForAllPlayers', array($params)); } /** * Resets scores for the leaderboard with the given ID for all players. This * method is only available to user accounts for your developer console. Only * draft leaderboards can be reset. (scores.resetForAllPlayers) * * @param string $leaderboardId The ID of the leaderboard. * @param array $optParams Optional parameters. */ public function resetForAllPlayers($leaderboardId, $optParams = array()) { $params = array('leaderboardId' => $leaderboardId); $params = array_merge($params, $optParams); return $this->call('resetForAllPlayers', array($params)); } /** * Resets scores for the leaderboards with the given IDs for all players. This * method is only available to user accounts for your developer console. Only * draft leaderboards may be reset. (scores.resetMultipleForAllPlayers) * * @param Google_ScoresResetMultipleForAllRequest $postBody * @param array $optParams Optional parameters. */ public function resetMultipleForAllPlayers(Google_Service_GamesManagement_ScoresResetMultipleForAllRequest $postBody, $optParams = array()) { $params = array('postBody' => $postBody); $params = array_merge($params, $optParams); return $this->call('resetMultipleForAllPlayers', array($params)); } } /** * The "turnBasedMatches" collection of methods. * Typical usage is: * <code> * $gamesManagementService = new Google_Service_GamesManagement(...); * $turnBasedMatches = $gamesManagementService->turnBasedMatches; * </code> */ #[AllowDynamicProperties] class Google_Service_GamesManagement_TurnBasedMatches_Resource extends Google_Service_Resource { /** * Reset all turn-based match data for a user. This method is only accessible to * whitelisted tester accounts for your application. (turnBasedMatches.reset) * * @param array $optParams Optional parameters. */ public function reset($optParams = array()) { $params = array(); $params = array_merge($params, $optParams); return $this->call('reset', array($params)); } /** * Deletes turn-based matches where the only match participants are from * whitelisted tester accounts for your application. This method is only * available to user accounts for your developer console. * (turnBasedMatches.resetForAllPlayers) * * @param array $optParams Optional parameters. */ public function resetForAllPlayers($optParams = array()) { $params = array(); $params = array_merge($params, $optParams); return $this->call('resetForAllPlayers', array($params)); } } #[AllowDynamicProperties] class Google_Service_GamesManagement_AchievementResetAllResponse extends Google_Collection { protected $collection_key = 'results'; protected $internal_gapi_mappings = array( ); public $kind; protected $resultsType = 'Google_Service_GamesManagement_AchievementResetResponse'; protected $resultsDataType = 'array'; public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setResults($results) { $this->results = $results; } public function getResults() { return $this->results; } } #[AllowDynamicProperties] class Google_Service_GamesManagement_AchievementResetMultipleForAllRequest extends Google_Collection { protected $collection_key = 'achievement_ids'; protected $internal_gapi_mappings = array( "achievementIds" => "achievement_ids", ); public $achievementIds; public $kind; public function setAchievementIds($achievementIds) { $this->achievementIds = $achievementIds; } public function getAchievementIds() { return $this->achievementIds; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } } #[AllowDynamicProperties] class Google_Service_GamesManagement_AchievementResetResponse extends Google_Model { protected $internal_gapi_mappings = array( ); public $currentState; public $definitionId; public $kind; public $updateOccurred; public function setCurrentState($currentState) { $this->currentState = $currentState; } public function getCurrentState() { return $this->currentState; } public function setDefinitionId($definitionId) { $this->definitionId = $definitionId; } public function getDefinitionId() { return $this->definitionId; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setUpdateOccurred($updateOccurred) { $this->updateOccurred = $updateOccurred; } public function getUpdateOccurred() { return $this->updateOccurred; } } #[AllowDynamicProperties] class Google_Service_GamesManagement_EventsResetMultipleForAllRequest extends Google_Collection { protected $collection_key = 'event_ids'; protected $internal_gapi_mappings = array( "eventIds" => "event_ids", ); public $eventIds; public $kind; public function setEventIds($eventIds) { $this->eventIds = $eventIds; } public function getEventIds() { return $this->eventIds; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } } #[AllowDynamicProperties] class Google_Service_GamesManagement_GamesPlayedResource extends Google_Model { protected $internal_gapi_mappings = array( ); public $autoMatched; public $timeMillis; public function setAutoMatched($autoMatched) { $this->autoMatched = $autoMatched; } public function getAutoMatched() { return $this->autoMatched; } public function setTimeMillis($timeMillis) { $this->timeMillis = $timeMillis; } public function getTimeMillis() { return $this->timeMillis; } } #[AllowDynamicProperties] class Google_Service_GamesManagement_GamesPlayerExperienceInfoResource extends Google_Model { protected $internal_gapi_mappings = array( ); public $currentExperiencePoints; protected $currentLevelType = 'Google_Service_GamesManagement_GamesPlayerLevelResource'; protected $currentLevelDataType = ''; public $lastLevelUpTimestampMillis; protected $nextLevelType = 'Google_Service_GamesManagement_GamesPlayerLevelResource'; protected $nextLevelDataType = ''; public function setCurrentExperiencePoints($currentExperiencePoints) { $this->currentExperiencePoints = $currentExperiencePoints; } public function getCurrentExperiencePoints() { return $this->currentExperiencePoints; } public function setCurrentLevel(Google_Service_GamesManagement_GamesPlayerLevelResource $currentLevel) { $this->currentLevel = $currentLevel; } public function getCurrentLevel() { return $this->currentLevel; } public function setLastLevelUpTimestampMillis($lastLevelUpTimestampMillis) { $this->lastLevelUpTimestampMillis = $lastLevelUpTimestampMillis; } public function getLastLevelUpTimestampMillis() { return $this->lastLevelUpTimestampMillis; } public function setNextLevel(Google_Service_GamesManagement_GamesPlayerLevelResource $nextLevel) { $this->nextLevel = $nextLevel; } public function getNextLevel() { return $this->nextLevel; } } #[AllowDynamicProperties] class Google_Service_GamesManagement_GamesPlayerLevelResource extends Google_Model { protected $internal_gapi_mappings = array( ); public $level; public $maxExperiencePoints; public $minExperiencePoints; public function setLevel($level) { $this->level = $level; } public function getLevel() { return $this->level; } public function setMaxExperiencePoints($maxExperiencePoints) { $this->maxExperiencePoints = $maxExperiencePoints; } public function getMaxExperiencePoints() { return $this->maxExperiencePoints; } public function setMinExperiencePoints($minExperiencePoints) { $this->minExperiencePoints = $minExperiencePoints; } public function getMinExperiencePoints() { return $this->minExperiencePoints; } } #[AllowDynamicProperties] class Google_Service_GamesManagement_HiddenPlayer extends Google_Model { protected $internal_gapi_mappings = array( ); public $hiddenTimeMillis; public $kind; protected $playerType = 'Google_Service_GamesManagement_Player'; protected $playerDataType = ''; public function setHiddenTimeMillis($hiddenTimeMillis) { $this->hiddenTimeMillis = $hiddenTimeMillis; } public function getHiddenTimeMillis() { return $this->hiddenTimeMillis; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setPlayer(Google_Service_GamesManagement_Player $player) { $this->player = $player; } public function getPlayer() { return $this->player; } } #[AllowDynamicProperties] class Google_Service_GamesManagement_HiddenPlayerList extends Google_Collection { protected $collection_key = 'items'; protected $internal_gapi_mappings = array( ); protected $itemsType = 'Google_Service_GamesManagement_HiddenPlayer'; protected $itemsDataType = 'array'; public $kind; public $nextPageToken; public function setItems($items) { $this->items = $items; } public function getItems() { return $this->items; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setNextPageToken($nextPageToken) { $this->nextPageToken = $nextPageToken; } public function getNextPageToken() { return $this->nextPageToken; } } #[AllowDynamicProperties] class Google_Service_GamesManagement_Player extends Google_Model { protected $internal_gapi_mappings = array( ); public $avatarImageUrl; public $bannerUrlLandscape; public $bannerUrlPortrait; public $displayName; protected $experienceInfoType = 'Google_Service_GamesManagement_GamesPlayerExperienceInfoResource'; protected $experienceInfoDataType = ''; public $kind; protected $lastPlayedWithType = 'Google_Service_GamesManagement_GamesPlayedResource'; protected $lastPlayedWithDataType = ''; protected $nameType = 'Google_Service_GamesManagement_PlayerName'; protected $nameDataType = ''; public $playerId; public $title; public function setAvatarImageUrl($avatarImageUrl) { $this->avatarImageUrl = $avatarImageUrl; } public function getAvatarImageUrl() { return $this->avatarImageUrl; } public function setBannerUrlLandscape($bannerUrlLandscape) { $this->bannerUrlLandscape = $bannerUrlLandscape; } public function getBannerUrlLandscape() { return $this->bannerUrlLandscape; } public function setBannerUrlPortrait($bannerUrlPortrait) { $this->bannerUrlPortrait = $bannerUrlPortrait; } public function getBannerUrlPortrait() { return $this->bannerUrlPortrait; } public function setDisplayName($displayName) { $this->displayName = $displayName; } public function getDisplayName() { return $this->displayName; } public function setExperienceInfo(Google_Service_GamesManagement_GamesPlayerExperienceInfoResource $experienceInfo) { $this->experienceInfo = $experienceInfo; } public function getExperienceInfo() { return $this->experienceInfo; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setLastPlayedWith(Google_Service_GamesManagement_GamesPlayedResource $lastPlayedWith) { $this->lastPlayedWith = $lastPlayedWith; } public function getLastPlayedWith() { return $this->lastPlayedWith; } public function setName(Google_Service_GamesManagement_PlayerName $name) { $this->name = $name; } public function getName() { return $this->name; } public function setPlayerId($playerId) { $this->playerId = $playerId; } public function getPlayerId() { return $this->playerId; } public function setTitle($title) { $this->title = $title; } public function getTitle() { return $this->title; } } #[AllowDynamicProperties] class Google_Service_GamesManagement_PlayerName extends Google_Model { protected $internal_gapi_mappings = array( ); public $familyName; public $givenName; public function setFamilyName($familyName) { $this->familyName = $familyName; } public function getFamilyName() { return $this->familyName; } public function setGivenName($givenName) { $this->givenName = $givenName; } public function getGivenName() { return $this->givenName; } } #[AllowDynamicProperties] class Google_Service_GamesManagement_PlayerScoreResetAllResponse extends Google_Collection { protected $collection_key = 'results'; protected $internal_gapi_mappings = array( ); public $kind; protected $resultsType = 'Google_Service_GamesManagement_PlayerScoreResetResponse'; protected $resultsDataType = 'array'; public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setResults($results) { $this->results = $results; } public function getResults() { return $this->results; } } #[AllowDynamicProperties] class Google_Service_GamesManagement_PlayerScoreResetResponse extends Google_Collection { protected $collection_key = 'resetScoreTimeSpans'; protected $internal_gapi_mappings = array( ); public $definitionId; public $kind; public $resetScoreTimeSpans; public function setDefinitionId($definitionId) { $this->definitionId = $definitionId; } public function getDefinitionId() { return $this->definitionId; } public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setResetScoreTimeSpans($resetScoreTimeSpans) { $this->resetScoreTimeSpans = $resetScoreTimeSpans; } public function getResetScoreTimeSpans() { return $this->resetScoreTimeSpans; } } #[AllowDynamicProperties] class Google_Service_GamesManagement_QuestsResetMultipleForAllRequest extends Google_Collection { protected $collection_key = 'quest_ids'; protected $internal_gapi_mappings = array( "questIds" => "quest_ids", ); public $kind; public $questIds; public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setQuestIds($questIds) { $this->questIds = $questIds; } public function getQuestIds() { return $this->questIds; } } #[AllowDynamicProperties] class Google_Service_GamesManagement_ScoresResetMultipleForAllRequest extends Google_Collection { protected $collection_key = 'leaderboard_ids'; protected $internal_gapi_mappings = array( "leaderboardIds" => "leaderboard_ids", ); public $kind; public $leaderboardIds; public function setKind($kind) { $this->kind = $kind; } public function getKind() { return $this->kind; } public function setLeaderboardIds($leaderboardIds) { $this->leaderboardIds = $leaderboardIds; } public function getLeaderboardIds() { return $this->leaderboardIds; } }
Upload File
Create Folder