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

The "activities" collection of methods. More...

Inheritance diagram for Google_Service_Appsactivity_Activities_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 listActivities ($optParams=array())
 Returns a list of activities visible to the current logged in user.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "activities" collection of methods.

Typical usage is: $appsactivityService = new Google_Service_Appsactivity(...); $activities = $appsactivityService->activities;

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

◆ listActivities()

Google_Service_Appsactivity_Activities_Resource::listActivities ( $optParams = array())

Returns a list of activities visible to the current logged in user.

Visible activities are determined by the visiblity settings of the object that was acted on, e.g. Drive files a user can see. An activity is a record of past events. Multiple events may be merged if they are similar. A request is scoped to activities from a given Google service using the source parameter. (activities.listActivities)

Parameters
array$optParamsOptional parameters.

@opt_param string drive.ancestorId Identifies the Drive folder containing the items for which to return activities. @opt_param int pageSize The maximum number of events to return on a page. The response includes a continuation token if there are more events. @opt_param string pageToken A token to retrieve a specific page of results. @opt_param string userId Indicates the user to return activity for. Use the special value me to indicate the currently authenticated user. @opt_param string groupingStrategy Indicates the strategy to use when grouping singleEvents items in the associated combinedEvent object. @opt_param string drive.fileId Identifies the Drive item to return activities for. @opt_param string source The Google service from which to return activities. Possible values of source are: - drive.google.com

Return values
Google_Service_Appsactivity_ListActivitiesResponse

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