class Google::Apis::DriveV2::File::Thumbnail
Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
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` @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 generated/google/apis/drive_v2/classes.rb, line 1861 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/drive_v2/classes.rb, line 1866 def update!(**args) @image = args[:image] if args.key?(:image) @mime_type = args[:mime_type] if args.key?(:mime_type) end