Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2FreeFormSuggestion

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) ⇒ GoogleCloudDialogflowV2FreeFormSuggestion

Returns a new instance of GoogleCloudDialogflowV2FreeFormSuggestion.



9927
9928
9929
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9927

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

Instance Attribute Details

#responseString

Corresponds to the JSON property response

Returns:

  • (String)


9925
9926
9927
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9925

def response
  @response
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9932
9933
9934
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9932

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