Skip to content

Google: Creates an event — response body — attachments item

Creates an event.: response body, field attachments / item. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Creates an event — response body — attachments item

FieldTypePresenceDescription and constraints
$objectRoot
fileIdstringOptionalID of the attached file. Read-only.
For Google Drive files, this is the ID of the corresponding Files resource entry in the Drive API.
fileUrlstringOptionalURL link to the attachment.
For adding Google Drive file attachments use the same format as in alternateLink property of the Files resource in the Drive API.
Required when adding an attachment.
iconLinkstringOptionalURL link to the attachment’s icon. This field can only be modified for custom third-party attachments.
mimeTypestringOptionalInternet media type (MIME type) of the attachment.
titlestringOptionalAttachment title.

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.