Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet
- 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
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) ⇒ GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet
constructor
A new instance of GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet
Returns a new instance of GoogleCloudDialogflowCxV3beta1DataStoreConnectionSignalsSearchSnippet.
6463 6464 6465 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6463 def initialize(**args) update!(**args) end |
Instance Attribute Details
#document_title ⇒ String
Title of the enclosing document.
Corresponds to the JSON property documentTitle
6446 6447 6448 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6446 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
6451 6452 6453 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6451 def document_uri @document_uri end |
#metadata ⇒ Hash<String,Object>
Metadata associated with the document.
Corresponds to the JSON property metadata
6456 6457 6458 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6456 def @metadata end |
#text ⇒ String
Text included in the prompt.
Corresponds to the JSON property text
6461 6462 6463 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6461 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6468 6469 6470 6471 6472 6473 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6468 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 |