Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet
- 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) ⇒ GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet
constructor
A new instance of GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet
Returns a new instance of GoogleCloudContactcenterinsightsV1GetKnowledgeAssistResponseKnowledgeAnswerGenerativeSourceSnippet.
2483 2484 2485 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2483 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
2466 2467 2468 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2466 def document @document end |
#text ⇒ String
text taken from that URI.
Corresponds to the JSON property text
2471 2472 2473 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2471 def text @text end |
#title ⇒ String
Title of the document.
Corresponds to the JSON property title
2476 2477 2478 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2476 def title @title end |
#uri ⇒ String
URI the data is sourced from.
Corresponds to the JSON property uri
2481 2482 2483 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2481 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2488 2489 2490 2491 2492 2493 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 2488 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 |