class Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ArticleAnswer

Represents article answer.

Attributes

answer_record[RW]

The name of answer record, in the format of “projects//locations// answerRecords/” Corresponds to the JSON property `answerRecord` @return [String]

confidence[RW]

Article match confidence. The system's confidence score that this article is a good match for this conversation, as a value from 0.0 (completely uncertain) to 1.0 (completely certain). Corresponds to the JSON property `confidence` @return [Float]

metadata[RW]

A map that contains metadata about the answer and the document from which it originates. Corresponds to the JSON property `metadata` @return [Hash<String,String>]

snippets[RW]

Article snippets. Corresponds to the JSON property `snippets` @return [Array<String>]

title[RW]

The article title. Corresponds to the JSON property `title` @return [String]

uri[RW]

The article URI. Corresponds to the JSON property `uri` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3beta1/classes.rb, line 8519
def update!(**args)
  @answer_record = args[:answer_record] if args.key?(:answer_record)
  @confidence = args[:confidence] if args.key?(:confidence)
  @metadata = args[:metadata] if args.key?(:metadata)
  @snippets = args[:snippets] if args.key?(:snippets)
  @title = args[:title] if args.key?(:title)
  @uri = args[:uri] if args.key?(:uri)
end