class Google::Apis::KeepV1::Section
The content of the note.
Attributes
list[RW]
The list of items for a single list note. Corresponds to the JSON property `list` @return [Google::Apis::KeepV1::ListContent]
text[RW]
The block of text for a single text section or list item. Corresponds to the JSON property `text` @return [Google::Apis::KeepV1::TextContent]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/keep_v1/classes.rb, line 413 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/keep_v1/classes.rb, line 418 def update!(**args) @list = args[:list] if args.key?(:list) @text = args[:text] if args.key?(:text) end