npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/google_gamesmanagement

v6.0.0

Published

DataFire integration for Google Play Game Management

Downloads

10

Readme

@datafire/google_gamesmanagement

Client library for Google Play Game Management

Installation and Usage

npm install --save @datafire/google_gamesmanagement
let google_gamesmanagement = require('@datafire/google_gamesmanagement').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

The Google Play Game Management API allows developers to manage resources from the Google Play Game service.

Actions

oauthCallback

Exchange the code passed to your redirect URI for an access_token

google_gamesmanagement.oauthCallback({
  "code": ""
}, context)

Input

  • input object
    • code required string

Output

  • output object
    • access_token string
    • refresh_token string
    • token_type string
    • scope string
    • expiration string

oauthRefresh

Exchange a refresh_token for an access_token

google_gamesmanagement.oauthRefresh(null, context)

Input

This action has no parameters

Output

  • output object
    • access_token string
    • refresh_token string
    • token_type string
    • scope string
    • expiration string

gamesManagement.achievements.resetAll

Resets all achievements for the currently authenticated player for your application. This method is only accessible to whitelisted tester accounts for your application.

google_gamesmanagement.gamesManagement.achievements.resetAll({}, context)

Input

  • input object
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

gamesManagement.achievements.resetAllForAllPlayers

Resets all draft achievements for all players. This method is only available to user accounts for your developer console.

google_gamesmanagement.gamesManagement.achievements.resetAllForAllPlayers({}, context)

Input

  • input object
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

Output schema unknown

gamesManagement.achievements.resetMultipleForAllPlayers

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.

google_gamesmanagement.gamesManagement.achievements.resetMultipleForAllPlayers({}, context)

Input

  • input object
    • body AchievementResetMultipleForAllRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

Output schema unknown

gamesManagement.achievements.reset

Resets the achievement with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.

google_gamesmanagement.gamesManagement.achievements.reset({
  "achievementId": ""
}, context)

Input

  • input object
    • achievementId required string: The ID of the achievement used by this method.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

gamesManagement.achievements.resetForAllPlayers

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.

google_gamesmanagement.gamesManagement.achievements.resetForAllPlayers({
  "achievementId": ""
}, context)

Input

  • input object
    • achievementId required string: The ID of the achievement used by this method.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

Output schema unknown

gamesManagement.applications.listHidden

Get the list of players hidden from the given application. This method is only available to user accounts for your developer console.

google_gamesmanagement.gamesManagement.applications.listHidden({
  "applicationId": ""
}, context)

Input

  • input object
    • applicationId required string: The application ID from the Google Play developer console.
    • maxResults integer: 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.
    • pageToken string: The token returned by the previous request.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

gamesManagement.players.unhide

Unhide the given player's leaderboard scores from the given application. This method is only available to user accounts for your developer console.

google_gamesmanagement.gamesManagement.players.unhide({
  "applicationId": "",
  "playerId": ""
}, context)

Input

  • input object
    • applicationId required string: The application ID from the Google Play developer console.
    • playerId required string: A player ID. A value of me may be used in place of the authenticated player's ID.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

Output schema unknown

gamesManagement.players.hide

Hide the given player's leaderboard scores from the given application. This method is only available to user accounts for your developer console.

google_gamesmanagement.gamesManagement.players.hide({
  "applicationId": "",
  "playerId": ""
}, context)

Input

  • input object
    • applicationId required string: The application ID from the Google Play developer console.
    • playerId required string: A player ID. A value of me may be used in place of the authenticated player's ID.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

Output schema unknown

gamesManagement.events.resetAll

Resets all player progress on all events for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.

google_gamesmanagement.gamesManagement.events.resetAll({}, context)

Input

  • input object
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

Output schema unknown

gamesManagement.events.resetAllForAllPlayers

Resets all draft events for all players. This method is only available to user accounts for your developer console.

google_gamesmanagement.gamesManagement.events.resetAllForAllPlayers({}, context)

Input

  • input object
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

Output schema unknown

gamesManagement.events.resetMultipleForAllPlayers

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.

google_gamesmanagement.gamesManagement.events.resetMultipleForAllPlayers({}, context)

Input

  • input object
    • body EventsResetMultipleForAllRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

Output schema unknown

gamesManagement.events.reset

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.

google_gamesmanagement.gamesManagement.events.reset({
  "eventId": ""
}, context)

Input

  • input object
    • eventId required string: The ID of the event.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

Output schema unknown

gamesManagement.events.resetForAllPlayers

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.

google_gamesmanagement.gamesManagement.events.resetForAllPlayers({
  "eventId": ""
}, context)

Input

  • input object
    • eventId required string: The ID of the event.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

Output schema unknown

gamesManagement.scores.reset

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.

google_gamesmanagement.gamesManagement.scores.reset({
  "leaderboardId": ""
}, context)

Input

  • input object
    • leaderboardId required string: The ID of the leaderboard.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

gamesManagement.scores.resetForAllPlayers

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.

google_gamesmanagement.gamesManagement.scores.resetForAllPlayers({
  "leaderboardId": ""
}, context)

