Class: Google::Apis::DriveV2::File::IndexableText
- Inherits:
-
Object
- Object
- Google::Apis::DriveV2::File::IndexableText
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/drive_v2/classes.rb,
generated/google/apis/drive_v2/representations.rb,
generated/google/apis/drive_v2/representations.rb
Overview
Indexable text attributes for the file (can only be written)
Instance Attribute Summary collapse
-
#text ⇒ String
The text to be indexed for this file.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IndexableText
constructor
A new instance of IndexableText.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ IndexableText
Returns a new instance of IndexableText
2078 2079 2080 |
# File 'generated/google/apis/drive_v2/classes.rb', line 2078 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text ⇒ String
The text to be indexed for this file.
Corresponds to the JSON property text
2076 2077 2078 |
# File 'generated/google/apis/drive_v2/classes.rb', line 2076 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2083 2084 2085 |
# File 'generated/google/apis/drive_v2/classes.rb', line 2083 def update!(**args) @text = args[:text] if args.key?(:text) end |