Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
Google_Service_Gmail Class Reference
Inheritance diagram for Google_Service_Gmail:
Google_Service

Public Member Functions

 __construct (Google_Client $client)
 Constructs the internal representation of the Gmail service.
 
 createBatch ()
 Create a new HTTP Batch handler for this service.
 
 getClient ()
 

Public Attributes

 $availableScopes
 
 $batchPath
 
 $resource
 
 $rootUrl
 
 $servicePath
 
 $users
 
 $users_drafts
 
 $users_history
 
 $users_labels
 
 $users_messages
 
 $users_messages_attachments
 
 $users_threads
 
 $version
 
const GMAIL_COMPOSE
 Manage drafts and send emails.
 
const GMAIL_INSERT
 Insert mail into your mailbox.
 
const GMAIL_LABELS
 Manage mailbox labels.
 
const GMAIL_MODIFY
 View and modify but not delete your email.
 
const GMAIL_READONLY
 View your emails messages and settings.
 
const GMAIL_SEND
 Send email on your behalf.
 
const MAIL_GOOGLE_COM
 View and manage your mail.
 

Constructor & Destructor Documentation

◆ __construct()

Google_Service_Gmail::__construct ( Google_Client $client)

Constructs the internal representation of the Gmail service.

Parameters
Google_Client$client

Reimplemented from Google_Service.

Member Function Documentation

◆ createBatch()

Google_Service::createBatch ( )
inherited

Create a new HTTP Batch handler for this service.

Return values
Google_Http_Batch

Member Data Documentation

◆ GMAIL_COMPOSE

const Google_Service_Gmail::GMAIL_COMPOSE
Initial value:
=
"https://www.googleapis.com/auth/gmail.compose"

Manage drafts and send emails.

◆ GMAIL_INSERT

const Google_Service_Gmail::GMAIL_INSERT
Initial value:
=
"https://www.googleapis.com/auth/gmail.insert"

Insert mail into your mailbox.

◆ GMAIL_LABELS

const Google_Service_Gmail::GMAIL_LABELS
Initial value:
=
"https://www.googleapis.com/auth/gmail.labels"

Manage mailbox labels.

◆ GMAIL_MODIFY

const Google_Service_Gmail::GMAIL_MODIFY
Initial value:
=
"https://www.googleapis.com/auth/gmail.modify"

View and modify but not delete your email.

◆ GMAIL_READONLY

const Google_Service_Gmail::GMAIL_READONLY
Initial value:
=
"https://www.googleapis.com/auth/gmail.readonly"

View your emails messages and settings.

◆ GMAIL_SEND

const Google_Service_Gmail::GMAIL_SEND
Initial value:
=
"https://www.googleapis.com/auth/gmail.send"

Send email on your behalf.

◆ MAIL_GOOGLE_COM

const Google_Service_Gmail::MAIL_GOOGLE_COM
Initial value:
=
"https://mail.google.com/"

View and manage your mail.


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