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: 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