class Google::Apis::CalendarV3::EventAttachment
Attributes
ID of the attached file. Read-only. For Google
Drive files, this is the ID of the corresponding Files resource entry in the Drive API. Corresponds to the JSON property `fileId` @return [String]
URL 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. Corresponds to the JSON property `fileUrl` @return [String]
URL link to the attachment's icon. Read-only. Corresponds to the JSON property `iconLink` @return [String]
Internet media type (MIME type) of the attachment. Corresponds to the JSON property `mimeType` @return [String]
Attachment title. Corresponds to the JSON property `title` @return [String]
Public Class Methods
# File lib/google/apis/calendar_v3/classes.rb, line 1647 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/calendar_v3/classes.rb, line 1652 def update!(**args) @file_id = args[:file_id] if args.key?(:file_id) @file_url = args[:file_url] if args.key?(:file_url) @icon_link = args[:icon_link] if args.key?(:icon_link) @mime_type = args[:mime_type] if args.key?(:mime_type) @title = args[:title] if args.key?(:title) end