Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
Answer part with citation.
Instance Attribute Summary collapse
-
#supporting_indices ⇒ Array<Fixnum>
Citations for this answer part.
-
#text ⇒ String
Substring of the answer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart
constructor
A new instance of GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart
Returns a new instance of GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart.
1379 1380 1381 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1379 def initialize(**args) update!(**args) end |
Instance Attribute Details
#supporting_indices ⇒ Array<Fixnum>
Citations for this answer part. Indices of search_snippets
.
Corresponds to the JSON property supportingIndices
1372 1373 1374 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1372 def supporting_indices @supporting_indices end |
#text ⇒ String
Substring of the answer.
Corresponds to the JSON property text
1377 1378 1379 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1377 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1384 1385 1386 1387 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1384 def update!(**args) @supporting_indices = args[:supporting_indices] if args.key?(:supporting_indices) @text = args[:text] if args.key?(:text) end |