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

Additional information about the content of the file. These fields are never populated in responses.

Attributes

indexable_text[RW]

Text to be indexed for the file to improve fullText queries. This is limited to 128KB in length and may contain HTML elements. Corresponds to the JSON property `indexableText` @return [String]

thumbnail[RW]

A thumbnail for the file. This will only be used if Drive cannot generate a standard thumbnail. Corresponds to the JSON property `thumbnail` @return [Google::Apis::DriveV3::File::ContentHints::Thumbnail]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/drive_v3/classes.rb, line 835
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 840
def update!(**args)
  @indexable_text = args[:indexable_text] if args.key?(:indexable_text)
  @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
end