Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext
- 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) ⇒ GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext
constructor
A new instance of GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext
Returns a new instance of GoogleCloudDialogflowV2beta1KnowledgeAssistAnswerSuggestedQuerySearchContext.
21560 21561 21562 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21560 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Corresponds to the JSON property key
21553 21554 21555 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21553 def key @key end |
#value ⇒ String
Corresponds to the JSON property value
21558 21559 21560 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21558 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21565 21566 21567 21568 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21565 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |