Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/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) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource
constructor
A new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource
Returns a new instance of GoogleCloudDialogflowV2beta1SearchKnowledgeAnswerAnswerSource.
18746 18747 18748 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18746 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Hash<String,Object>
Metadata associated with the article.
Corresponds to the JSON property metadata
18729 18730 18731 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18729 def @metadata end |
#snippet ⇒ String
The relevant snippet of the article.
Corresponds to the JSON property snippet
18734 18735 18736 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18734 def snippet @snippet end |
#title ⇒ String
The title of the article.
Corresponds to the JSON property title
18739 18740 18741 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18739 def title @title end |
#uri ⇒ String
The URI of the article.
Corresponds to the JSON property uri
18744 18745 18746 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18744 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18751 18752 18753 18754 18755 18756 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18751 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 |