Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]

(no description)

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

Defines 3 classes

Google_Service_Admin:: (1 method):
  __construct()

Google_Service_Admin_Mail_Resource:: (1 method):
  insert()

Google_Service_Admin_MailItem:: (18 methods):
  setIsDeleted()
  getIsDeleted()
  setIsDraft()
  getIsDraft()
  setIsInbox()
  getIsInbox()
  setIsSent()
  getIsSent()
  setIsStarred()
  getIsStarred()
  setIsTrash()
  getIsTrash()
  setIsUnread()
  getIsUnread()
  setKind()
  getKind()
  setLabels()
  getLabels()


Class: Google_Service_Admin  - X-Ref

Service definition for Admin (email_migration_v2).

<p>
Email Migration API lets you migrate emails of users to Google backends.</p>

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

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

param: Google_Client $client

Class: Google_Service_Admin_Mail_Resource  - X-Ref

The "mail" collection of methods.
Typical usage is:
<code>
$adminService = new Google_Service_Admin(...);
$mail = $adminService->mail;
</code>

insert($userKey, Google_Service_Admin_MailItem $postBody, $optParams = array()   X-Ref
Insert Mail into Google's Gmail backends (mail.insert)

param: string $userKey The email or immutable id of the user
param: Google_MailItem $postBody
param: array $optParams Optional parameters.

Class: Google_Service_Admin_MailItem  - X-Ref

setIsDeleted($isDeleted)   X-Ref
No description

getIsDeleted()   X-Ref
No description

setIsDraft($isDraft)   X-Ref
No description

getIsDraft()   X-Ref
No description

setIsInbox($isInbox)   X-Ref
No description

getIsInbox()   X-Ref
No description

setIsSent($isSent)   X-Ref
No description

getIsSent()   X-Ref
No description

setIsStarred($isStarred)   X-Ref
No description

getIsStarred()   X-Ref
No description

setIsTrash($isTrash)   X-Ref
No description

getIsTrash()   X-Ref
No description

setIsUnread($isUnread)   X-Ref
No description

getIsUnread()   X-Ref
No description

setKind($kind)   X-Ref
No description

getKind()   X-Ref
No description

setLabels($labels)   X-Ref
No description

getLabels()   X-Ref
No description