Google Play Game Services Management API . events

Instance Methods

reset(eventId)

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. All quests for this player that use the event will also be reset.

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. All quests for this player will also be reset.

resetAllForAllPlayers()

Resets all draft events for all players. This method is only available to user accounts for your developer console. All quests that use any of these events will also be reset.

resetForAllPlayers(eventId)

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. All quests that use the event will also be reset.

resetMultipleForAllPlayers(body)

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. All quests that use any of the events will also be reset.

Method Details

reset(eventId)
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. All quests for this player that use the event will also be reset.

Args:
  eventId: string, The ID of the event. (required)
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. All quests for this player will also be reset.

Args:
resetAllForAllPlayers()
Resets all draft events for all players. This method is only available to user accounts for your developer console. All quests that use any of these events will also be reset.

Args:
resetForAllPlayers(eventId)
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. All quests that use the event will also be reset.

Args:
  eventId: string, The ID of the event. (required)
resetMultipleForAllPlayers(body)
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. All quests that use any of the events will also be reset.

Args:
  body: object, The request body. (required)
    The object takes the form of:

{ # This is a JSON template for multiple events reset all request.
    "event_ids": [ # The IDs of events to reset.
      "A String",
    ],
    "kind": "gamesManagement#eventsResetMultipleForAllRequest", # Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#eventsResetMultipleForAllRequest.
  }