Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet
- 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
Snippet Source for a Generative Prediction.
Instance Attribute Summary collapse
-
#document ⇒ String
Indicates which Knowledge Document this snippet was extracted from.
-
#text ⇒ String
text taken from that URI.
-
#title ⇒ String
Title of the document.
-
#uri ⇒ String
URI the data is sourced from.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet.
6646 6647 6648 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6646 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document ⇒ String
Indicates which Knowledge Document this snippet was extracted from. Format:
projects//knowledgeBases//documents/.
Corresponds to the JSON property document
6629 6630 6631 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6629 def document @document end |
#text ⇒ String
text taken from that URI.
Corresponds to the JSON property text
6634 6635 6636 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6634 def text @text end |
#title ⇒ String
Title of the document.
Corresponds to the JSON property title
6639 6640 6641 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6639 def title @title end |
#uri ⇒ String
URI the data is sourced from.
Corresponds to the JSON property uri
6644 6645 6646 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6644 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6651 6652 6653 6654 6655 6656 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6651 def update!(**args) @document = args[:document] if args.key?(:document) @text = args[:text] if args.key?(:text) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end |