Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext

Returns a new instance of GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext.



13358
13359
13360
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13358

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#keyString

Corresponds to the JSON property key

Returns:

  • (String)


13351
13352
13353
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13351

def key
  @key
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


13356
13357
13358
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13356

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13363
13364
13365
13366
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 13363

def update!(**args)
  @key = args[:key] if args.key?(:key)
  @value = args[:value] if args.key?(:value)
end