Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as mod from "https://googleapis.deno.dev/v1/games:v1.ts";

§Classes

Games

The Google Play games service allows developers to enhance games with social leaderboards, achievements, game state, sign-in with Google, and more.

GoogleAuth

§Variables

auth

§Interfaces

AchievementDefinition

An achievement definition object.

AchievementDefinitionsListOptions

Additional options for Games#achievementDefinitionsList.

AchievementDefinitionsListResponse

A list of achievement definition objects.

AchievementIncrementResponse

An achievement increment response

AchievementRevealResponse

An achievement reveal response

AchievementSetStepsAtLeastResponse

An achievement set steps at least response.

AchievementsIncrementOptions

Additional options for Games#achievementsIncrement.

AchievementsListOptions

Additional options for Games#achievementsList.

AchievementsSetStepsAtLeastOptions

Additional options for Games#achievementsSetStepsAtLeast.

AchievementUnlockResponse

An achievement unlock response

AchievementUpdateMultipleRequest

A list of achievement update requests.

AchievementUpdateMultipleResponse

Response message for UpdateMultipleAchievements rpc.

AchievementUpdateRequest

A request to update an achievement.

AchievementUpdateResponse

An updated achievement.

Application

The Application resource.

ApplicationCategory

An application category object.

ApplicationPlayerId

Primary scoped player identifier for an application.

ApplicationsGetEndPointOptions

Additional options for Games#applicationsGetEndPoint.

ApplicationsGetOptions

Additional options for Games#applicationsGet.

ApplicationVerifyResponse

A third party application verification response resource.

Category

Data related to individual game categories.

CategoryListResponse

A third party list metagame categories response.

CredentialsClient

Defines the root interface for all clients that generate credentials for calling Google APIs. All clients should implement this interface.

EndPoint

Container for a URL end point of the requested type.

EventBatchRecordFailure

A batch update failure resource.

EventChild

An event child relationship resource.

EventDefinition

An event definition resource.

EventDefinitionListResponse

A ListDefinitions response.

EventPeriodRange

An event period time range.

EventPeriodUpdate

An event period update resource.

EventRecordFailure

An event update failure resource.

EventRecordRequest

An event period update resource.

EventsListByPlayerOptions

Additional options for Games#eventsListByPlayer.

EventsListDefinitionsOptions

Additional options for Games#eventsListDefinitions.

EventsRecordOptions

Additional options for Games#eventsRecord.

EventUpdateRequest

An event period update resource.

EventUpdateResponse

An event period update resource.

GamesAchievementIncrement

The payload to request to increment an achievement.

GamesAchievementSetStepsAtLeast

The payload to request to increment an achievement.

GetMultipleApplicationPlayerIdsResponse

Response message for GetMultipleApplicationPlayerIds rpc.

ImageAsset

An image asset object.

Instance

The Instance resource.

InstanceAndroidDetails

The Android instance details resource.

InstanceIosDetails

The iOS details resource.

InstanceWebDetails

The Web details resource.

Leaderboard

The Leaderboard resource.

LeaderboardEntry

The Leaderboard Entry resource.

LeaderboardListResponse

A list of leaderboard objects.

LeaderboardScoreRank

A score rank in a leaderboard.

LeaderboardScores

A ListScores response.

LeaderboardsGetOptions

Additional options for Games#leaderboardsGet.

LeaderboardsListOptions

Additional options for Games#leaderboardsList.

LinkPersonaRequest

Request to link an in-game account with a PGS principal (encoded in the session id).

LinkPersonaResponse

Outcome of a persona linking attempt.

MetagameConfig

The metagame config resource

MetagameListCategoriesByPlayerOptions

Additional options for Games#metagameListCategoriesByPlayer.

Player

A Player resource.

PlayerAchievement

An achievement object.

PlayerAchievementListResponse

A list of achievement objects.

PlayerEvent

An event status resource.

PlayerEventListResponse

A ListByPlayer response.

PlayerExperienceInfo

1P/3P metadata about the player's experience.

PlayerLeaderboardScore

A player leaderboard score object.

PlayerLeaderboardScoreListResponse

A list of player leaderboard scores.

PlayerLevel

1P/3P metadata about a user's level.

PlayerListResponse

A third party player list response.

PlayerScore

A player score.

PlayerScoreListResponse

A list of score submission statuses.

PlayerScoreResponse

A list of leaderboard entry resources.

PlayerScoreSubmissionList

A list of score submission requests.

PlayersGetMultipleApplicationPlayerIdsOptions

Additional options for Games#playersGetMultipleApplicationPlayerIds.

PlayersGetOptions

Additional options for Games#playersGet.

PlayersListOptions

Additional options for Games#playersList.

ProfileSettings

Profile settings

RecallToken

Recall token data returned from RetrievePlayerTokens RPC

ResetPersonaRequest

Request to remove all Recall tokens associated with a persona for an app.

ResetPersonaResponse

Response for the ResetPersona RPC

RetrieveDeveloperGamesLastPlayerTokenResponse

Recall token data returned from for the RetrieveDeveloperGamesLastPlayerToken RPC

RetrievePlayerTokensResponse

Response for the RetrievePlayerTokens RPC

RevisionCheckResponse

A third party checking a revision response.

RevisionsCheckOptions

Additional options for Games#revisionsCheck.

ScopedPlayerIds

Scoped player identifiers.

ScoresGetOptions

Additional options for Games#scoresGet.

ScoresListOptions

Additional options for Games#scoresList.

ScoresListWindowOptions

Additional options for Games#scoresListWindow.

ScoresSubmitMultipleOptions

Additional options for Games#scoresSubmitMultiple.

ScoresSubmitOptions

Additional options for Games#scoresSubmit.

ScoreSubmission

A request to submit a score to leaderboards.

Snapshot

An snapshot object.

SnapshotImage

An image of a snapshot.

SnapshotListResponse

A third party list snapshots response.

SnapshotsGetOptions

Additional options for Games#snapshotsGet.

SnapshotsListOptions

Additional options for Games#snapshotsList.

StatsResponse

A third party stats resource.

UnlinkPersonaRequest

Request to remove a Recall token linking PGS principal and an in-game account

UnlinkPersonaResponse

Response for the UnlinkPersona RPC