Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3DetectIntentRequest

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

Returns a new instance of GoogleCloudDialogflowCxV3DetectIntentRequest.



1748
1749
1750
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1748

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

Instance Attribute Details

#output_audio_configGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3OutputAudioConfig

Corresponds to the JSON property outputAudioConfig



1731
1732
1733
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1731

def output_audio_config
  @output_audio_config
end

#query_inputGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryInput

Corresponds to the JSON property queryInput



1736
1737
1738
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1736

def query_input
  @query_input
end

#query_paramsGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3QueryParameters

Corresponds to the JSON property queryParams



1741
1742
1743
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1741

def query_params
  @query_params
end

#response_viewString

Corresponds to the JSON property responseView

Returns:

  • (String)


1746
1747
1748
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1746

def response_view
  @response_view
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1753
1754
1755
1756
1757
1758
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1753

def update!(**args)
  @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config)
  @query_input = args[:query_input] if args.key?(:query_input)
  @query_params = args[:query_params] if args.key?(:query_params)
  @response_view = args[:response_view] if args.key?(:response_view)
end