Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/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.
9553 9554 9555 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9553 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Corresponds to the JSON property key
9546 9547 9548 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9546 def key @key end |
#value ⇒ String
Corresponds to the JSON property value
9551 9552 9553 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9551 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9558 9559 9560 9561 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 9558 def update!(**args) @key = args[:key] if args.key?(:key) @value = args[:value] if args.key?(:value) end |