Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

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

(no description)

File Size: 194 lines (4 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