Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_Gmail_UsersMessagesAttachments_Resource Class Reference

The "attachments" collection of methods. More...

Inheritance diagram for Google_Service_Gmail_UsersMessagesAttachments_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 get ($userId, $messageId, $id, $optParams=array())
 Gets the specified message attachment.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "attachments" collection of methods.

Typical usage is: $gmailService = new Google_Service_Gmail(...); $attachments = $gmailService->attachments;

Member Function Documentation

◆ call()

Google_Service_Resource::call ( $name,
$arguments,
$expected_class = null )
inherited

TODO: This function needs simplifying.

Parameters
$name
$arguments
$expected_class- optional, the expected class name
Return values
Google_Http_Request|expected_class
Exceptions
Google_Exception

◆ get()

Google_Service_Gmail_UsersMessagesAttachments_Resource::get ( $userId,
$messageId,
$id,
$optParams = array() )

Gets the specified message attachment.

(attachments.get)

Parameters
string$userIdThe user's email address. The special value me can be used to indicate the authenticated user.
string$messageIdThe ID of the message containing the attachment.
string$idThe ID of the attachment.
array$optParamsOptional parameters.
Return values
Google_Service_Gmail_MessagePartBody

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