Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_PlusDomains_Audiences_Resource Class Reference

The "audiences" collection of methods. More...

Inheritance diagram for Google_Service_PlusDomains_Audiences_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 listAudiences ($userId, $optParams=array())
 List all of the audiences to which a user can share.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "audiences" collection of methods.

Typical usage is: $plusDomainsService = new Google_Service_PlusDomains(...); $audiences = $plusDomainsService->audiences;

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

◆ listAudiences()

Google_Service_PlusDomains_Audiences_Resource::listAudiences ( $userId,
$optParams = array() )

List all of the audiences to which a user can share.

(audiences.listAudiences)

Parameters
string$userIdThe ID of the user to get audiences for. The special value "me" can be used to indicate the authenticated user.
array$optParamsOptional parameters.

@opt_param string pageToken The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response. @opt_param string maxResults The maximum number of circles to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.

Return values
Google_Service_PlusDomains_AudiencesFeed

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