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.



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

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

Instance Attribute Details

#keyString

Corresponds to the JSON property key

Returns:

  • (String)


15847
15848
15849
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15847

def key
  @key
end

#valueString

Corresponds to the JSON property value

Returns:

  • (String)


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

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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