Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/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) ⇒ GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart
constructor
A new instance of GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart
Returns a new instance of GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsAnswerPart.
5720 5721 5722 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5720 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
5713 5714 5715 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5713 def supporting_indices @supporting_indices end |
#text ⇒ String
Substring of the answer.
Corresponds to the JSON property text
5718 5719 5720 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5718 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5725 5726 5727 5728 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5725 def update!(**args) @supporting_indices = args[:supporting_indices] if args.key?(:supporting_indices) @text = args[:text] if args.key?(:text) end |