Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext
- 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
Instance Attribute Summary collapse
-
#key ⇒ String
Corresponds to the JSON property
key. -
#value ⇒ String
Corresponds to the JSON property
value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext
constructor
A new instance of GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext
Returns a new instance of GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext.
17295 17296 17297 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17295 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Corresponds to the JSON property key
17288 17289 17290 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17288 def key @key end |
#value ⇒ String
Corresponds to the JSON property value
17293 17294 17295 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17293 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17300 17301 17302 17303 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 17300 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |