When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.
size
integer
Number of bytes for the message part data (encoding notwithstanding).
The body data of a MIME message part as a base64url encoded string. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-04 UTC."],[[["`MessagePartBody` resource represents the body of a single MIME message part and can contain an attachment ID, size, and data."],["If an `attachmentId` is present, the attachment must be retrieved separately via `messages.attachments.get`; otherwise, the message part body is included in the `data` field."],["The `data` field contains the base64url-encoded body data, which may be empty for certain MIME types or when the data is sent as a separate attachment."],["You can use the `get` method to retrieve a specific message attachment using its ID."]]],[]]