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

A thumbnail for the file. This will only be used if 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` @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_v3/classes.rb, line 860
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_v3/classes.rb, line 865
def update!(**args)
  @image = args[:image] if args.key?(:image)
  @mime_type = args[:mime_type] if args.key?(:mime_type)
end