class LeaderboardConfigurations extends Resource (View source)

The "leaderboardConfigurations" collection of methods.

Typical usage is:

 $gamesConfigurationService = new Google\Service\GamesConfiguration(...);
 $leaderboardConfigurations = $gamesConfigurationService->leaderboardConfigurations;

Methods

delete(string $leaderboardId, array $optParams = [])

Delete the leaderboard configuration with the given ID.

get(string $leaderboardId, array $optParams = [])

Retrieves the metadata of the leaderboard configuration with the given ID.

insert(string $applicationId, LeaderboardConfiguration $postBody, array $optParams = [])

Insert a new leaderboard configuration in this application.

listLeaderboardConfigurations(string $applicationId, array $optParams = [])

Returns a list of the leaderboard configurations in this application.

update(string $leaderboardId, LeaderboardConfiguration $postBody, array $optParams = [])

Update the metadata of the leaderboard configuration with the given ID.

Details

delete(string $leaderboardId, array $optParams = [])

Delete the leaderboard configuration with the given ID.

(leaderboardConfigurations.delete)

Parameters

string $leaderboardId

The ID of the leaderboard.

array $optParams

Optional parameters.

Exceptions

Exception

LeaderboardConfiguration get(string $leaderboardId, array $optParams = [])

Retrieves the metadata of the leaderboard configuration with the given ID.

(leaderboardConfigurations.get)

Parameters

string $leaderboardId

The ID of the leaderboard.

array $optParams

Optional parameters.

Return Value

LeaderboardConfiguration

Exceptions

Exception

LeaderboardConfiguration insert(string $applicationId, LeaderboardConfiguration $postBody, array $optParams = [])

Insert a new leaderboard configuration in this application.

(leaderboardConfigurations.insert)

Parameters

string $applicationId

The application ID from the Google Play developer console.

LeaderboardConfiguration $postBody
array $optParams

Optional parameters.

Return Value

LeaderboardConfiguration

Exceptions

Exception

LeaderboardConfigurationListResponse listLeaderboardConfigurations(string $applicationId, array $optParams = [])

Returns a list of the leaderboard configurations in this application.

(leaderboardConfigurations.listLeaderboardConfigurations)

Parameters

string $applicationId

The application ID from the Google Play developer console.

array $optParams

Optional parameters.

Return Value

LeaderboardConfigurationListResponse

Exceptions

Exception

LeaderboardConfiguration update(string $leaderboardId, LeaderboardConfiguration $postBody, array $optParams = [])

Update the metadata of the leaderboard configuration with the given ID.

(leaderboardConfigurations.update)

Parameters

string $leaderboardId

The ID of the leaderboard.

LeaderboardConfiguration $postBody
array $optParams

Optional parameters.

Return Value

LeaderboardConfiguration

Exceptions

Exception