Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ArticleAnswer
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2ArticleAnswer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Instance Attribute Summary collapse
-
#answer_record ⇒ String
Corresponds to the JSON property
answerRecord. -
#confidence ⇒ Float
Corresponds to the JSON property
confidence. -
#metadata ⇒ Hash<String,String>
Corresponds to the JSON property
metadata. -
#snippets ⇒ Array<String>
Corresponds to the JSON property
snippets. -
#title ⇒ String
Corresponds to the JSON property
title. -
#uri ⇒ String
Corresponds to the JSON property
uri.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2ArticleAnswer
constructor
A new instance of GoogleCloudDialogflowV2ArticleAnswer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2ArticleAnswer
Returns a new instance of GoogleCloudDialogflowV2ArticleAnswer.
14859 14860 14861 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14859 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
Corresponds to the JSON property answerRecord
14832 14833 14834 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14832 def answer_record @answer_record end |
#confidence ⇒ Float
Corresponds to the JSON property confidence
14837 14838 14839 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14837 def confidence @confidence end |
#metadata ⇒ Hash<String,String>
Corresponds to the JSON property metadata
14842 14843 14844 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14842 def @metadata end |
#snippets ⇒ Array<String>
Corresponds to the JSON property snippets
14847 14848 14849 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14847 def snippets @snippets end |
#title ⇒ String
Corresponds to the JSON property title
14852 14853 14854 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14852 def title @title end |
#uri ⇒ String
Corresponds to the JSON property uri
14857 14858 14859 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14857 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14864 14865 14866 14867 14868 14869 14870 14871 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14864 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 |