Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet
- 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
Snippet cited by the answer generation model.
Instance Attribute Summary collapse
-
#search_snippet ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet
Search snippet details.
-
#snippet_index ⇒ Fixnum
Index of the snippet in
search_snippets
field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet
constructor
A new instance of GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet
Returns a new instance of GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsCitedSnippet.
5679 5680 5681 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5679 def initialize(**args) update!(**args) end |
Instance Attribute Details
#search_snippet ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet
Search snippet details.
Corresponds to the JSON property searchSnippet
5672 5673 5674 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5672 def search_snippet @search_snippet end |
#snippet_index ⇒ Fixnum
Index of the snippet in search_snippets
field.
Corresponds to the JSON property snippetIndex
5677 5678 5679 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5677 def snippet_index @snippet_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5684 5685 5686 5687 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 5684 def update!(**args) @search_snippet = args[:search_snippet] if args.key?(:search_snippet) @snippet_index = args[:snippet_index] if args.key?(:snippet_index) end |