Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet
- 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
Snippet cited by the answer generation model.
Instance Attribute Summary collapse
-
#search_snippet ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet
Search snippet details.
-
#snippet_index ⇒ Fixnum
Index of the snippet in
search_snippets
field.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet
constructor
A new instance of GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet
Returns a new instance of GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet.
1513 1514 1515 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1513 def initialize(**args) update!(**args) end |
Instance Attribute Details
#search_snippet ⇒ Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet
Search snippet details.
Corresponds to the JSON property searchSnippet
1506 1507 1508 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1506 def search_snippet @search_snippet end |
#snippet_index ⇒ Fixnum
Index of the snippet in search_snippets
field.
Corresponds to the JSON property snippetIndex
1511 1512 1513 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1511 def snippet_index @snippet_index end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1518 1519 1520 1521 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1518 def update!(**args) @search_snippet = args[:search_snippet] if args.key?(:search_snippet) @snippet_index = args[:snippet_index] if args.key?(:snippet_index) end |