Input

  • input object
    • leaderboardId required string: The ID of the leaderboard.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

Output schema unknown

gamesManagement.scores.resetAll

Resets all scores for all leaderboards for the currently authenticated players. This method is only accessible to whitelisted tester accounts for your application.

google_gamesmanagement.gamesManagement.scores.resetAll({}, context)

Input

  • input object
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

gamesManagement.scores.resetAllForAllPlayers

Resets scores for all draft leaderboards for all players. This method is only available to user accounts for your developer console.

google_gamesmanagement.gamesManagement.scores.resetAllForAllPlayers({}, context)

Input

  • input object
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

Output schema unknown

gamesManagement.scores.resetMultipleForAllPlayers

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.

google_gamesmanagement.gamesManagement.scores.resetMultipleForAllPlayers({}, context)

Input

  • input object
    • body ScoresResetMultipleForAllRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

Output schema unknown

Definitions

AchievementResetAllResponse

  • AchievementResetAllResponse object: Achievement reset all response.
    • kind string: Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#achievementResetAllResponse.
    • results array: The achievement reset results.

AchievementResetMultipleForAllRequest

  • AchievementResetMultipleForAllRequest object
    • achievement_ids array: The IDs of achievements to reset.
      • items string
    • kind string: Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#achievementResetMultipleForAllRequest.

AchievementResetResponse

  • AchievementResetResponse object: An achievement reset response.
    • currentState string: The current state of the achievement. This is the same as the initial state of the achievement. Possible values are: - "HIDDEN"- Achievement is hidden. - "REVEALED" - Achievement is revealed. - "UNLOCKED" - Achievement is unlocked.
    • definitionId string: The ID of an achievement for which player state has been updated.
    • kind string: Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#achievementResetResponse.
    • updateOccurred boolean: Flag to indicate if the requested update actually occurred.

EventsResetMultipleForAllRequest

  • EventsResetMultipleForAllRequest object: Multiple events reset all request.
    • event_ids array: The IDs of events to reset.
      • items string
    • kind string: Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#eventsResetMultipleForAllRequest.

GamesPlayerExperienceInfoResource

  • GamesPlayerExperienceInfoResource object: 1P/3P metadata about the player's experience.
    • currentExperiencePoints string: The current number of experience points for the player.
    • currentLevel GamesPlayerLevelResource
    • lastLevelUpTimestampMillis string: The timestamp when the player was leveled up, in millis since Unix epoch UTC.
    • nextLevel GamesPlayerLevelResource

GamesPlayerLevelResource

  • GamesPlayerLevelResource object: 1P/3P metadata about a user's level.
    • level integer: The level for the user.
    • maxExperiencePoints string: The maximum experience points for this level.
    • minExperiencePoints string: The minimum experience points for this level.

HiddenPlayer

  • HiddenPlayer object: The HiddenPlayer resource.
    • hiddenTimeMillis string: Output only. The time this player was hidden.
    • kind string: Output only. Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#hiddenPlayer.
    • player Player

HiddenPlayerList

  • HiddenPlayerList object: A list of hidden players.
    • items array: The players.
    • kind string: Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#hiddenPlayerList.
    • nextPageToken string: The pagination token for the next page of results.

Player

  • Player object: A Player resource.
    • avatarImageUrl string: The base URL for the image that represents the player.
    • bannerUrlLandscape string: The url to the landscape mode player banner image.
    • bannerUrlPortrait string: The url to the portrait mode player banner image.
    • displayName string: The name to display for the player.
    • experienceInfo GamesPlayerExperienceInfoResource
    • kind string: Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#player.
    • name object: An object representation of the individual components of the player's name. For some players, these fields may not be present.
      • familyName string: The family name of this player. In some places, this is known as the last name.
      • givenName string: The given name of this player. In some places, this is known as the first name.
    • originalPlayerId string: The player ID that was used for this player the first time they signed into the game in question. This is only populated for calls to player.get for the requesting player, only if the player ID has subsequently changed, and only to clients that support remapping player IDs.
    • playerId string: The ID of the player.
    • profileSettings ProfileSettings
    • title string: The player's title rewarded for their game activities.

PlayerScoreResetAllResponse

  • PlayerScoreResetAllResponse object: A list of leaderboard reset resources.
    • kind string: Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#playerScoreResetAllResponse.
    • results array: The leaderboard reset results.

PlayerScoreResetResponse

  • PlayerScoreResetResponse object: A list of reset leaderboard entry resources.
    • definitionId string: The ID of an leaderboard for which player state has been updated.
    • kind string: Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#playerScoreResetResponse.
    • resetScoreTimeSpans array: The time spans of the updated score. Possible values are: - "ALL_TIME" - The score is an all-time score. - "WEEKLY" - The score is a weekly score. - "DAILY" - The score is a daily score.
      • items string

ProfileSettings

  • ProfileSettings object: Profile settings
    • kind string: Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#profileSettings.
    • profileVisible boolean

ScoresResetMultipleForAllRequest

  • ScoresResetMultipleForAllRequest object
    • kind string: Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#scoresResetMultipleForAllRequest.
    • leaderboard_ids array: The IDs of leaderboards to reset.
      • items string