Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet
- 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
Search snippet details.
Instance Attribute Summary collapse
-
#document_title ⇒ String
Title of the enclosing document.
-
#document_uri ⇒ String
Uri for the document.
-
#metadata ⇒ Hash<String,Object>
Metadata associated with the document.
-
#text ⇒ String
Text included in the prompt.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet
constructor
A new instance of GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet
Returns a new instance of GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet.
1766 1767 1768 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1766 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_title ⇒ String
Title of the enclosing document.
Corresponds to the JSON property documentTitle
1749 1750 1751 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1749 def document_title @document_title end |
#document_uri ⇒ String
Uri for the document. Present if specified for the document.
Corresponds to the JSON property documentUri
1754 1755 1756 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1754 def document_uri @document_uri end |
#metadata ⇒ Hash<String,Object>
Metadata associated with the document.
Corresponds to the JSON property metadata
1759 1760 1761 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1759 def @metadata end |
#text ⇒ String
Text included in the prompt.
Corresponds to the JSON property text
1764 1765 1766 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1764 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1771 1772 1773 1774 1775 1776 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1771 def update!(**args) @document_title = args[:document_title] if args.key?(:document_title) @document_uri = args[:document_uri] if args.key?(:document_uri) @metadata = args[:metadata] if args.key?(:metadata) @text = args[:text] if args.key?(:text) end |