* $gamesService = new Google\Service\Games(...); * $revisions = $gamesService->revisions; * */ class Revisions extends \Google\Service\Resource { /** * Checks whether the games client is out of date. (revisions.check) * * @param string $clientRevision The revision of the client SDK used by your * application. Format: `[PLATFORM_TYPE]:[VERSION_NUMBER]`. Possible values of * `PLATFORM_TYPE` are: * `ANDROID` - Client is running the Android SDK. * `IOS` * - Client is running the iOS SDK. * `WEB_APP` - Client is running as a Web * App. * @param array $optParams Optional parameters. * @return RevisionCheckResponse */ public function check($clientRevision, $optParams = []) { $params = ['clientRevision' => $clientRevision]; $params = array_merge($params, $optParams); return $this->call('check', [$params], RevisionCheckResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Revisions::class, 'Google_Service_Games_Resource_Revisions');