Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource
- 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
Overview
The sources of the answers.
Instance Attribute Summary collapse
-
#snippet ⇒ String
The relevant snippet of the article.
-
#title ⇒ String
The title of the article.
-
#uri ⇒ String
The URI of the article.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource
constructor
A new instance of GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource
Returns a new instance of GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource.
14771 14772 14773 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14771 def initialize(**args) update!(**args) end |
Instance Attribute Details
#snippet ⇒ String
The relevant snippet of the article.
Corresponds to the JSON property snippet
14759 14760 14761 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14759 def snippet @snippet end |
#title ⇒ String
The title of the article.
Corresponds to the JSON property title
14764 14765 14766 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14764 def title @title end |
#uri ⇒ String
The URI of the article.
Corresponds to the JSON property uri
14769 14770 14771 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14769 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14776 14777 14778 14779 14780 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14776 def update!(**args) @snippet = args[:snippet] if args.key?(:snippet) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end |