Documentation

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
author

Google, Inc.

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

$events

public mixed $events

$leaderboards

public mixed $leaderboards

$metagame

public mixed $metagame

$players

public mixed $players

$revisions

public mixed $revisions

$scores

public mixed $scores

$servicePath

public mixed $servicePath

$snapshots

public mixed $snapshots

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

Search results