Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb
Overview
The sources of the answers.
Instance Attribute Summary collapse
-
#document ⇒ String
The document from which the snippet was extracted.
-
#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) ⇒ GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource
constructor
A new instance of GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource
Returns a new instance of GoogleCloudContactcenterinsightsV1SearchKnowledgeAnswerAnswerSource.
3808 3809 3810 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3808 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document ⇒ String
The document from which the snippet was extracted. Format: projects//
knowledgeBases//documents/
Corresponds to the JSON property document
3791 3792 3793 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3791 def document @document end |
#snippet ⇒ String
The relevant snippet of the article.
Corresponds to the JSON property snippet
3796 3797 3798 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3796 def snippet @snippet end |
#title ⇒ String
The title of the article.
Corresponds to the JSON property title
3801 3802 3803 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3801 def title @title end |
#uri ⇒ String
The URI of the article.
Corresponds to the JSON property uri
3806 3807 3808 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3806 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3813 3814 3815 3816 3817 3818 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 3813 def update!(**args) @document = args[:document] if args.key?(:document) @snippet = args[:snippet] if args.key?(:snippet) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end |