Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
- 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) ⇒ GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
constructor
A new instance of GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet
Returns a new instance of GoogleCloudDialogflowV2KnowledgeAssistAnswerKnowledgeAnswerGenerativeSourceSnippet.
15783 15784 15785 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15783 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Hash<String,Object>
Corresponds to the JSON property metadata
15766 15767 15768 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15766 def @metadata end |
#text ⇒ String
Corresponds to the JSON property text
15771 15772 15773 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15771 def text @text end |
#title ⇒ String
Corresponds to the JSON property title
15776 15777 15778 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15776 def title @title end |
#uri ⇒ String
Corresponds to the JSON property uri
15781 15782 15783 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15781 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15788 15789 15790 15791 15792 15793 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15788 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 |