class Google::Apis::DriveV3::File::ContentHints::Thumbnail

A thumbnail for the file. This will only be used if Google Drive cannot generate a standard thumbnail.

Attributes

image[RW]

The thumbnail data encoded with URL-safe Base64 (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_v3/classes.rb, line 1774
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_v3/classes.rb, line 1779
def update!(**args)
  @image = args[:image] if args.key?(:image)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
end