Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Differences Between: [Versions 401 and 402] [Versions 401 and 403]

(no description)

File Size: 570 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 13 classes

Google_Service_Appsactivity:: (1 method):
  __construct()

Google_Service_Appsactivity_Activities_Resource:: (1 method):
  listActivities()

Google_Service_Appsactivity_Activity:: (4 methods):
  setCombinedEvent()
  getCombinedEvent()
  setSingleEvents()
  getSingleEvents()

Google_Service_Appsactivity_Event:: (18 methods):
  setAdditionalEventTypes()
  getAdditionalEventTypes()
  setEventTimeMillis()
  getEventTimeMillis()
  setFromUserDeletion()
  getFromUserDeletion()
  setMove()
  getMove()
  setPermissionChanges()
  getPermissionChanges()
  setPrimaryEventType()
  getPrimaryEventType()
  setRename()
  getRename()
  setTarget()
  getTarget()
  setUser()
  getUser()

Google_Service_Appsactivity_ListActivitiesResponse:: (4 methods):
  setActivities()
  getActivities()
  setNextPageToken()
  getNextPageToken()

Google_Service_Appsactivity_Move:: (4 methods):
  setAddedParents()
  getAddedParents()
  setRemovedParents()
  getRemovedParents()

Google_Service_Appsactivity_Parent:: (6 methods):
  setId()
  getId()
  setIsRoot()
  getIsRoot()
  setTitle()
  getTitle()

Google_Service_Appsactivity_Permission:: (12 methods):
  setName()
  getName()
  setPermissionId()
  getPermissionId()
  setRole()
  getRole()
  setType()
  getType()
  setUser()
  getUser()
  setWithLink()
  getWithLink()

Google_Service_Appsactivity_PermissionChange:: (4 methods):
  setAddedPermissions()
  getAddedPermissions()
  setRemovedPermissions()
  getRemovedPermissions()

Google_Service_Appsactivity_Photo:: (2 methods):
  setUrl()
  getUrl()

Google_Service_Appsactivity_Rename:: (4 methods):
  setNewTitle()
  getNewTitle()
  setOldTitle()
  getOldTitle()

Google_Service_Appsactivity_Target:: (6 methods):
  setId()
  getId()
  setMimeType()
  getMimeType()
  setName()
  getName()

Google_Service_Appsactivity_User:: (4 methods):
  setName()
  getName()
  setPhoto()
  getPhoto()


Class: Google_Service_Appsactivity  - X-Ref

Service definition for Appsactivity (v1).

<p>
Provides a historical view of activity.</p>

<p>
For more information about this service, see the API
<a href="https://developers.google.com/google-apps/activity/" target="_blank">Documentation</a>
</p>

__construct(Google_Client $client)   X-Ref
Constructs the internal representation of the Appsactivity service.

param: Google_Client $client

Class: Google_Service_Appsactivity_Activities_Resource  - X-Ref

The "activities" collection of methods.
Typical usage is:
<code>
$appsactivityService = new Google_Service_Appsactivity(...);
$activities = $appsactivityService->activities;
</code>

listActivities($optParams = array()   X-Ref
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)

param: array $optParams Optional parameters.
return: Google_Service_Appsactivity_ListActivitiesResponse

Class: Google_Service_Appsactivity_Activity  - X-Ref

setCombinedEvent(Google_Service_Appsactivity_Event $combinedEvent)   X-Ref
No description

getCombinedEvent()   X-Ref
No description

setSingleEvents($singleEvents)   X-Ref
No description

getSingleEvents()   X-Ref
No description

Class: Google_Service_Appsactivity_Event  - X-Ref

setAdditionalEventTypes($additionalEventTypes)   X-Ref
No description

getAdditionalEventTypes()   X-Ref
No description

setEventTimeMillis($eventTimeMillis)   X-Ref
No description

getEventTimeMillis()   X-Ref
No description

setFromUserDeletion($fromUserDeletion)   X-Ref
No description

getFromUserDeletion()   X-Ref
No description

setMove(Google_Service_Appsactivity_Move $move)   X-Ref
No description

getMove()   X-Ref
No description

setPermissionChanges($permissionChanges)   X-Ref
No description

getPermissionChanges()   X-Ref
No description

setPrimaryEventType($primaryEventType)   X-Ref
No description

getPrimaryEventType()   X-Ref
No description

setRename(Google_Service_Appsactivity_Rename $rename)   X-Ref
No description

getRename()   X-Ref
No description

setTarget(Google_Service_Appsactivity_Target $target)   X-Ref
No description

getTarget()   X-Ref
No description

setUser(Google_Service_Appsactivity_User $user)   X-Ref
No description

getUser()   X-Ref
No description

Class: Google_Service_Appsactivity_ListActivitiesResponse  - X-Ref

setActivities($activities)   X-Ref
No description

getActivities()   X-Ref
No description

setNextPageToken($nextPageToken)   X-Ref
No description

getNextPageToken()   X-Ref
No description

Class: Google_Service_Appsactivity_Move  - X-Ref

setAddedParents($addedParents)   X-Ref
No description

getAddedParents()   X-Ref
No description

setRemovedParents($removedParents)   X-Ref
No description

getRemovedParents()   X-Ref
No description

Class: Google_Service_Appsactivity_Parent  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setIsRoot($isRoot)   X-Ref
No description

getIsRoot()   X-Ref
No description

setTitle($title)   X-Ref
No description

getTitle()   X-Ref
No description

Class: Google_Service_Appsactivity_Permission  - X-Ref

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setPermissionId($permissionId)   X-Ref
No description

getPermissionId()   X-Ref
No description

setRole($role)   X-Ref
No description

getRole()   X-Ref
No description

setType($type)   X-Ref
No description

getType()   X-Ref
No description

setUser(Google_Service_Appsactivity_User $user)   X-Ref
No description

getUser()   X-Ref
No description

setWithLink($withLink)   X-Ref
No description

getWithLink()   X-Ref
No description

Class: Google_Service_Appsactivity_Photo  - X-Ref

setUrl($url)   X-Ref
No description

getUrl()   X-Ref
No description

Class: Google_Service_Appsactivity_Rename  - X-Ref

setNewTitle($newTitle)   X-Ref
No description

getNewTitle()   X-Ref
No description

setOldTitle($oldTitle)   X-Ref
No description

getOldTitle()   X-Ref
No description

Class: Google_Service_Appsactivity_Target  - X-Ref

setId($id)   X-Ref
No description

getId()   X-Ref
No description

setMimeType($mimeType)   X-Ref
No description

getMimeType()   X-Ref
No description

setName($name)   X-Ref
No description

getName()   X-Ref
No description

Class: Google_Service_Appsactivity_User  - X-Ref

setName($name)   X-Ref
No description

getName()   X-Ref
No description

setPhoto(Google_Service_Appsactivity_Photo $photo)   X-Ref
No description

getPhoto()   X-Ref
No description