class AchievementConfigurations extends Resource (View source)

The "achievementConfigurations" collection of methods.

Typical usage is:

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

Methods

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

Delete the achievement configuration with the given ID.

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

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

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

Insert a new achievement configuration in this application.

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

Returns a list of the achievement configurations in this application.

update(string $achievementId, AchievementConfiguration $postBody, array $optParams = [])

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

Details

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

Delete the achievement configuration with the given ID.

(achievementConfigurations.delete)

Parameters

string $achievementId

The ID of the achievement used by this method.

array $optParams

Optional parameters.

Exceptions

Exception

AchievementConfiguration get(string $achievementId, array $optParams = [])

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

(achievementConfigurations.get)

Parameters

string $achievementId

The ID of the achievement used by this method.

array $optParams

Optional parameters.

Return Value

AchievementConfiguration

Exceptions

Exception

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

Insert a new achievement configuration in this application.

(achievementConfigurations.insert)

Parameters

string $applicationId

The application ID from the Google Play developer console.

AchievementConfiguration $postBody
array $optParams

Optional parameters.

Return Value

AchievementConfiguration

Exceptions

Exception

AchievementConfigurationListResponse listAchievementConfigurations(string $applicationId, array $optParams = [])

Returns a list of the achievement configurations in this application.

(achievementConfigurations.listAchievementConfigurations)

Parameters

string $applicationId

The application ID from the Google Play developer console.

array $optParams

Optional parameters.

Return Value

AchievementConfigurationListResponse

Exceptions

Exception

AchievementConfiguration update(string $achievementId, AchievementConfiguration $postBody, array $optParams = [])

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

(achievementConfigurations.update)

Parameters

string $achievementId

The ID of the achievement used by this method.

AchievementConfiguration $postBody
array $optParams

Optional parameters.

Return Value

AchievementConfiguration

Exceptions

Exception