Class: Google::Apis::DriveV3::File::ContentHints
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DriveV3::File::ContentHints
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/drive_v3/classes.rb,
 generated/google/apis/drive_v3/representations.rb,
 generated/google/apis/drive_v3/representations.rb
Overview
Additional information about the content of the file. These fields are never populated in responses.
Defined Under Namespace
Classes: Thumbnail
Instance Attribute Summary collapse
- 
  
    
      #indexable_text  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Text to be indexed for the file to improve fullText queries. 
- 
  
    
      #thumbnail  ⇒ Google::Apis::DriveV3::File::ContentHints::Thumbnail 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A thumbnail for the file. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ContentHints 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of ContentHints. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ContentHints
Returns a new instance of ContentHints
| 1068 1069 1070 | # File 'generated/google/apis/drive_v3/classes.rb', line 1068 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#indexable_text ⇒ String
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
| 1060 1061 1062 | # File 'generated/google/apis/drive_v3/classes.rb', line 1060 def indexable_text @indexable_text end | 
#thumbnail ⇒ Google::Apis::DriveV3::File::ContentHints::Thumbnail
A thumbnail for the file. This will only be used if Drive cannot generate a
standard thumbnail.
Corresponds to the JSON property thumbnail
| 1066 1067 1068 | # File 'generated/google/apis/drive_v3/classes.rb', line 1066 def thumbnail @thumbnail end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1073 1074 1075 1076 | # File 'generated/google/apis/drive_v3/classes.rb', line 1073 def update!(**args) @indexable_text = args[:indexable_text] if args.key?(:indexable_text) @thumbnail = args[:thumbnail] if args.key?(:thumbnail) end |