class Google::Apis::CalendarV3::EventAttachment
Attributes
file_id[RW]
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]
file_url[RW]
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. Corresponds to the JSON property `fileUrl` @return [String]
icon_link[RW]
URL link to the attachment's icon. Read-only. Corresponds to the JSON property `iconLink` @return [String]
mime_type[RW]
Internet media type (MIME type) of the attachment. Corresponds to the JSON property `mimeType` @return [String]
title[RW]
Attachment title. Corresponds to the JSON property `title` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/calendar_v3/classes.rb, line 1207 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/calendar_v3/classes.rb, line 1212 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