Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ArticleAnswer
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ArticleAnswer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/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.
7619 7620 7621 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7619 def initialize(**args) update!(**args) end |
Instance Attribute Details
#answer_record ⇒ String
Corresponds to the JSON property answerRecord
7592 7593 7594 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7592 def answer_record @answer_record end |
#confidence ⇒ Float
Corresponds to the JSON property confidence
7597 7598 7599 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7597 def confidence @confidence end |
#metadata ⇒ Hash<String,String>
Corresponds to the JSON property metadata
7602 7603 7604 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7602 def @metadata end |
#snippets ⇒ Array<String>
Corresponds to the JSON property snippets
7607 7608 7609 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7607 def snippets @snippets end |
#title ⇒ String
Corresponds to the JSON property title
7612 7613 7614 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7612 def title @title end |
#uri ⇒ String
Corresponds to the JSON property uri
7617 7618 7619 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7617 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7624 7625 7626 7627 7628 7629 7630 7631 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 7624 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 |