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

The "alerts" collection of methods. More...

Inheritance diagram for Google_Service_AdSense_Alerts_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 delete ($alertId, $optParams=array())
 Dismiss (delete) the specified alert from the publisher's AdSense account.
 
 listAlerts ($optParams=array())
 List the alerts for this AdSense account.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "alerts" collection of methods.

Typical usage is: $adsenseService = new Google_Service_AdSense(...); $alerts = $adsenseService->alerts;

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_AdSense_Alerts_Resource::delete ( $alertId,
$optParams = array() )

Dismiss (delete) the specified alert from the publisher's AdSense account.

(alerts.delete)

Parameters
string$alertIdAlert to delete.
array$optParamsOptional parameters.

◆ listAlerts()

Google_Service_AdSense_Alerts_Resource::listAlerts ( $optParams = array())

List the alerts for this AdSense account.

(alerts.listAlerts)

Parameters
array$optParamsOptional parameters.

@opt_param string locale The locale to use for translating alert messages. The account locale will be used if this is not supplied. The AdSense default (English) will be used if the supplied locale is invalid or unsupported.

Return values
Google_Service_AdSense_Alerts

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