Class: Google::Apis::KeepV1::TextContent
- Inherits:
-
Object
- Object
- Google::Apis::KeepV1::TextContent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/keep_v1/classes.rb,
lib/google/apis/keep_v1/representations.rb,
lib/google/apis/keep_v1/representations.rb
Overview
The block of text for a single text section or list item.
Instance Attribute Summary collapse
-
#text ⇒ String
The text of the note.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TextContent
constructor
A new instance of TextContent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TextContent
Returns a new instance of TextContent.
434 435 436 |
# File 'lib/google/apis/keep_v1/classes.rb', line 434 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text ⇒ String
The text of the note. The limits on this vary with the specific field using
this type.
Corresponds to the JSON property text
432 433 434 |
# File 'lib/google/apis/keep_v1/classes.rb', line 432 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
439 440 441 |
# File 'lib/google/apis/keep_v1/classes.rb', line 439 def update!(**args) @text = args[:text] if args.key?(:text) end |