class Google::Apis::DriveV2::File::Thumbnail
A thumbnail for the file. This will only be used if a standard thumbnail cannot be generated.
Attributes
image[RW]
The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5. Corresponds to the JSON property `image` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
mime_type[RW]
The MIME type of the thumbnail. Corresponds to the JSON property `mimeType` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/drive_v2/classes.rb, line 2901 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/drive_v2/classes.rb, line 2906 def update!(**args) @image = args[:image] if args.key?(:image) @mime_type = args[:mime_type] if args.key?(:mime_type) end