Attachments

class gcsa.attachment.Attachment(file_url, title=None, mime_type=None, _icon_link=None, _file_id=None)

File attachment for the event.

Currently only Google Drive attachments are supported.

Parameters:
  • file_url – A link for opening the file in a relevant Google editor or viewer.
  • title – Attachment title
  • mime_type – Internet media type (MIME type) of the attachment. See available MIME types
  • _icon_link – URL link to the attachment’s icon (read only)
  • _file_id – Id of the attached file (read only)