Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-google-cloud-speech for 
openSUSE:Factory checked in at 2023-07-18 22:08:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-cloud-speech (Old)
 and      /work/SRC/openSUSE:Factory/.python-google-cloud-speech.new.3193 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-google-cloud-speech"

Tue Jul 18 22:08:55 2023 rev:13 rq:1099262 version:2.21.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-google-cloud-speech/python-google-cloud-speech.changes
    2023-06-27 23:18:17.267964026 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-google-cloud-speech.new.3193/python-google-cloud-speech.changes
  2023-07-18 22:09:25.103423049 +0200
@@ -1,0 +2,9 @@
+Tue Jul 18 10:13:11 UTC 2023 - John Paul Adrian Glaubitz 
<adrian.glaub...@suse.com>
+
+- Update to 2.21.0
+  * Add `model` and `language_codes` fields in `RecognitionConfig`
+    message + enable default `_` recognizer (#524)
+- from version 2.20.1
+  * Add async context manager return types (#522)
+
+-------------------------------------------------------------------

Old:
----
  google-cloud-speech-2.20.0.tar.gz

New:
----
  google-cloud-speech-2.21.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-google-cloud-speech.spec ++++++
--- /var/tmp/diff_new_pack.Nnuzh2/_old  2023-07-18 22:09:25.751426672 +0200
+++ /var/tmp/diff_new_pack.Nnuzh2/_new  2023-07-18 22:09:25.751426672 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-google-cloud-speech
-Version:        2.20.0
+Version:        2.21.0
 Release:        0
 Summary:        Google Cloud Speech API client library
 License:        Apache-2.0

++++++ google-cloud-speech-2.20.0.tar.gz -> google-cloud-speech-2.21.0.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/google-cloud-speech-2.20.0/PKG-INFO 
new/google-cloud-speech-2.21.0/PKG-INFO
--- old/google-cloud-speech-2.20.0/PKG-INFO     2023-06-01 12:49:13.920659500 
+0200
+++ new/google-cloud-speech-2.21.0/PKG-INFO     2023-07-05 21:34:12.466895600 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: google-cloud-speech
-Version: 2.20.0
+Version: 2.21.0
 Summary: Google Cloud Speech API client library
 Home-page: https://github.com/googleapis/python-speech
 Author: Google LLC
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.20.0/google/cloud/speech/gapic_version.py 
new/google-cloud-speech-2.21.0/google/cloud/speech/gapic_version.py
--- old/google-cloud-speech-2.20.0/google/cloud/speech/gapic_version.py 
2023-06-01 12:46:41.000000000 +0200
+++ new/google-cloud-speech-2.21.0/google/cloud/speech/gapic_version.py 
2023-07-05 21:31:38.000000000 +0200
@@ -13,4 +13,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-__version__ = "2.20.0"  # {x-release-please-version}
+__version__ = "2.21.0"  # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.20.0/google/cloud/speech_v1/gapic_version.py 
new/google-cloud-speech-2.21.0/google/cloud/speech_v1/gapic_version.py
--- old/google-cloud-speech-2.20.0/google/cloud/speech_v1/gapic_version.py      
2023-06-01 12:46:41.000000000 +0200
+++ new/google-cloud-speech-2.21.0/google/cloud/speech_v1/gapic_version.py      
2023-07-05 21:31:38.000000000 +0200
@@ -13,4 +13,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-__version__ = "2.20.0"  # {x-release-please-version}
+__version__ = "2.21.0"  # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.20.0/google/cloud/speech_v1/services/adaptation/async_client.py
 
new/google-cloud-speech-2.21.0/google/cloud/speech_v1/services/adaptation/async_client.py
--- 
old/google-cloud-speech-2.20.0/google/cloud/speech_v1/services/adaptation/async_client.py
   2023-06-01 12:46:41.000000000 +0200
+++ 
new/google-cloud-speech-2.21.0/google/cloud/speech_v1/services/adaptation/async_client.py
   2023-07-05 21:31:38.000000000 +0200
@@ -1538,7 +1538,7 @@
         # Done; return the response.
         return response
 
-    async def __aenter__(self):
+    async def __aenter__(self) -> "AdaptationAsyncClient":
         return self
 
     async def __aexit__(self, exc_type, exc, tb):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.20.0/google/cloud/speech_v1/services/speech/async_client.py
 
new/google-cloud-speech-2.21.0/google/cloud/speech_v1/services/speech/async_client.py
--- 
old/google-cloud-speech-2.20.0/google/cloud/speech_v1/services/speech/async_client.py
       2023-06-01 12:46:41.000000000 +0200
+++ 
new/google-cloud-speech-2.21.0/google/cloud/speech_v1/services/speech/async_client.py
       2023-07-05 21:31:39.000000000 +0200
@@ -746,7 +746,7 @@
         # Done; return the response.
         return response
 
-    async def __aenter__(self):
+    async def __aenter__(self) -> "SpeechAsyncClient":
         return self
 
     async def __aexit__(self, exc_type, exc, tb):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.20.0/google/cloud/speech_v1p1beta1/gapic_version.py 
new/google-cloud-speech-2.21.0/google/cloud/speech_v1p1beta1/gapic_version.py
--- 
old/google-cloud-speech-2.20.0/google/cloud/speech_v1p1beta1/gapic_version.py   
    2023-06-01 12:46:41.000000000 +0200
+++ 
new/google-cloud-speech-2.21.0/google/cloud/speech_v1p1beta1/gapic_version.py   
    2023-07-05 21:31:39.000000000 +0200
@@ -13,4 +13,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-__version__ = "2.20.0"  # {x-release-please-version}
+__version__ = "2.21.0"  # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.20.0/google/cloud/speech_v1p1beta1/services/adaptation/async_client.py
 
new/google-cloud-speech-2.21.0/google/cloud/speech_v1p1beta1/services/adaptation/async_client.py
--- 
old/google-cloud-speech-2.20.0/google/cloud/speech_v1p1beta1/services/adaptation/async_client.py
    2023-06-01 12:46:41.000000000 +0200
+++ 
new/google-cloud-speech-2.21.0/google/cloud/speech_v1p1beta1/services/adaptation/async_client.py
    2023-07-05 21:31:39.000000000 +0200
@@ -1538,7 +1538,7 @@
         # Done; return the response.
         return response
 
-    async def __aenter__(self):
+    async def __aenter__(self) -> "AdaptationAsyncClient":
         return self
 
     async def __aexit__(self, exc_type, exc, tb):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.20.0/google/cloud/speech_v1p1beta1/services/speech/async_client.py
 
new/google-cloud-speech-2.21.0/google/cloud/speech_v1p1beta1/services/speech/async_client.py
--- 
old/google-cloud-speech-2.20.0/google/cloud/speech_v1p1beta1/services/speech/async_client.py
        2023-06-01 12:46:41.000000000 +0200
+++ 
new/google-cloud-speech-2.21.0/google/cloud/speech_v1p1beta1/services/speech/async_client.py
        2023-07-05 21:31:39.000000000 +0200
@@ -746,7 +746,7 @@
         # Done; return the response.
         return response
 
-    async def __aenter__(self):
+    async def __aenter__(self) -> "SpeechAsyncClient":
         return self
 
     async def __aexit__(self, exc_type, exc, tb):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.20.0/google/cloud/speech_v2/gapic_version.py 
new/google-cloud-speech-2.21.0/google/cloud/speech_v2/gapic_version.py
--- old/google-cloud-speech-2.20.0/google/cloud/speech_v2/gapic_version.py      
2023-06-01 12:46:41.000000000 +0200
+++ new/google-cloud-speech-2.21.0/google/cloud/speech_v2/gapic_version.py      
2023-07-05 21:31:39.000000000 +0200
@@ -13,4 +13,4 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-__version__ = "2.20.0"  # {x-release-please-version}
+__version__ = "2.21.0"  # {x-release-please-version}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.20.0/google/cloud/speech_v2/services/speech/async_client.py
 
new/google-cloud-speech-2.21.0/google/cloud/speech_v2/services/speech/async_client.py
--- 
old/google-cloud-speech-2.20.0/google/cloud/speech_v2/services/speech/async_client.py
       2023-06-01 12:46:41.000000000 +0200
+++ 
new/google-cloud-speech-2.21.0/google/cloud/speech_v2/services/speech/async_client.py
       2023-07-05 21:31:39.000000000 +0200
@@ -254,12 +254,7 @@
                 client = speech_v2.SpeechAsyncClient()
 
                 # Initialize request argument(s)
-                recognizer = speech_v2.Recognizer()
-                recognizer.model = "model_value"
-                recognizer.language_codes = ['language_codes_value1', 
'language_codes_value2']
-
                 request = speech_v2.CreateRecognizerRequest(
-                    recognizer=recognizer,
                     parent="parent_value",
                 )
 
@@ -624,12 +619,7 @@
                 client = speech_v2.SpeechAsyncClient()
 
                 # Initialize request argument(s)
-                recognizer = speech_v2.Recognizer()
-                recognizer.model = "model_value"
-                recognizer.language_codes = ['language_codes_value1', 
'language_codes_value2']
-
                 request = speech_v2.UpdateRecognizerRequest(
-                    recognizer=recognizer,
                 )
 
                 # Make the request
@@ -1030,6 +1020,8 @@
                 Required. The name of the Recognizer to use during
                 recognition. The expected format is
                 
``projects/{project}/locations/{location}/recognizers/{recognizer}``.
+                The {recognizer} segment may be set to ``_`` to use an
+                empty implicit Recognizer.
 
                 This corresponds to the ``recognizer`` field
                 on the ``request`` instance; if ``request`` is provided, this
@@ -1213,17 +1205,26 @@
                 
[StreamingRecognize][google.cloud.speech.v2.Speech.StreamingRecognize]
                 method. Multiple
                 
[StreamingRecognizeRequest][google.cloud.speech.v2.StreamingRecognizeRequest]
-                messages are sent. The first message must contain a
+                messages are sent in one call.
+
+                If the [Recognizer][google.cloud.speech.v2.Recognizer]
+                referenced by
+                
[recognizer][google.cloud.speech.v2.StreamingRecognizeRequest.recognizer]
+                contains a fully specified request configuration then
+                the stream may only contain messages with only
+                [audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio]
+                set.
+
+                Otherwise the first message must contain a
                 
[recognizer][google.cloud.speech.v2.StreamingRecognizeRequest.recognizer]
-                and optionally a
+                and a
                 
[streaming_config][google.cloud.speech.v2.StreamingRecognizeRequest.streaming_config]
-                message and must not contain
+                message that together fully specify the request
+                configuration and must not contain
                 
[audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio].
-                All subsequent messages must contain
+                All subsequent messages must only have
                 [audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio]
-                and must not contain a
-                
[streaming_config][google.cloud.speech.v2.StreamingRecognizeRequest.streaming_config]
-                message.
+                set.
             retry (google.api_core.retry.Retry): Designation of what errors, 
if any,
                 should be retried.
             timeout (float): The timeout for this request.
@@ -1367,8 +1368,11 @@
                 [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize]
                 method.
             recognizer (:class:`str`):
-                Required. Resource name of the
-                recognizer to be used for ASR.
+                Required. The name of the Recognizer to use during
+                recognition. The expected format is
+                
``projects/{project}/locations/{location}/recognizers/{recognizer}``.
+                The {recognizer} segment may be set to ``_`` to use an
+                empty implicit Recognizer.
 
                 This corresponds to the ``recognizer`` field
                 on the ``request`` instance; if ``request`` is provided, this
@@ -3511,7 +3515,7 @@
         # Done; return the response.
         return response
 
-    async def __aenter__(self):
+    async def __aenter__(self) -> "SpeechAsyncClient":
         return self
 
     async def __aexit__(self, exc_type, exc, tb):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.20.0/google/cloud/speech_v2/services/speech/client.py 
new/google-cloud-speech-2.21.0/google/cloud/speech_v2/services/speech/client.py
--- 
old/google-cloud-speech-2.20.0/google/cloud/speech_v2/services/speech/client.py 
    2023-06-01 12:46:41.000000000 +0200
+++ 
new/google-cloud-speech-2.21.0/google/cloud/speech_v2/services/speech/client.py 
    2023-07-05 21:31:39.000000000 +0200
@@ -593,12 +593,7 @@
                 client = speech_v2.SpeechClient()
 
                 # Initialize request argument(s)
-                recognizer = speech_v2.Recognizer()
-                recognizer.model = "model_value"
-                recognizer.language_codes = ['language_codes_value1', 
'language_codes_value2']
-
                 request = speech_v2.CreateRecognizerRequest(
-                    recognizer=recognizer,
                     parent="parent_value",
                 )
 
@@ -963,12 +958,7 @@
                 client = speech_v2.SpeechClient()
 
                 # Initialize request argument(s)
-                recognizer = speech_v2.Recognizer()
-                recognizer.model = "model_value"
-                recognizer.language_codes = ['language_codes_value1', 
'language_codes_value2']
-
                 request = speech_v2.UpdateRecognizerRequest(
-                    recognizer=recognizer,
                 )
 
                 # Make the request
@@ -1369,6 +1359,8 @@
                 Required. The name of the Recognizer to use during
                 recognition. The expected format is
                 
``projects/{project}/locations/{location}/recognizers/{recognizer}``.
+                The {recognizer} segment may be set to ``_`` to use an
+                empty implicit Recognizer.
 
                 This corresponds to the ``recognizer`` field
                 on the ``request`` instance; if ``request`` is provided, this
@@ -1550,17 +1542,26 @@
                 
[StreamingRecognize][google.cloud.speech.v2.Speech.StreamingRecognize]
                 method. Multiple
                 
[StreamingRecognizeRequest][google.cloud.speech.v2.StreamingRecognizeRequest]
-                messages are sent. The first message must contain a
+                messages are sent in one call.
+
+                If the [Recognizer][google.cloud.speech.v2.Recognizer]
+                referenced by
+                
[recognizer][google.cloud.speech.v2.StreamingRecognizeRequest.recognizer]
+                contains a fully specified request configuration then
+                the stream may only contain messages with only
+                [audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio]
+                set.
+
+                Otherwise the first message must contain a
                 
[recognizer][google.cloud.speech.v2.StreamingRecognizeRequest.recognizer]
-                and optionally a
+                and a
                 
[streaming_config][google.cloud.speech.v2.StreamingRecognizeRequest.streaming_config]
-                message and must not contain
+                message that together fully specify the request
+                configuration and must not contain
                 
[audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio].
-                All subsequent messages must contain
+                All subsequent messages must only have
                 [audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio]
-                and must not contain a
-                
[streaming_config][google.cloud.speech.v2.StreamingRecognizeRequest.streaming_config]
-                message.
+                set.
             retry (google.api_core.retry.Retry): Designation of what errors, 
if any,
                 should be retried.
             timeout (float): The timeout for this request.
@@ -1700,8 +1701,11 @@
                 [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize]
                 method.
             recognizer (str):
-                Required. Resource name of the
-                recognizer to be used for ASR.
+                Required. The name of the Recognizer to use during
+                recognition. The expected format is
+                
``projects/{project}/locations/{location}/recognizers/{recognizer}``.
+                The {recognizer} segment may be set to ``_`` to use an
+                empty implicit Recognizer.
 
                 This corresponds to the ``recognizer`` field
                 on the ``request`` instance; if ``request`` is provided, this
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.20.0/google/cloud/speech_v2/services/speech/transports/rest.py
 
new/google-cloud-speech-2.21.0/google/cloud/speech_v2/services/speech/transports/rest.py
--- 
old/google-cloud-speech-2.20.0/google/cloud/speech_v2/services/speech/transports/rest.py
    2023-06-01 12:46:41.000000000 +0200
+++ 
new/google-cloud-speech-2.21.0/google/cloud/speech_v2/services/speech/transports/rest.py
    2023-07-05 21:31:39.000000000 +0200
@@ -3548,7 +3548,7 @@
             request_kwargs = json_format.MessageToDict(request)
             transcoded_request = path_template.transcode(http_options, 
**request_kwargs)
 
-            body = json.loads(json.dumps(transcoded_request["body"]))
+            body = json.dumps(transcoded_request["body"])
             uri = transcoded_request["uri"]
             method = transcoded_request["method"]
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.20.0/google/cloud/speech_v2/types/cloud_speech.py 
new/google-cloud-speech-2.21.0/google/cloud/speech_v2/types/cloud_speech.py
--- old/google-cloud-speech-2.20.0/google/cloud/speech_v2/types/cloud_speech.py 
2023-06-01 12:46:41.000000000 +0200
+++ new/google-cloud-speech-2.21.0/google/cloud/speech_v2/types/cloud_speech.py 
2023-07-05 21:31:39.000000000 +0200
@@ -589,7 +589,7 @@
             User-settable, human-readable name for the
             Recognizer. Must be 63 characters or less.
         model (str):
-            Required. Which model to use for recognition requests.
+            Optional. Which model to use for recognition requests.
             Select the model best suited to your domain to get best
             results.
 
@@ -600,7 +600,7 @@
             `Table Of Supported
             Models 
<https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages>`__.
         language_codes (MutableSequence[str]):
-            Required. The language of the supplied audio as a
+            Optional. The language of the supplied audio as a
             `BCP-47 <https://www.rfc-editor.org/rfc/bcp/bcp47.txt>`__
             language tag.
 
@@ -1080,6 +1080,31 @@
             (linear16, mulaw, alaw).
 
             This field is a member of `oneof`_ ``decoding_config``.
+        model (str):
+            Optional. Which model to use for recognition requests.
+            Select the model best suited to your domain to get best
+            results.
+
+            Guidance for choosing which model to use can be found in the
+            `Transcription Models
+            Documentation 
<https://cloud.google.com/speech-to-text/v2/docs/transcription-model>`__
+            and the models supported in each region can be found in the
+            `Table Of Supported
+            Models 
<https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages>`__.
+        language_codes (MutableSequence[str]):
+            Optional. The language of the supplied audio as a
+            `BCP-47 <https://www.rfc-editor.org/rfc/bcp/bcp47.txt>`__
+            language tag. Language tags are normalized to BCP-47 before
+            they are used eg "en-us" becomes "en-US".
+
+            Supported languages for each model are listed in the `Table
+            of Supported
+            Models 
<https://cloud.google.com/speech-to-text/v2/docs/speech-to-text-supported-languages>`__.
+
+            If additional languages are provided, recognition result
+            will contain recognition in the most likely language
+            detected. The recognition result will include the language
+            tag of the language detected in the audio.
         features (google.cloud.speech_v2.types.RecognitionFeatures):
             Speech recognition features to enable.
         adaptation (google.cloud.speech_v2.types.SpeechAdaptation):
@@ -1100,6 +1125,14 @@
         oneof="decoding_config",
         message="ExplicitDecodingConfig",
     )
+    model: str = proto.Field(
+        proto.STRING,
+        number=9,
+    )
+    language_codes: MutableSequence[str] = proto.RepeatedField(
+        proto.STRING,
+        number=10,
+    )
     features: "RecognitionFeatures" = proto.Field(
         proto.MESSAGE,
         number=2,
@@ -1132,6 +1165,8 @@
             Required. The name of the Recognizer to use during
             recognition. The expected format is
             
``projects/{project}/locations/{location}/recognizers/{recognizer}``.
+            The {recognizer} segment may be set to ``_`` to use an empty
+            implicit Recognizer.
         config (google.cloud.speech_v2.types.RecognitionConfig):
             Features and audio metadata to use for the Automatic Speech
             Recognition. This field in combination with the
@@ -1515,17 +1550,23 @@
     [StreamingRecognize][google.cloud.speech.v2.Speech.StreamingRecognize]
     method. Multiple
     
[StreamingRecognizeRequest][google.cloud.speech.v2.StreamingRecognizeRequest]
-    messages are sent. The first message must contain a
+    messages are sent in one call.
+
+    If the [Recognizer][google.cloud.speech.v2.Recognizer] referenced by
     [recognizer][google.cloud.speech.v2.StreamingRecognizeRequest.recognizer]
-    and optionally a
+    contains a fully specified request configuration then the stream may
+    only contain messages with only
+    [audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio] set.
+
+    Otherwise the first message must contain a
+    [recognizer][google.cloud.speech.v2.StreamingRecognizeRequest.recognizer]
+    and a
     
[streaming_config][google.cloud.speech.v2.StreamingRecognizeRequest.streaming_config]
-    message and must not contain
+    message that together fully specify the request configuration and
+    must not contain
     [audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio]. All
-    subsequent messages must contain
-    [audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio] and
-    must not contain a
-    
[streaming_config][google.cloud.speech.v2.StreamingRecognizeRequest.streaming_config]
-    message.
+    subsequent messages must only have
+    [audio][google.cloud.speech.v2.StreamingRecognizeRequest.audio] set.
 
     This message has `oneof`_ fields (mutually exclusive fields).
     For each oneof, at most one member field can be set at the same time.
@@ -1536,13 +1577,11 @@
 
     Attributes:
         recognizer (str):
-            Required. Streaming recognition should start with an initial
-            request having a ``recognizer``. Subsequent requests carry
-            the audio data to be recognized.
-
-            The initial request with configuration can be omitted if the
-            Recognizer being used has a
-            
[default_recognition_config][google.cloud.speech.v2.Recognizer.default_recognition_config].
+            Required. The name of the Recognizer to use during
+            recognition. The expected format is
+            
``projects/{project}/locations/{location}/recognizers/{recognizer}``.
+            The {recognizer} segment may be set to ``_`` to use an empty
+            implicit Recognizer.
         streaming_config 
(google.cloud.speech_v2.types.StreamingRecognitionConfig):
             StreamingRecognitionConfig to be used in this
             recognition attempt. If provided, it will
@@ -1582,8 +1621,11 @@
 
     Attributes:
         recognizer (str):
-            Required. Resource name of the recognizer to
-            be used for ASR.
+            Required. The name of the Recognizer to use during
+            recognition. The expected format is
+            
``projects/{project}/locations/{location}/recognizers/{recognizer}``.
+            The {recognizer} segment may be set to ``_`` to use an empty
+            implicit Recognizer.
         config (google.cloud.speech_v2.types.RecognitionConfig):
             Features and audio metadata to use for the Automatic Speech
             Recognition. This field in combination with the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.20.0/google_cloud_speech.egg-info/PKG-INFO 
new/google-cloud-speech-2.21.0/google_cloud_speech.egg-info/PKG-INFO
--- old/google-cloud-speech-2.20.0/google_cloud_speech.egg-info/PKG-INFO        
2023-06-01 12:49:13.000000000 +0200
+++ new/google-cloud-speech-2.21.0/google_cloud_speech.egg-info/PKG-INFO        
2023-07-05 21:34:12.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: google-cloud-speech
-Version: 2.20.0
+Version: 2.21.0
 Summary: Google Cloud Speech API client library
 Home-page: https://github.com/googleapis/python-speech
 Author: Google LLC
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.20.0/tests/unit/gapic/speech_v1/test_adaptation.py 
new/google-cloud-speech-2.21.0/tests/unit/gapic/speech_v1/test_adaptation.py
--- 
old/google-cloud-speech-2.20.0/tests/unit/gapic/speech_v1/test_adaptation.py    
    2023-06-01 12:46:41.000000000 +0200
+++ 
new/google-cloud-speech-2.21.0/tests/unit/gapic/speech_v1/test_adaptation.py    
    2023-07-05 21:31:39.000000000 +0200
@@ -1597,9 +1597,11 @@
             RuntimeError,
         )
         pages = []
-        async for page_ in (
+        # Workaround issue in python 3.9 related to code coverage by adding `# 
pragma: no branch`
+        # See 
https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
+        async for page_ in (  # pragma: no branch
             await client.list_phrase_set(request={})
-        ).pages:  # pragma: no branch
+        ).pages:
             pages.append(page_)
         for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
             assert page_.raw_page.next_page_token == token
@@ -3040,9 +3042,11 @@
             RuntimeError,
         )
         pages = []
-        async for page_ in (
+        # Workaround issue in python 3.9 related to code coverage by adding `# 
pragma: no branch`
+        # See 
https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
+        async for page_ in (  # pragma: no branch
             await client.list_custom_classes(request={})
-        ).pages:  # pragma: no branch
+        ).pages:
             pages.append(page_)
         for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
             assert page_.raw_page.next_page_token == token
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.20.0/tests/unit/gapic/speech_v1p1beta1/test_adaptation.py
 
new/google-cloud-speech-2.21.0/tests/unit/gapic/speech_v1p1beta1/test_adaptation.py
--- 
old/google-cloud-speech-2.20.0/tests/unit/gapic/speech_v1p1beta1/test_adaptation.py
 2023-06-01 12:46:41.000000000 +0200
+++ 
new/google-cloud-speech-2.21.0/tests/unit/gapic/speech_v1p1beta1/test_adaptation.py
 2023-07-05 21:31:39.000000000 +0200
@@ -1597,9 +1597,11 @@
             RuntimeError,
         )
         pages = []
-        async for page_ in (
+        # Workaround issue in python 3.9 related to code coverage by adding `# 
pragma: no branch`
+        # See 
https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
+        async for page_ in (  # pragma: no branch
             await client.list_phrase_set(request={})
-        ).pages:  # pragma: no branch
+        ).pages:
             pages.append(page_)
         for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
             assert page_.raw_page.next_page_token == token
@@ -3040,9 +3042,11 @@
             RuntimeError,
         )
         pages = []
-        async for page_ in (
+        # Workaround issue in python 3.9 related to code coverage by adding `# 
pragma: no branch`
+        # See 
https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
+        async for page_ in (  # pragma: no branch
             await client.list_custom_classes(request={})
-        ).pages:  # pragma: no branch
+        ).pages:
             pages.append(page_)
         for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
             assert page_.raw_page.next_page_token == token
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/google-cloud-speech-2.20.0/tests/unit/gapic/speech_v2/test_speech.py 
new/google-cloud-speech-2.21.0/tests/unit/gapic/speech_v2/test_speech.py
--- old/google-cloud-speech-2.20.0/tests/unit/gapic/speech_v2/test_speech.py    
2023-06-01 12:46:41.000000000 +0200
+++ new/google-cloud-speech-2.21.0/tests/unit/gapic/speech_v2/test_speech.py    
2023-07-05 21:31:39.000000000 +0200
@@ -1341,9 +1341,11 @@
             RuntimeError,
         )
         pages = []
-        async for page_ in (
+        # Workaround issue in python 3.9 related to code coverage by adding `# 
pragma: no branch`
+        # See 
https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
+        async for page_ in (  # pragma: no branch
             await client.list_recognizers(request={})
-        ).pages:  # pragma: no branch
+        ).pages:
             pages.append(page_)
         for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
             assert page_.raw_page.next_page_token == token
@@ -4103,9 +4105,11 @@
             RuntimeError,
         )
         pages = []
-        async for page_ in (
+        # Workaround issue in python 3.9 related to code coverage by adding `# 
pragma: no branch`
+        # See 
https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
+        async for page_ in (  # pragma: no branch
             await client.list_custom_classes(request={})
-        ).pages:  # pragma: no branch
+        ).pages:
             pages.append(page_)
         for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
             assert page_.raw_page.next_page_token == token
@@ -5774,9 +5778,11 @@
             RuntimeError,
         )
         pages = []
-        async for page_ in (
+        # Workaround issue in python 3.9 related to code coverage by adding `# 
pragma: no branch`
+        # See 
https://github.com/googleapis/gapic-generator-python/pull/1174#issuecomment-1025132372
+        async for page_ in (  # pragma: no branch
             await client.list_phrase_sets(request={})
-        ).pages:  # pragma: no branch
+        ).pages:
             pages.append(page_)
         for page_, token in zip(pages, ["abc", "def", "ghi", ""]):
             assert page_.raw_page.next_page_token == token
@@ -6804,6 +6810,8 @@
                 "sample_rate_hertz": 1817,
                 "audio_channel_count": 2002,
             },
+            "model": "model_value",
+            "language_codes": ["language_codes_value1", 
"language_codes_value2"],
             "features": {
                 "profanity_filter": True,
                 "enable_word_time_offsets": True,
@@ -7077,6 +7085,8 @@
                 "sample_rate_hertz": 1817,
                 "audio_channel_count": 2002,
             },
+            "model": "model_value",
+            "language_codes": ["language_codes_value1", 
"language_codes_value2"],
             "features": {
                 "profanity_filter": True,
                 "enable_word_time_offsets": True,
@@ -7880,6 +7890,8 @@
                 "sample_rate_hertz": 1817,
                 "audio_channel_count": 2002,
             },
+            "model": "model_value",
+            "language_codes": ["language_codes_value1", 
"language_codes_value2"],
             "features": {
                 "profanity_filter": True,
                 "enable_word_time_offsets": True,
@@ -8145,6 +8157,8 @@
                 "sample_rate_hertz": 1817,
                 "audio_channel_count": 2002,
             },
+            "model": "model_value",
+            "language_codes": ["language_codes_value1", 
"language_codes_value2"],
             "features": {
                 "profanity_filter": True,
                 "enable_word_time_offsets": True,

Reply via email to