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

The "asps" collection of methods. More...

Inheritance diagram for Google_Service_Directory_Asps_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($userKey, $codeId, $optParams=array())
 Delete an ASP issued by a user.
 
 get ($userKey, $codeId, $optParams=array())
 Get information about an ASP issued by a user.
 
 listAsps ($userKey, $optParams=array())
 List the ASPs issued by a user.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "asps" collection of methods.

Typical usage is: $adminService = new Google_Service_Directory(...); $asps = $adminService->asps;

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_Directory_Asps_Resource::delete ( $userKey,
$codeId,
$optParams = array() )

Delete an ASP issued by a user.

(asps.delete)

Parameters
string$userKeyIdentifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.
int$codeIdThe unique ID of the ASP to be deleted.
array$optParamsOptional parameters.

◆ get()

Google_Service_Directory_Asps_Resource::get ( $userKey,
$codeId,
$optParams = array() )

Get information about an ASP issued by a user.

(asps.get)

Parameters
string$userKeyIdentifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.
int$codeIdThe unique ID of the ASP.
array$optParamsOptional parameters.
Return values
Google_Service_Directory_Asp

◆ listAsps()

Google_Service_Directory_Asps_Resource::listAsps ( $userKey,
$optParams = array() )

List the ASPs issued by a user.

(asps.listAsps)

Parameters
string$userKeyIdentifies the user in the API request. The value can be the user's primary email address, alias email address, or unique user ID.
array$optParamsOptional parameters.
Return values
Google_Service_Directory_Asps

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