class Events extends Resource (View source)

The "events" collection of methods.

Typical usage is:

 $gamesManagementService = new Google\Service\GamesManagement(...);
 $events = $gamesManagementService->events;

Methods

reset(string $eventId, array $optParams = [])

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. (events.reset)

resetAll(array $optParams = [])

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

resetAllForAllPlayers(array $optParams = [])

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

resetForAllPlayers(string $eventId, array $optParams = [])

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. (events.resetForAllPlayers)

resetMultipleForAllPlayers(EventsResetMultipleForAllRequest $postBody, array $optParams = [])

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. (events.resetMultipleForAllPlayers)

Details

reset(string $eventId, array $optParams = [])

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. (events.reset)

Parameters

string $eventId

The ID of the event.

array $optParams

Optional parameters.

Exceptions

Exception

resetAll(array $optParams = [])

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

Parameters

array $optParams

Optional parameters.

Exceptions

Exception

resetAllForAllPlayers(array $optParams = [])

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

Parameters

array $optParams

Optional parameters.

Exceptions

Exception

resetForAllPlayers(string $eventId, array $optParams = [])

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. (events.resetForAllPlayers)

Parameters

string $eventId

The ID of the event.

array $optParams

Optional parameters.

Exceptions

Exception

resetMultipleForAllPlayers(EventsResetMultipleForAllRequest $postBody, array $optParams = [])

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. (events.resetMultipleForAllPlayers)

Parameters

EventsResetMultipleForAllRequest $postBody
array $optParams

Optional parameters.

Exceptions

Exception