class Google::Apis::KeepV1::Attachment
An attachment to a note.
Attributes
mime_type[RW]
The MIME types (IANA media types) in which the attachment is available. Corresponds to the JSON property `mimeType` @return [Array<String>]
name[RW]
The resource name; Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/keep_v1/classes.rb, line 39 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/keep_v1/classes.rb, line 44 def update!(**args) @mime_type = args[:mime_type] if args.key?(:mime_type) @name = args[:name] if args.key?(:name) end