Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource
- 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) ⇒ GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1SearchKnowledgeAnswerAnswerSource.
7618 7619 7620 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7618 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
7601 7602 7603 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7601 def document @document end |
#snippet ⇒ String
The relevant snippet of the article.
Corresponds to the JSON property snippet
7606 7607 7608 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7606 def snippet @snippet end |
#title ⇒ String
The title of the article.
Corresponds to the JSON property title
7611 7612 7613 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7611 def title @title end |
#uri ⇒ String
The URI of the article.
Corresponds to the JSON property uri
7616 7617 7618 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7616 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7623 7624 7625 7626 7627 7628 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 7623 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 |