|
36 | 36 | "ListParticipantsRequest", |
37 | 37 | "ListParticipantsResponse", |
38 | 38 | "UpdateParticipantRequest", |
39 | | - "InputText", |
40 | | - "InputAudio", |
41 | 39 | "OutputAudio", |
42 | 40 | "AutomatedAgentReply", |
43 | 41 | "SuggestionFeature", |
@@ -280,48 +278,6 @@ class UpdateParticipantRequest(proto.Message): |
280 | 278 | update_mask = proto.Field(proto.MESSAGE, number=2, message=field_mask.FieldMask,) |
281 | 279 |
|
282 | 280 |
|
283 | | -class InputText(proto.Message): |
284 | | - r"""Represents the natural language text to be processed. |
285 | | -
|
286 | | - Attributes: |
287 | | - text (str): |
288 | | - Required. The UTF-8 encoded natural language |
289 | | - text to be processed. Text length must not |
290 | | - exceed 256 bytes. |
291 | | - language_code (str): |
292 | | - Required. The language of this conversational query. See |
293 | | - `Language |
294 | | - Support <https://cloud.google.com/dialogflow/docs/reference/language>`__ |
295 | | - for a list of the currently supported language codes. |
296 | | - """ |
297 | | - |
298 | | - text = proto.Field(proto.STRING, number=1) |
299 | | - |
300 | | - language_code = proto.Field(proto.STRING, number=2) |
301 | | - |
302 | | - |
303 | | -class InputAudio(proto.Message): |
304 | | - r"""Represents the natural language speech audio to be processed. |
305 | | -
|
306 | | - Attributes: |
307 | | - config (google.cloud.dialogflow_v2beta1.types.InputAudioConfig): |
308 | | - Required. Instructs the speech recognizer how |
309 | | - to process the speech audio. |
310 | | - audio (bytes): |
311 | | - Required. The natural language speech audio |
312 | | - to be processed. A single request can contain up |
313 | | - to 1 minute of speech audio data. The |
314 | | - transcribed text cannot contain more than 256 |
315 | | - bytes. |
316 | | - """ |
317 | | - |
318 | | - config = proto.Field( |
319 | | - proto.MESSAGE, number=1, message=audio_config.InputAudioConfig, |
320 | | - ) |
321 | | - |
322 | | - audio = proto.Field(proto.BYTES, number=2) |
323 | | - |
324 | | - |
325 | 281 | class OutputAudio(proto.Message): |
326 | 282 | r"""Represents the natural language speech audio to be played to |
327 | 283 | the end user. |
|
0 commit comments