diff --git a/packages/google-cloud-python-speech/google/cloud/speech_v1/services/adaptation/async_client.py b/packages/google-cloud-python-speech/google/cloud/speech_v1/services/adaptation/async_client.py index 5edd53123f21..d4aefd4f36c0 100644 --- a/packages/google-cloud-python-speech/google/cloud/speech_v1/services/adaptation/async_client.py +++ b/packages/google-cloud-python-speech/google/cloud/speech_v1/services/adaptation/async_client.py @@ -259,8 +259,8 @@ async def sample_create_phrase_set(): Args: request (Optional[Union[google.cloud.speech_v1.types.CreatePhraseSetRequest, dict]]): - The request object. Message sent by the client for the - `CreatePhraseSet` method. + The request object. Message sent by the client for the ``CreatePhraseSet`` + method. parent (:class:`str`): Required. The parent resource where this phrase set will be created. Format: @@ -396,8 +396,8 @@ async def sample_get_phrase_set(): Args: request (Optional[Union[google.cloud.speech_v1.types.GetPhraseSetRequest, dict]]): - The request object. Message sent by the client for the - `GetPhraseSet` method. + The request object. Message sent by the client for the ``GetPhraseSet`` + method. name (:class:`str`): Required. The name of the phrase set to retrieve. Format: @@ -512,8 +512,8 @@ async def sample_list_phrase_set(): Args: request (Optional[Union[google.cloud.speech_v1.types.ListPhraseSetRequest, dict]]): - The request object. Message sent by the client for the - `ListPhraseSet` method. + The request object. Message sent by the client for the ``ListPhraseSet`` + method. parent (:class:`str`): Required. The parent, which owns this collection of phrase set. Format: @@ -638,8 +638,8 @@ async def sample_update_phrase_set(): Args: request (Optional[Union[google.cloud.speech_v1.types.UpdatePhraseSetRequest, dict]]): - The request object. Message sent by the client for the - `UpdatePhraseSet` method. + The request object. Message sent by the client for the ``UpdatePhraseSet`` + method. phrase_set (:class:`google.cloud.speech_v1.types.PhraseSet`): Required. The phrase set to update. @@ -761,8 +761,8 @@ async def sample_delete_phrase_set(): Args: request (Optional[Union[google.cloud.speech_v1.types.DeletePhraseSetRequest, dict]]): - The request object. Message sent by the client for the - `DeletePhraseSet` method. + The request object. Message sent by the client for the ``DeletePhraseSet`` + method. name (:class:`str`): Required. The name of the phrase set to delete. Format: @@ -860,8 +860,8 @@ async def sample_create_custom_class(): Args: request (Optional[Union[google.cloud.speech_v1.types.CreateCustomClassRequest, dict]]): - The request object. Message sent by the client for the - `CreateCustomClass` method. + The request object. Message sent by the client for the ``CreateCustomClass`` + method. parent (:class:`str`): Required. The parent resource where this custom class will be created. Format: @@ -1001,8 +1001,8 @@ async def sample_get_custom_class(): Args: request (Optional[Union[google.cloud.speech_v1.types.GetCustomClassRequest, dict]]): - The request object. Message sent by the client for the - `GetCustomClass` method. + The request object. Message sent by the client for the ``GetCustomClass`` + method. name (:class:`str`): Required. The name of the custom class to retrieve. Format: @@ -1113,8 +1113,8 @@ async def sample_list_custom_classes(): Args: request (Optional[Union[google.cloud.speech_v1.types.ListCustomClassesRequest, dict]]): - The request object. Message sent by the client for the - `ListCustomClasses` method. + The request object. Message sent by the client for the ``ListCustomClasses`` + method. parent (:class:`str`): Required. The parent, which owns this collection of custom classes. Format: @@ -1239,8 +1239,8 @@ async def sample_update_custom_class(): Args: request (Optional[Union[google.cloud.speech_v1.types.UpdateCustomClassRequest, dict]]): - The request object. Message sent by the client for the - `UpdateCustomClass` method. + The request object. Message sent by the client for the ``UpdateCustomClass`` + method. custom_class (:class:`google.cloud.speech_v1.types.CustomClass`): Required. The custom class to update. @@ -1366,8 +1366,8 @@ async def sample_delete_custom_class(): Args: request (Optional[Union[google.cloud.speech_v1.types.DeleteCustomClassRequest, dict]]): - The request object. Message sent by the client for the - `DeleteCustomClass` method. + The request object. Message sent by the client for the ``DeleteCustomClass`` + method. name (:class:`str`): Required. The name of the custom class to delete. Format: diff --git a/packages/google-cloud-python-speech/google/cloud/speech_v1/services/adaptation/client.py b/packages/google-cloud-python-speech/google/cloud/speech_v1/services/adaptation/client.py index f465bc0302dd..fa2e3201b158 100644 --- a/packages/google-cloud-python-speech/google/cloud/speech_v1/services/adaptation/client.py +++ b/packages/google-cloud-python-speech/google/cloud/speech_v1/services/adaptation/client.py @@ -512,8 +512,8 @@ def sample_create_phrase_set(): Args: request (Union[google.cloud.speech_v1.types.CreatePhraseSetRequest, dict]): - The request object. Message sent by the client for the - `CreatePhraseSet` method. + The request object. Message sent by the client for the ``CreatePhraseSet`` + method. parent (str): Required. The parent resource where this phrase set will be created. Format: @@ -649,8 +649,8 @@ def sample_get_phrase_set(): Args: request (Union[google.cloud.speech_v1.types.GetPhraseSetRequest, dict]): - The request object. Message sent by the client for the - `GetPhraseSet` method. + The request object. Message sent by the client for the ``GetPhraseSet`` + method. name (str): Required. The name of the phrase set to retrieve. Format: @@ -765,8 +765,8 @@ def sample_list_phrase_set(): Args: request (Union[google.cloud.speech_v1.types.ListPhraseSetRequest, dict]): - The request object. Message sent by the client for the - `ListPhraseSet` method. + The request object. Message sent by the client for the ``ListPhraseSet`` + method. parent (str): Required. The parent, which owns this collection of phrase set. Format: @@ -891,8 +891,8 @@ def sample_update_phrase_set(): Args: request (Union[google.cloud.speech_v1.types.UpdatePhraseSetRequest, dict]): - The request object. Message sent by the client for the - `UpdatePhraseSet` method. + The request object. Message sent by the client for the ``UpdatePhraseSet`` + method. phrase_set (google.cloud.speech_v1.types.PhraseSet): Required. The phrase set to update. @@ -1014,8 +1014,8 @@ def sample_delete_phrase_set(): Args: request (Union[google.cloud.speech_v1.types.DeletePhraseSetRequest, dict]): - The request object. Message sent by the client for the - `DeletePhraseSet` method. + The request object. Message sent by the client for the ``DeletePhraseSet`` + method. name (str): Required. The name of the phrase set to delete. Format: @@ -1113,8 +1113,8 @@ def sample_create_custom_class(): Args: request (Union[google.cloud.speech_v1.types.CreateCustomClassRequest, dict]): - The request object. Message sent by the client for the - `CreateCustomClass` method. + The request object. Message sent by the client for the ``CreateCustomClass`` + method. parent (str): Required. The parent resource where this custom class will be created. Format: @@ -1254,8 +1254,8 @@ def sample_get_custom_class(): Args: request (Union[google.cloud.speech_v1.types.GetCustomClassRequest, dict]): - The request object. Message sent by the client for the - `GetCustomClass` method. + The request object. Message sent by the client for the ``GetCustomClass`` + method. name (str): Required. The name of the custom class to retrieve. Format: @@ -1366,8 +1366,8 @@ def sample_list_custom_classes(): Args: request (Union[google.cloud.speech_v1.types.ListCustomClassesRequest, dict]): - The request object. Message sent by the client for the - `ListCustomClasses` method. + The request object. Message sent by the client for the ``ListCustomClasses`` + method. parent (str): Required. The parent, which owns this collection of custom classes. Format: @@ -1492,8 +1492,8 @@ def sample_update_custom_class(): Args: request (Union[google.cloud.speech_v1.types.UpdateCustomClassRequest, dict]): - The request object. Message sent by the client for the - `UpdateCustomClass` method. + The request object. Message sent by the client for the ``UpdateCustomClass`` + method. custom_class (google.cloud.speech_v1.types.CustomClass): Required. The custom class to update. @@ -1619,8 +1619,8 @@ def sample_delete_custom_class(): Args: request (Union[google.cloud.speech_v1.types.DeleteCustomClassRequest, dict]): - The request object. Message sent by the client for the - `DeleteCustomClass` method. + The request object. Message sent by the client for the ``DeleteCustomClass`` + method. name (str): Required. The name of the custom class to delete. Format: diff --git a/packages/google-cloud-python-speech/google/cloud/speech_v1/services/adaptation/transports/rest.py b/packages/google-cloud-python-speech/google/cloud/speech_v1/services/adaptation/transports/rest.py index c7139ebd3ffa..804436f5a8e5 100644 --- a/packages/google-cloud-python-speech/google/cloud/speech_v1/services/adaptation/transports/rest.py +++ b/packages/google-cloud-python-speech/google/cloud/speech_v1/services/adaptation/transports/rest.py @@ -540,7 +540,6 @@ def __call__( request (~.cloud_speech_adaptation.CreateCustomClassRequest): The request object. Message sent by the client for the ``CreateCustomClass`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -646,7 +645,6 @@ def __call__( request (~.cloud_speech_adaptation.CreatePhraseSetRequest): The request object. Message sent by the client for the ``CreatePhraseSet`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -748,7 +746,6 @@ def __call__( request (~.cloud_speech_adaptation.DeleteCustomClassRequest): The request object. Message sent by the client for the ``DeleteCustomClass`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -826,7 +823,6 @@ def __call__( request (~.cloud_speech_adaptation.DeletePhraseSetRequest): The request object. Message sent by the client for the ``DeletePhraseSet`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -904,7 +900,6 @@ def __call__( request (~.cloud_speech_adaptation.GetCustomClassRequest): The request object. Message sent by the client for the ``GetCustomClass`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1001,7 +996,6 @@ def __call__( request (~.cloud_speech_adaptation.GetPhraseSetRequest): The request object. Message sent by the client for the ``GetPhraseSet`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1092,7 +1086,6 @@ def __call__( request (~.cloud_speech_adaptation.ListCustomClassesRequest): The request object. Message sent by the client for the ``ListCustomClasses`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1184,7 +1177,6 @@ def __call__( request (~.cloud_speech_adaptation.ListPhraseSetRequest): The request object. Message sent by the client for the ``ListPhraseSet`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1274,7 +1266,6 @@ def __call__( request (~.cloud_speech_adaptation.UpdateCustomClassRequest): The request object. Message sent by the client for the ``UpdateCustomClass`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1380,7 +1371,6 @@ def __call__( request (~.cloud_speech_adaptation.UpdatePhraseSetRequest): The request object. Message sent by the client for the ``UpdatePhraseSet`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/packages/google-cloud-python-speech/google/cloud/speech_v1/services/speech/async_client.py b/packages/google-cloud-python-speech/google/cloud/speech_v1/services/speech/async_client.py index ba3abcdcab8a..4987767c2956 100644 --- a/packages/google-cloud-python-speech/google/cloud/speech_v1/services/speech/async_client.py +++ b/packages/google-cloud-python-speech/google/cloud/speech_v1/services/speech/async_client.py @@ -260,8 +260,8 @@ async def sample_recognize(): Args: request (Optional[Union[google.cloud.speech_v1.types.RecognizeRequest, dict]]): - The request object. The top-level message sent by the - client for the `Recognize` method. + The request object. The top-level message sent by the client for the + ``Recognize`` method. config (:class:`google.cloud.speech_v1.types.RecognitionConfig`): Required. Provides information to the recognizer that specifies how to process @@ -394,8 +394,8 @@ async def sample_long_running_recognize(): Args: request (Optional[Union[google.cloud.speech_v1.types.LongRunningRecognizeRequest, dict]]): - The request object. The top-level message sent by the - client for the `LongRunningRecognize` method. + The request object. The top-level message sent by the client for the + ``LongRunningRecognize`` method. config (:class:`google.cloud.speech_v1.types.RecognitionConfig`): Required. Provides information to the recognizer that specifies how to process @@ -531,13 +531,13 @@ def request_generator(): Args: requests (AsyncIterator[`google.cloud.speech_v1.types.StreamingRecognizeRequest`]): - The request object AsyncIterator. The top-level message sent by the - client for the `StreamingRecognize` method. Multiple - `StreamingRecognizeRequest` messages are sent. The first - message must contain a `streaming_config` message and - must not contain `audio_content`. All subsequent - messages must contain `audio_content` and must not - contain a `streaming_config` message. + The request object AsyncIterator. The top-level message sent by the client for the + ``StreamingRecognize`` method. Multiple + ``StreamingRecognizeRequest`` messages are sent. The + first message must contain a ``streaming_config`` + message and must not contain ``audio_content``. All + subsequent messages must contain ``audio_content`` and + must not contain a ``streaming_config`` message. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/packages/google-cloud-python-speech/google/cloud/speech_v1/services/speech/client.py b/packages/google-cloud-python-speech/google/cloud/speech_v1/services/speech/client.py index 8870959eb8a8..3c1d45d76ba4 100644 --- a/packages/google-cloud-python-speech/google/cloud/speech_v1/services/speech/client.py +++ b/packages/google-cloud-python-speech/google/cloud/speech_v1/services/speech/client.py @@ -516,8 +516,8 @@ def sample_recognize(): Args: request (Union[google.cloud.speech_v1.types.RecognizeRequest, dict]): - The request object. The top-level message sent by the - client for the `Recognize` method. + The request object. The top-level message sent by the client for the + ``Recognize`` method. config (google.cloud.speech_v1.types.RecognitionConfig): Required. Provides information to the recognizer that specifies how to process @@ -640,8 +640,8 @@ def sample_long_running_recognize(): Args: request (Union[google.cloud.speech_v1.types.LongRunningRecognizeRequest, dict]): - The request object. The top-level message sent by the - client for the `LongRunningRecognize` method. + The request object. The top-level message sent by the client for the + ``LongRunningRecognize`` method. config (google.cloud.speech_v1.types.RecognitionConfig): Required. Provides information to the recognizer that specifies how to process @@ -775,13 +775,13 @@ def request_generator(): Args: requests (Iterator[google.cloud.speech_v1.types.StreamingRecognizeRequest]): - The request object iterator. The top-level message sent by the - client for the `StreamingRecognize` method. Multiple - `StreamingRecognizeRequest` messages are sent. The first - message must contain a `streaming_config` message and - must not contain `audio_content`. All subsequent - messages must contain `audio_content` and must not - contain a `streaming_config` message. + The request object iterator. The top-level message sent by the client for the + ``StreamingRecognize`` method. Multiple + ``StreamingRecognizeRequest`` messages are sent. The + first message must contain a ``streaming_config`` + message and must not contain ``audio_content``. All + subsequent messages must contain ``audio_content`` and + must not contain a ``streaming_config`` message. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/packages/google-cloud-python-speech/google/cloud/speech_v1/services/speech/transports/rest.py b/packages/google-cloud-python-speech/google/cloud/speech_v1/services/speech/transports/rest.py index 39a179efa308..5d5ce58808da 100644 --- a/packages/google-cloud-python-speech/google/cloud/speech_v1/services/speech/transports/rest.py +++ b/packages/google-cloud-python-speech/google/cloud/speech_v1/services/speech/transports/rest.py @@ -349,7 +349,6 @@ def __call__( request (~.cloud_speech.LongRunningRecognizeRequest): The request object. The top-level message sent by the client for the ``LongRunningRecognize`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -449,7 +448,6 @@ def __call__( request (~.cloud_speech.RecognizeRequest): The request object. The top-level message sent by the client for the ``Recognize`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/adaptation/async_client.py b/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/adaptation/async_client.py index c77ef387dff2..7bc60ad268e8 100644 --- a/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/adaptation/async_client.py +++ b/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/adaptation/async_client.py @@ -259,8 +259,8 @@ async def sample_create_phrase_set(): Args: request (Optional[Union[google.cloud.speech_v1p1beta1.types.CreatePhraseSetRequest, dict]]): - The request object. Message sent by the client for the - `CreatePhraseSet` method. + The request object. Message sent by the client for the ``CreatePhraseSet`` + method. parent (:class:`str`): Required. The parent resource where this phrase set will be created. Format: @@ -396,8 +396,8 @@ async def sample_get_phrase_set(): Args: request (Optional[Union[google.cloud.speech_v1p1beta1.types.GetPhraseSetRequest, dict]]): - The request object. Message sent by the client for the - `GetPhraseSet` method. + The request object. Message sent by the client for the ``GetPhraseSet`` + method. name (:class:`str`): Required. The name of the phrase set to retrieve. Format: @@ -512,8 +512,8 @@ async def sample_list_phrase_set(): Args: request (Optional[Union[google.cloud.speech_v1p1beta1.types.ListPhraseSetRequest, dict]]): - The request object. Message sent by the client for the - `ListPhraseSet` method. + The request object. Message sent by the client for the ``ListPhraseSet`` + method. parent (:class:`str`): Required. The parent, which owns this collection of phrase set. Format: @@ -638,8 +638,8 @@ async def sample_update_phrase_set(): Args: request (Optional[Union[google.cloud.speech_v1p1beta1.types.UpdatePhraseSetRequest, dict]]): - The request object. Message sent by the client for the - `UpdatePhraseSet` method. + The request object. Message sent by the client for the ``UpdatePhraseSet`` + method. phrase_set (:class:`google.cloud.speech_v1p1beta1.types.PhraseSet`): Required. The phrase set to update. @@ -761,8 +761,8 @@ async def sample_delete_phrase_set(): Args: request (Optional[Union[google.cloud.speech_v1p1beta1.types.DeletePhraseSetRequest, dict]]): - The request object. Message sent by the client for the - `DeletePhraseSet` method. + The request object. Message sent by the client for the ``DeletePhraseSet`` + method. name (:class:`str`): Required. The name of the phrase set to delete. Format: @@ -860,8 +860,8 @@ async def sample_create_custom_class(): Args: request (Optional[Union[google.cloud.speech_v1p1beta1.types.CreateCustomClassRequest, dict]]): - The request object. Message sent by the client for the - `CreateCustomClass` method. + The request object. Message sent by the client for the ``CreateCustomClass`` + method. parent (:class:`str`): Required. The parent resource where this custom class will be created. Format: @@ -1001,8 +1001,8 @@ async def sample_get_custom_class(): Args: request (Optional[Union[google.cloud.speech_v1p1beta1.types.GetCustomClassRequest, dict]]): - The request object. Message sent by the client for the - `GetCustomClass` method. + The request object. Message sent by the client for the ``GetCustomClass`` + method. name (:class:`str`): Required. The name of the custom class to retrieve. Format: @@ -1113,8 +1113,8 @@ async def sample_list_custom_classes(): Args: request (Optional[Union[google.cloud.speech_v1p1beta1.types.ListCustomClassesRequest, dict]]): - The request object. Message sent by the client for the - `ListCustomClasses` method. + The request object. Message sent by the client for the ``ListCustomClasses`` + method. parent (:class:`str`): Required. The parent, which owns this collection of custom classes. Format: @@ -1239,8 +1239,8 @@ async def sample_update_custom_class(): Args: request (Optional[Union[google.cloud.speech_v1p1beta1.types.UpdateCustomClassRequest, dict]]): - The request object. Message sent by the client for the - `UpdateCustomClass` method. + The request object. Message sent by the client for the ``UpdateCustomClass`` + method. custom_class (:class:`google.cloud.speech_v1p1beta1.types.CustomClass`): Required. The custom class to update. @@ -1366,8 +1366,8 @@ async def sample_delete_custom_class(): Args: request (Optional[Union[google.cloud.speech_v1p1beta1.types.DeleteCustomClassRequest, dict]]): - The request object. Message sent by the client for the - `DeleteCustomClass` method. + The request object. Message sent by the client for the ``DeleteCustomClass`` + method. name (:class:`str`): Required. The name of the custom class to delete. Format: diff --git a/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/adaptation/client.py b/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/adaptation/client.py index 195527880665..f689aaaf56b2 100644 --- a/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/adaptation/client.py +++ b/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/adaptation/client.py @@ -512,8 +512,8 @@ def sample_create_phrase_set(): Args: request (Union[google.cloud.speech_v1p1beta1.types.CreatePhraseSetRequest, dict]): - The request object. Message sent by the client for the - `CreatePhraseSet` method. + The request object. Message sent by the client for the ``CreatePhraseSet`` + method. parent (str): Required. The parent resource where this phrase set will be created. Format: @@ -649,8 +649,8 @@ def sample_get_phrase_set(): Args: request (Union[google.cloud.speech_v1p1beta1.types.GetPhraseSetRequest, dict]): - The request object. Message sent by the client for the - `GetPhraseSet` method. + The request object. Message sent by the client for the ``GetPhraseSet`` + method. name (str): Required. The name of the phrase set to retrieve. Format: @@ -765,8 +765,8 @@ def sample_list_phrase_set(): Args: request (Union[google.cloud.speech_v1p1beta1.types.ListPhraseSetRequest, dict]): - The request object. Message sent by the client for the - `ListPhraseSet` method. + The request object. Message sent by the client for the ``ListPhraseSet`` + method. parent (str): Required. The parent, which owns this collection of phrase set. Format: @@ -891,8 +891,8 @@ def sample_update_phrase_set(): Args: request (Union[google.cloud.speech_v1p1beta1.types.UpdatePhraseSetRequest, dict]): - The request object. Message sent by the client for the - `UpdatePhraseSet` method. + The request object. Message sent by the client for the ``UpdatePhraseSet`` + method. phrase_set (google.cloud.speech_v1p1beta1.types.PhraseSet): Required. The phrase set to update. @@ -1014,8 +1014,8 @@ def sample_delete_phrase_set(): Args: request (Union[google.cloud.speech_v1p1beta1.types.DeletePhraseSetRequest, dict]): - The request object. Message sent by the client for the - `DeletePhraseSet` method. + The request object. Message sent by the client for the ``DeletePhraseSet`` + method. name (str): Required. The name of the phrase set to delete. Format: @@ -1113,8 +1113,8 @@ def sample_create_custom_class(): Args: request (Union[google.cloud.speech_v1p1beta1.types.CreateCustomClassRequest, dict]): - The request object. Message sent by the client for the - `CreateCustomClass` method. + The request object. Message sent by the client for the ``CreateCustomClass`` + method. parent (str): Required. The parent resource where this custom class will be created. Format: @@ -1254,8 +1254,8 @@ def sample_get_custom_class(): Args: request (Union[google.cloud.speech_v1p1beta1.types.GetCustomClassRequest, dict]): - The request object. Message sent by the client for the - `GetCustomClass` method. + The request object. Message sent by the client for the ``GetCustomClass`` + method. name (str): Required. The name of the custom class to retrieve. Format: @@ -1366,8 +1366,8 @@ def sample_list_custom_classes(): Args: request (Union[google.cloud.speech_v1p1beta1.types.ListCustomClassesRequest, dict]): - The request object. Message sent by the client for the - `ListCustomClasses` method. + The request object. Message sent by the client for the ``ListCustomClasses`` + method. parent (str): Required. The parent, which owns this collection of custom classes. Format: @@ -1492,8 +1492,8 @@ def sample_update_custom_class(): Args: request (Union[google.cloud.speech_v1p1beta1.types.UpdateCustomClassRequest, dict]): - The request object. Message sent by the client for the - `UpdateCustomClass` method. + The request object. Message sent by the client for the ``UpdateCustomClass`` + method. custom_class (google.cloud.speech_v1p1beta1.types.CustomClass): Required. The custom class to update. @@ -1619,8 +1619,8 @@ def sample_delete_custom_class(): Args: request (Union[google.cloud.speech_v1p1beta1.types.DeleteCustomClassRequest, dict]): - The request object. Message sent by the client for the - `DeleteCustomClass` method. + The request object. Message sent by the client for the ``DeleteCustomClass`` + method. name (str): Required. The name of the custom class to delete. Format: diff --git a/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/adaptation/transports/rest.py b/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/adaptation/transports/rest.py index d14f957f1346..e8db8834dfe0 100644 --- a/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/adaptation/transports/rest.py +++ b/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/adaptation/transports/rest.py @@ -540,7 +540,6 @@ def __call__( request (~.cloud_speech_adaptation.CreateCustomClassRequest): The request object. Message sent by the client for the ``CreateCustomClass`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -646,7 +645,6 @@ def __call__( request (~.cloud_speech_adaptation.CreatePhraseSetRequest): The request object. Message sent by the client for the ``CreatePhraseSet`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -748,7 +746,6 @@ def __call__( request (~.cloud_speech_adaptation.DeleteCustomClassRequest): The request object. Message sent by the client for the ``DeleteCustomClass`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -826,7 +823,6 @@ def __call__( request (~.cloud_speech_adaptation.DeletePhraseSetRequest): The request object. Message sent by the client for the ``DeletePhraseSet`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -904,7 +900,6 @@ def __call__( request (~.cloud_speech_adaptation.GetCustomClassRequest): The request object. Message sent by the client for the ``GetCustomClass`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1001,7 +996,6 @@ def __call__( request (~.cloud_speech_adaptation.GetPhraseSetRequest): The request object. Message sent by the client for the ``GetPhraseSet`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1092,7 +1086,6 @@ def __call__( request (~.cloud_speech_adaptation.ListCustomClassesRequest): The request object. Message sent by the client for the ``ListCustomClasses`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1184,7 +1177,6 @@ def __call__( request (~.cloud_speech_adaptation.ListPhraseSetRequest): The request object. Message sent by the client for the ``ListPhraseSet`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1274,7 +1266,6 @@ def __call__( request (~.cloud_speech_adaptation.UpdateCustomClassRequest): The request object. Message sent by the client for the ``UpdateCustomClass`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1380,7 +1371,6 @@ def __call__( request (~.cloud_speech_adaptation.UpdatePhraseSetRequest): The request object. Message sent by the client for the ``UpdatePhraseSet`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/speech/async_client.py b/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/speech/async_client.py index f4db3b5af1e6..eb3b3243ad3d 100644 --- a/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/speech/async_client.py +++ b/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/speech/async_client.py @@ -260,8 +260,8 @@ async def sample_recognize(): Args: request (Optional[Union[google.cloud.speech_v1p1beta1.types.RecognizeRequest, dict]]): - The request object. The top-level message sent by the - client for the `Recognize` method. + The request object. The top-level message sent by the client for the + ``Recognize`` method. config (:class:`google.cloud.speech_v1p1beta1.types.RecognitionConfig`): Required. Provides information to the recognizer that specifies how to process @@ -394,8 +394,8 @@ async def sample_long_running_recognize(): Args: request (Optional[Union[google.cloud.speech_v1p1beta1.types.LongRunningRecognizeRequest, dict]]): - The request object. The top-level message sent by the - client for the `LongRunningRecognize` method. + The request object. The top-level message sent by the client for the + ``LongRunningRecognize`` method. config (:class:`google.cloud.speech_v1p1beta1.types.RecognitionConfig`): Required. Provides information to the recognizer that specifies how to process @@ -531,13 +531,13 @@ def request_generator(): Args: requests (AsyncIterator[`google.cloud.speech_v1p1beta1.types.StreamingRecognizeRequest`]): - The request object AsyncIterator. The top-level message sent by the - client for the `StreamingRecognize` method. Multiple - `StreamingRecognizeRequest` messages are sent. The first - message must contain a `streaming_config` message and - must not contain `audio_content`. All subsequent - messages must contain `audio_content` and must not - contain a `streaming_config` message. + The request object AsyncIterator. The top-level message sent by the client for the + ``StreamingRecognize`` method. Multiple + ``StreamingRecognizeRequest`` messages are sent. The + first message must contain a ``streaming_config`` + message and must not contain ``audio_content``. All + subsequent messages must contain ``audio_content`` and + must not contain a ``streaming_config`` message. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/speech/client.py b/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/speech/client.py index c8cf6f10faab..ffe8be8de89c 100644 --- a/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/speech/client.py +++ b/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/speech/client.py @@ -516,8 +516,8 @@ def sample_recognize(): Args: request (Union[google.cloud.speech_v1p1beta1.types.RecognizeRequest, dict]): - The request object. The top-level message sent by the - client for the `Recognize` method. + The request object. The top-level message sent by the client for the + ``Recognize`` method. config (google.cloud.speech_v1p1beta1.types.RecognitionConfig): Required. Provides information to the recognizer that specifies how to process @@ -640,8 +640,8 @@ def sample_long_running_recognize(): Args: request (Union[google.cloud.speech_v1p1beta1.types.LongRunningRecognizeRequest, dict]): - The request object. The top-level message sent by the - client for the `LongRunningRecognize` method. + The request object. The top-level message sent by the client for the + ``LongRunningRecognize`` method. config (google.cloud.speech_v1p1beta1.types.RecognitionConfig): Required. Provides information to the recognizer that specifies how to process @@ -775,13 +775,13 @@ def request_generator(): Args: requests (Iterator[google.cloud.speech_v1p1beta1.types.StreamingRecognizeRequest]): - The request object iterator. The top-level message sent by the - client for the `StreamingRecognize` method. Multiple - `StreamingRecognizeRequest` messages are sent. The first - message must contain a `streaming_config` message and - must not contain `audio_content`. All subsequent - messages must contain `audio_content` and must not - contain a `streaming_config` message. + The request object iterator. The top-level message sent by the client for the + ``StreamingRecognize`` method. Multiple + ``StreamingRecognizeRequest`` messages are sent. The + first message must contain a ``streaming_config`` + message and must not contain ``audio_content``. All + subsequent messages must contain ``audio_content`` and + must not contain a ``streaming_config`` message. retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/speech/transports/rest.py b/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/speech/transports/rest.py index 0982ed2864d2..534b229110e5 100644 --- a/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/speech/transports/rest.py +++ b/packages/google-cloud-python-speech/google/cloud/speech_v1p1beta1/services/speech/transports/rest.py @@ -349,7 +349,6 @@ def __call__( request (~.cloud_speech.LongRunningRecognizeRequest): The request object. The top-level message sent by the client for the ``LongRunningRecognize`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -449,7 +448,6 @@ def __call__( request (~.cloud_speech.RecognizeRequest): The request object. The top-level message sent by the client for the ``Recognize`` method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. diff --git a/packages/google-cloud-python-speech/google/cloud/speech_v2/services/speech/async_client.py b/packages/google-cloud-python-speech/google/cloud/speech_v2/services/speech/async_client.py index dc0324725a36..0d758221b05d 100644 --- a/packages/google-cloud-python-speech/google/cloud/speech_v2/services/speech/async_client.py +++ b/packages/google-cloud-python-speech/google/cloud/speech_v2/services/speech/async_client.py @@ -1021,11 +1021,11 @@ async def sample_recognize(): request (Optional[Union[google.cloud.speech_v2.types.RecognizeRequest, dict]]): The request object. Request message for the [Recognize][google.cloud.speech.v2.Speech.Recognize] - method. Either `content` or `uri` must be supplied. + method. Either ``content`` or ``uri`` must be supplied. Supplying both or neither returns [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. - See [content - limits](https://cloud.google.com/speech-to-text/quotas#content). + See `content + limits `__. recognizer (:class:`str`): Required. The name of the Recognizer to use during recognition. The expected format is diff --git a/packages/google-cloud-python-speech/google/cloud/speech_v2/services/speech/client.py b/packages/google-cloud-python-speech/google/cloud/speech_v2/services/speech/client.py index c2984227c6be..28e9435f7028 100644 --- a/packages/google-cloud-python-speech/google/cloud/speech_v2/services/speech/client.py +++ b/packages/google-cloud-python-speech/google/cloud/speech_v2/services/speech/client.py @@ -1360,11 +1360,11 @@ def sample_recognize(): request (Union[google.cloud.speech_v2.types.RecognizeRequest, dict]): The request object. Request message for the [Recognize][google.cloud.speech.v2.Speech.Recognize] - method. Either `content` or `uri` must be supplied. + method. Either ``content`` or ``uri`` must be supplied. Supplying both or neither returns [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. - See [content - limits](https://cloud.google.com/speech-to-text/quotas#content). + See `content + limits `__. recognizer (str): Required. The name of the Recognizer to use during recognition. The expected format is diff --git a/packages/google-cloud-python-speech/google/cloud/speech_v2/services/speech/transports/rest.py b/packages/google-cloud-python-speech/google/cloud/speech_v2/services/speech/transports/rest.py index 6974732a6333..0216539a0d7d 100644 --- a/packages/google-cloud-python-speech/google/cloud/speech_v2/services/speech/transports/rest.py +++ b/packages/google-cloud-python-speech/google/cloud/speech_v2/services/speech/transports/rest.py @@ -1068,7 +1068,6 @@ def __call__( The request object. Request message for the [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1167,7 +1166,6 @@ def __call__( The request object. Request message for the [CreateCustomClass][google.cloud.speech.v2.Speech.CreateCustomClass] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1268,7 +1266,6 @@ def __call__( The request object. Request message for the [CreatePhraseSet][google.cloud.speech.v2.Speech.CreatePhraseSet] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1369,7 +1366,6 @@ def __call__( The request object. Request message for the [CreateRecognizer][google.cloud.speech.v2.Speech.CreateRecognizer] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1470,7 +1466,6 @@ def __call__( The request object. Request message for the [DeleteCustomClass][google.cloud.speech.v2.Speech.DeleteCustomClass] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1562,7 +1557,6 @@ def __call__( The request object. Request message for the [DeletePhraseSet][google.cloud.speech.v2.Speech.DeletePhraseSet] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1654,7 +1648,6 @@ def __call__( The request object. Request message for the [DeleteRecognizer][google.cloud.speech.v2.Speech.DeleteRecognizer] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1746,7 +1739,6 @@ def __call__( The request object. Request message for the [GetConfig][google.cloud.speech.v2.Speech.GetConfig] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1839,7 +1831,6 @@ def __call__( The request object. Request message for the [GetCustomClass][google.cloud.speech.v2.Speech.GetCustomClass] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -1936,7 +1927,6 @@ def __call__( The request object. Request message for the [GetPhraseSet][google.cloud.speech.v2.Speech.GetPhraseSet] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2030,7 +2020,6 @@ def __call__( The request object. Request message for the [GetRecognizer][google.cloud.speech.v2.Speech.GetRecognizer] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2121,7 +2110,6 @@ def __call__( The request object. Request message for the [ListCustomClasses][google.cloud.speech.v2.Speech.ListCustomClasses] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2215,7 +2203,6 @@ def __call__( The request object. Request message for the [ListPhraseSets][google.cloud.speech.v2.Speech.ListPhraseSets] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2309,7 +2296,6 @@ def __call__( The request object. Request message for the [ListRecognizers][google.cloud.speech.v2.Speech.ListRecognizers] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2407,7 +2393,6 @@ def __call__( [INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. See `content limits `__. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2524,7 +2509,6 @@ def __call__( The request object. Request message for the [UndeleteCustomClass][google.cloud.speech.v2.Speech.UndeleteCustomClass] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2625,7 +2609,6 @@ def __call__( The request object. Request message for the [UndeletePhraseSet][google.cloud.speech.v2.Speech.UndeletePhraseSet] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2726,7 +2709,6 @@ def __call__( The request object. Request message for the [UndeleteRecognizer][google.cloud.speech.v2.Speech.UndeleteRecognizer] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2827,7 +2809,6 @@ def __call__( The request object. Request message for the [UpdateConfig][google.cloud.speech.v2.Speech.UpdateConfig] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -2929,7 +2910,6 @@ def __call__( The request object. Request message for the [UpdateCustomClass][google.cloud.speech.v2.Speech.UpdateCustomClass] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -3030,7 +3010,6 @@ def __call__( The request object. Request message for the [UpdatePhraseSet][google.cloud.speech.v2.Speech.UpdatePhraseSet] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request. @@ -3131,7 +3110,6 @@ def __call__( The request object. Request message for the [UpdateRecognizer][google.cloud.speech.v2.Speech.UpdateRecognizer] method. - retry (google.api_core.retry.Retry): Designation of what errors, if any, should be retried. timeout (float): The timeout for this request.