class Google::Apis::BooksV1::DictLayerData::Dict::Word

Attributes

derivatives[RW]

Corresponds to the JSON property `derivatives` @return [Array<Google::Apis::BooksV1::DictLayerData::Dict::Word::Derivative>]

examples[RW]

Corresponds to the JSON property `examples` @return [Array<Google::Apis::BooksV1::DictLayerData::Dict::Word::Example>]

senses[RW]

Corresponds to the JSON property `senses` @return [Array<Google::Apis::BooksV1::DictLayerData::Dict::Word::Sense>]

source[RW]

The words with different meanings but not related words, e.g. “go” (game) and “ go” (verb). Corresponds to the JSON property `source` @return [Google::Apis::BooksV1::DictLayerData::Dict::Word::Source]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/books_v1/classes.rb, line 932
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/books_v1/classes.rb, line 937
def update!(**args)
  @derivatives = args[:derivatives] if args.key?(:derivatives)
  @examples = args[:examples] if args.key?(:examples)
  @senses = args[:senses] if args.key?(:senses)
  @source = args[:source] if args.key?(:source)
end