@@ -212,12 +212,12 @@ def recognize(
212
212
>>> response = client.recognize(config, audio)
213
213
214
214
Args:
215
- config (Union[dict, ~google.cloud.speech_v1.types.RecognitionConfig]): * Required* Provides information to the recognizer that specifies how to
215
+ config (Union[dict, ~google.cloud.speech_v1.types.RecognitionConfig]): Required. Provides information to the recognizer that specifies how to
216
216
process the request.
217
217
218
218
If a dict is provided, it must be of the same form as the protobuf
219
219
message :class:`~google.cloud.speech_v1.types.RecognitionConfig`
220
- audio (Union[dict, ~google.cloud.speech_v1.types.RecognitionAudio]): * Required* The audio data to be recognized.
220
+ audio (Union[dict, ~google.cloud.speech_v1.types.RecognitionAudio]): Required. The audio data to be recognized.
221
221
222
222
If a dict is provided, it must be of the same form as the protobuf
223
223
message :class:`~google.cloud.speech_v1.types.RecognitionAudio`
@@ -268,7 +268,9 @@ def long_running_recognize(
268
268
Performs asynchronous speech recognition: receive results via the
269
269
google.longrunning.Operations interface. Returns either an
270
270
``Operation.error`` or an ``Operation.response`` which contains a
271
- ``LongRunningRecognizeResponse`` message.
271
+ ``LongRunningRecognizeResponse`` message. For more information on
272
+ asynchronous speech recognition, see the
273
+ `how-to <https://cloud.google.com/speech-to-text/docs/async-recognize>`__.
272
274
273
275
Example:
274
276
>>> from google.cloud import speech_v1
@@ -295,12 +297,12 @@ def long_running_recognize(
295
297
>>> metadata = response.metadata()
296
298
297
299
Args:
298
- config (Union[dict, ~google.cloud.speech_v1.types.RecognitionConfig]): * Required* Provides information to the recognizer that specifies how to
300
+ config (Union[dict, ~google.cloud.speech_v1.types.RecognitionConfig]): Required. Provides information to the recognizer that specifies how to
299
301
process the request.
300
302
301
303
If a dict is provided, it must be of the same form as the protobuf
302
304
message :class:`~google.cloud.speech_v1.types.RecognitionConfig`
303
- audio (Union[dict, ~google.cloud.speech_v1.types.RecognitionAudio]): * Required* The audio data to be recognized.
305
+ audio (Union[dict, ~google.cloud.speech_v1.types.RecognitionAudio]): Required. The audio data to be recognized.
304
306
305
307
If a dict is provided, it must be of the same form as the protobuf
306
308
message :class:`~google.cloud.speech_v1.types.RecognitionAudio`
0 commit comments