class Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Synonym
Attributes
source[RW]
Corresponds to the JSON property `source` @return [Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense::Synonym::Source]
text[RW]
Corresponds to the JSON property `text` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/books_v1/classes.rb, line 1241 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/books_v1/classes.rb, line 1246 def update!(**args) @source = args[:source] if args.key?(:source) @text = args[:text] if args.key?(:text) end