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
-
#metadata ⇒ Hash<String,Object>
Metadata associated with the article.
-
#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.
14702 14703 14704 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14702 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Hash<String,Object>
Metadata associated with the article.
Corresponds to the JSON property metadata
14685 14686 14687 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14685 def @metadata end |
#snippet ⇒ String
The relevant snippet of the article.
Corresponds to the JSON property snippet
14690 14691 14692 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14690 def snippet @snippet end |
#title ⇒ String
The title of the article.
Corresponds to the JSON property title
14695 14696 14697 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14695 def title @title end |
#uri ⇒ String
The URI of the article.
Corresponds to the JSON property uri
14700 14701 14702 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14700 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14707 14708 14709 14710 14711 14712 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14707 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @snippet = args[:snippet] if args.key?(:snippet) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end |