Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource
- 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. -
#snippet ⇒ String
Corresponds to the JSON property
snippet. -
#title ⇒ String
Corresponds to the JSON property
title. -
#uri ⇒ String
Corresponds to the JSON property
uri.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource
constructor
A new instance of GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource
Returns a new instance of GoogleCloudDialogflowV2SearchKnowledgeAnswerAnswerSource.
14902 14903 14904 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14902 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metadata ⇒ Hash<String,Object>
Corresponds to the JSON property metadata
14885 14886 14887 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14885 def @metadata end |
#snippet ⇒ String
Corresponds to the JSON property snippet
14890 14891 14892 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14890 def snippet @snippet end |
#title ⇒ String
Corresponds to the JSON property title
14895 14896 14897 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14895 def title @title end |
#uri ⇒ String
Corresponds to the JSON property uri
14900 14901 14902 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14900 def uri @uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14907 14908 14909 14910 14911 14912 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 14907 def update!(**args) @metadata = args[:metadata] if args.key?(:metadata) @snippet = args[:snippet] if args.key?(:snippet) @title = args[:title] if args.key?(:title) @uri = args[:uri] if args.key?(:uri) end |