Google_Service_Games
extends Google_Service
in package
Service definition for Games (v1).
The Google Play games service allows developers to enhance games with social leaderboards, achievements, game state, sign-in with Google, and more.
For more information about this service, see the API Documentation
Tags
Table of Contents
- DRIVE_APPDATA = "https://www.googleapis.com/auth/drive.appdata"
- View and manage its own configuration data in your Google Drive.
- GAMES = "https://www.googleapis.com/auth/games"
- Create, edit, and delete your Google Play Games activity.
- $achievementDefinitions : mixed
- $achievements : mixed
- $applications : mixed
- $availableScopes : mixed
- $batchPath : mixed
- $events : mixed
- $leaderboards : mixed
- $metagame : mixed
- $players : mixed
- $resource : mixed
- $revisions : mixed
- $rootUrl : mixed
- $scores : mixed
- $servicePath : mixed
- $snapshots : mixed
- $stats : mixed
- $version : mixed
- $client : mixed
- __construct() : mixed
- Constructs the internal representation of the Games service.
- createBatch() : Google_Http_Batch
- Create a new HTTP Batch handler for this service
- getClient() : Google_Client
- Return the associated Google_Client class.
Constants
DRIVE_APPDATA
View and manage its own configuration data in your Google Drive.
public
mixed
DRIVE_APPDATA
= "https://www.googleapis.com/auth/drive.appdata"
GAMES
Create, edit, and delete your Google Play Games activity.
public
mixed
GAMES
= "https://www.googleapis.com/auth/games"
Properties
$achievementDefinitions
public
mixed
$achievementDefinitions
$achievements
public
mixed
$achievements
$applications
public
mixed
$applications
$availableScopes
public
mixed
$availableScopes
$batchPath
public
mixed
$batchPath
$events
public
mixed
$events
$leaderboards
public
mixed
$leaderboards
$metagame
public
mixed
$metagame
$players
public
mixed
$players
$resource
public
mixed
$resource
$revisions
public
mixed
$revisions
$rootUrl
public
mixed
$rootUrl
$scores
public
mixed
$scores
$servicePath
public
mixed
$servicePath
$snapshots
public
mixed
$snapshots
$stats
public
mixed
$stats
$version
public
mixed
$version
$client
private
mixed
$client
Methods
__construct()
Constructs the internal representation of the Games service.
public
__construct(Google_Client $client[, string $rootUrl = null ]) : mixed
Parameters
- $client : Google_Client
-
The client used to deliver requests.
- $rootUrl : string = null
-
The root URL used for requests to the service.
Return values
mixed —createBatch()
Create a new HTTP Batch handler for this service
public
createBatch() : Google_Http_Batch
Return values
Google_Http_Batch —getClient()
Return the associated Google_Client class.
public
getClient() : Google_Client