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

The "people" collection of methods. More...

Inheritance diagram for Google_Service_PlusDomains_People_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($userId, $optParams=array())
 Get a person's profile.
 
 listByActivity ($activityId, $collection, $optParams=array())
 List all of the people in the specified collection for a particular activity.
 
 listByCircle ($circleId, $optParams=array())
 List all of the people who are members of a circle.
 
 listPeople ($userId, $collection, $optParams=array())
 List all of the people in the specified collection.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "people" collection of methods.

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

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

◆ get()

Google_Service_PlusDomains_People_Resource::get ( $userId,
$optParams = array() )

Get a person's profile.

(people.get)

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

◆ listByActivity()

Google_Service_PlusDomains_People_Resource::listByActivity ( $activityId,
$collection,
$optParams = array() )

List all of the people in the specified collection for a particular activity.

(people.listByActivity)

Parameters
string$activityIdThe ID of the activity to get the list of people for.
string$collectionThe collection of people to list.
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 people 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_PeopleFeed

◆ listByCircle()

Google_Service_PlusDomains_People_Resource::listByCircle ( $circleId,
$optParams = array() )

List all of the people who are members of a circle.

(people.listByCircle)

Parameters
string$circleIdThe ID of the circle to get the members of.
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 people 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_PeopleFeed

◆ listPeople()

Google_Service_PlusDomains_People_Resource::listPeople ( $userId,
$collection,
$optParams = array() )

List all of the people in the specified collection.

(people.listPeople)

Parameters
string$userIdGet the collection of people for the person identified. Use "me" to indicate the authenticated user.
string$collectionThe collection of people to list.
array$optParamsOptional parameters.

@opt_param string orderBy The order to return people in. @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 people 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_PeopleFeed

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