Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_GamesConfiguration_AchievementConfigurations_Resource Class Reference

The "achievementConfigurations" collection of methods. More...

Inheritance diagram for Google_Service_GamesConfiguration_AchievementConfigurations_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($achievementId, $optParams=array())
 Delete the achievement configuration with the given ID.
 
 get ($achievementId, $optParams=array())
 Retrieves the metadata of the achievement configuration with the given ID.
 
 insert ($applicationId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams=array())
 Insert a new achievement configuration in this application.
 
 listAchievementConfigurations ($applicationId, $optParams=array())
 Returns a list of the achievement configurations in this application.
 
 patch ($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams=array())
 Update the metadata of the achievement configuration with the given ID.
 
 update ($achievementId, Google_Service_GamesConfiguration_AchievementConfiguration $postBody, $optParams=array())
 Update the metadata of the achievement configuration with the given ID.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "achievementConfigurations" collection of methods.

Typical usage is: $gamesConfigurationService = new Google_Service_GamesConfiguration(...); $achievementConfigurations = $gamesConfigurationService->achievementConfigurations;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ delete()

Google_Service_GamesConfiguration_AchievementConfigurations_Resource::delete ( $achievementId,
$optParams = array() )

Delete the achievement configuration with the given ID.

(achievementConfigurations.delete)

Parameters
string$achievementIdThe ID of the achievement used by this method.
array$optParamsOptional parameters.

◆ get()

Google_Service_GamesConfiguration_AchievementConfigurations_Resource::get ( $achievementId,
$optParams = array() )

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

(achievementConfigurations.get)

Parameters
string$achievementIdThe ID of the achievement used by this method.
array$optParamsOptional parameters.
Return values
Google_Service_GamesConfiguration_AchievementConfiguration

◆ insert()

Google_Service_GamesConfiguration_AchievementConfigurations_Resource::insert ( $applicationId,
Google_Service_GamesConfiguration_AchievementConfiguration $postBody,
$optParams = array() )

Insert a new achievement configuration in this application.

(achievementConfigurations.insert)

Parameters
string$applicationIdThe application ID from the Google Play developer console.
Google_AchievementConfiguration$postBody
array$optParamsOptional parameters.
Return values
Google_Service_GamesConfiguration_AchievementConfiguration

◆ listAchievementConfigurations()

Google_Service_GamesConfiguration_AchievementConfigurations_Resource::listAchievementConfigurations ( $applicationId,
$optParams = array() )

Returns a list of the achievement configurations in this application.

(achievementConfigurations.listAchievementConfigurations)

Parameters
string$applicationIdThe application ID from the Google Play developer console.
array$optParamsOptional parameters.

@opt_param string pageToken The token returned by the previous request. @opt_param int maxResults The maximum number of resource configurations to return in the response, used for paging. For any response, the actual number of resources returned may be less than the specified maxResults.

Return values
Google_Service_GamesConfiguration_AchievementConfigurationListResponse

◆ patch()

Google_Service_GamesConfiguration_AchievementConfigurations_Resource::patch ( $achievementId,
Google_Service_GamesConfiguration_AchievementConfiguration $postBody,
$optParams = array() )

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

This method supports patch semantics. (achievementConfigurations.patch)

Parameters
string$achievementIdThe ID of the achievement used by this method.
Google_AchievementConfiguration$postBody
array$optParamsOptional parameters.
Return values
Google_Service_GamesConfiguration_AchievementConfiguration

◆ update()

Google_Service_GamesConfiguration_AchievementConfigurations_Resource::update ( $achievementId,
Google_Service_GamesConfiguration_AchievementConfiguration $postBody,
$optParams = array() )

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

(achievementConfigurations.update)

Parameters
string$achievementIdThe ID of the achievement used by this method.
Google_AchievementConfiguration$postBody
array$optParamsOptional parameters.
Return values
Google_Service_GamesConfiguration_AchievementConfiguration

The documentation for this class was generated from the following file: