Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/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.
20903 20904 20905 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20903 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Hash<String,Object>
Corresponds to the JSON property metadata
20886 20887 20888 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20886 def @metadata end |
#text ⇒ String
Corresponds to the JSON property text
20891 20892 20893 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20891 def text @text end |
#title ⇒ String
Corresponds to the JSON property title
20896 20897 20898 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20896 def title @title end |
#uri ⇒ String
Corresponds to the JSON property uri
20901 20902 20903 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20901 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20908 20909 20910 20911 20912 20913 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20908 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 |