Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
- 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
Instance Attribute Summary collapse
-
#metadata ⇒ Hash<String,Object>
Corresponds to the JSON property
metadata. -
#text ⇒ String
Corresponds to the JSON property
text. -
#title ⇒ String
Corresponds to the JSON property
title. -
#uri ⇒ String
Corresponds to the JSON property
uri.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
constructor
A new instance of GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
Returns a new instance of GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet.
20140 20141 20142 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Hash<String,Object>
Corresponds to the JSON property metadata
20123 20124 20125 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20123 def @metadata end |
#text ⇒ String
Corresponds to the JSON property text
20128 20129 20130 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20128 def text @text end |
#title ⇒ String
Corresponds to the JSON property title
20133 20134 20135 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20133 def title @title end |
#uri ⇒ String
Corresponds to the JSON property uri
20138 20139 20140 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20138 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20145 20146 20147 20148 20149 20150 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 20145 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @text = args[:text] if args.key?(:text) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end |