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.
18446 18447 18448 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18446 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Hash<String,Object>
Metadata associated with the article.
Corresponds to the JSON property metadata
18429 18430 18431 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18429 def @metadata end |
#snippet ⇒ String
The relevant snippet of the article.
Corresponds to the JSON property snippet
18434 18435 18436 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18434 def snippet @snippet end |
#title ⇒ String
The title of the article.
Corresponds to the JSON property title
18439 18440 18441 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18439 def title @title end |
#uri ⇒ String
The URI of the article.
Corresponds to the JSON property uri
18444 18445 18446 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18444 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18451 18452 18453 18454 18455 18456 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 18451 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 |