Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentRequest
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2DetectIntentRequest
- 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
-
#input_audio ⇒ String
Corresponds to the JSON property
inputAudioNOTE: Values are automatically base64 encoded/decoded in the client library. -
#output_audio_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig
Corresponds to the JSON property
outputAudioConfig. -
#output_audio_config_mask ⇒ String
Corresponds to the JSON property
outputAudioConfigMask. -
#query_input ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryInput
Corresponds to the JSON property
queryInput. -
#query_params ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryParameters
Corresponds to the JSON property
queryParams.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2DetectIntentRequest
constructor
A new instance of GoogleCloudDialogflowV2DetectIntentRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2DetectIntentRequest
Returns a new instance of GoogleCloudDialogflowV2DetectIntentRequest.
9147 9148 9149 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9147 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input_audio ⇒ String
Corresponds to the JSON property inputAudio
NOTE: Values are automatically base64 encoded/decoded in the client library.
9125 9126 9127 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9125 def input_audio @input_audio end |
#output_audio_config ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2OutputAudioConfig
Corresponds to the JSON property outputAudioConfig
9130 9131 9132 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9130 def output_audio_config @output_audio_config end |
#output_audio_config_mask ⇒ String
Corresponds to the JSON property outputAudioConfigMask
9135 9136 9137 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9135 def output_audio_config_mask @output_audio_config_mask end |
#query_input ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryInput
Corresponds to the JSON property queryInput
9140 9141 9142 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9140 def query_input @query_input end |
#query_params ⇒ Google::Apis::DialogflowV2::GoogleCloudDialogflowV2QueryParameters
Corresponds to the JSON property queryParams
9145 9146 9147 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9145 def query_params @query_params end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9152 9153 9154 9155 9156 9157 9158 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9152 def update!(**args) @input_audio = args[:input_audio] if args.key?(:input_audio) @output_audio_config = args[:output_audio_config] if args.key?(:output_audio_config) @output_audio_config_mask = args[:output_audio_config_mask] if args.key?(:output_audio_config_mask) @query_input = args[:query_input] if args.key?(:query_input) @query_params = args[:query_params] if args.key?(:query_params) end |