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
-
#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.
17881 17882 17883 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17881 def initialize(**args) update!(**args) end |
Instance Attribute Details
#snippet ⇒ String
The relevant snippet of the article.
Corresponds to the JSON property snippet
17869 17870 17871 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17869 def snippet @snippet end |
#title ⇒ String
The title of the article.
Corresponds to the JSON property title
17874 17875 17876 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17874 def title @title end |
#uri ⇒ String
The URI of the article.
Corresponds to the JSON property uri
17879 17880 17881 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17879 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17886 17887 17888 17889 17890 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17886 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 |