Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext

Returns a new instance of GoogleCloudDialogflowV2KnowledgeAssistAnswerSuggestedQuerySearchContext.



15860
15861
15862
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15860

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

Instance Attribute Details

#keyString

Corresponds to the JSON property key

Returns:

  • (String)


15853
15854
15855
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15853

def key
  @key
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


15858
15859
15860
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15858

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15865
15866
15867
15868
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15865

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