Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
chore: Update gapic-generator-python to v1.11.3 (#527)
Browse files Browse the repository at this point in the history
* chore: Update gapic-generator-python to v1.11.3

PiperOrigin-RevId: 546899192

Source-Link: googleapis/googleapis@e6b1691

Source-Link: googleapis/googleapis-gen@0b3917c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMGIzOTE3YzQyMWNiZGE3ZmNiNjcwOTJlMTZjMzNmM2VhNDZmNGJjNyJ9

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jul 10, 2023
1 parent be0efab commit 85adda5
Show file tree
Hide file tree
Showing 12 changed files with 76 additions and 48 deletions.
8 changes: 5 additions & 3 deletions google/cloud/speech_v1/services/speech/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ async def recognize(
metadata: Sequence[Tuple[str, str]] = (),
) -> cloud_speech.RecognizeResponse:
r"""Performs synchronous speech recognition: receive
results after all audio has been sent and processed.
results after all audio
has been sent and processed.
.. code-block:: python
Expand Down Expand Up @@ -486,8 +487,9 @@ def streaming_recognize(
metadata: Sequence[Tuple[str, str]] = (),
) -> Awaitable[AsyncIterable[cloud_speech.StreamingRecognizeResponse]]:
r"""Performs bidirectional streaming speech recognition:
receive results while sending audio. This method is only
available via the gRPC API (not REST).
receive results while
sending audio. This method is only available via the
gRPC API (not REST).
.. code-block:: python
Expand Down
8 changes: 5 additions & 3 deletions google/cloud/speech_v1/services/speech/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,8 @@ def recognize(
metadata: Sequence[Tuple[str, str]] = (),
) -> cloud_speech.RecognizeResponse:
r"""Performs synchronous speech recognition: receive
results after all audio has been sent and processed.
results after all audio
has been sent and processed.
.. code-block:: python
Expand Down Expand Up @@ -730,8 +731,9 @@ def streaming_recognize(
metadata: Sequence[Tuple[str, str]] = (),
) -> Iterable[cloud_speech.StreamingRecognizeResponse]:
r"""Performs bidirectional streaming speech recognition:
receive results while sending audio. This method is only
available via the gRPC API (not REST).
receive results while
sending audio. This method is only available via the
gRPC API (not REST).
.. code-block:: python
Expand Down
8 changes: 5 additions & 3 deletions google/cloud/speech_v1/services/speech/transports/grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ def recognize(
r"""Return a callable for the recognize method over gRPC.
Performs synchronous speech recognition: receive
results after all audio has been sent and processed.
results after all audio
has been sent and processed.
Returns:
Callable[[~.RecognizeRequest],
Expand Down Expand Up @@ -315,8 +316,9 @@ def streaming_recognize(
r"""Return a callable for the streaming recognize method over gRPC.
Performs bidirectional streaming speech recognition:
receive results while sending audio. This method is only
available via the gRPC API (not REST).
receive results while
sending audio. This method is only available via the
gRPC API (not REST).
Returns:
Callable[[~.StreamingRecognizeRequest],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ def recognize(
r"""Return a callable for the recognize method over gRPC.
Performs synchronous speech recognition: receive
results after all audio has been sent and processed.
results after all audio
has been sent and processed.
Returns:
Callable[[~.RecognizeRequest],
Expand Down Expand Up @@ -324,8 +325,9 @@ def streaming_recognize(
r"""Return a callable for the streaming recognize method over gRPC.
Performs bidirectional streaming speech recognition:
receive results while sending audio. This method is only
available via the gRPC API (not REST).
receive results while
sending audio. This method is only available via the
gRPC API (not REST).
Returns:
Callable[[~.StreamingRecognizeRequest],
Expand Down
8 changes: 5 additions & 3 deletions google/cloud/speech_v1p1beta1/services/speech/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,8 @@ async def recognize(
metadata: Sequence[Tuple[str, str]] = (),
) -> cloud_speech.RecognizeResponse:
r"""Performs synchronous speech recognition: receive
results after all audio has been sent and processed.
results after all audio
has been sent and processed.
.. code-block:: python
Expand Down Expand Up @@ -486,8 +487,9 @@ def streaming_recognize(
metadata: Sequence[Tuple[str, str]] = (),
) -> Awaitable[AsyncIterable[cloud_speech.StreamingRecognizeResponse]]:
r"""Performs bidirectional streaming speech recognition:
receive results while sending audio. This method is only
available via the gRPC API (not REST).
receive results while
sending audio. This method is only available via the
gRPC API (not REST).
.. code-block:: python
Expand Down
8 changes: 5 additions & 3 deletions google/cloud/speech_v1p1beta1/services/speech/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,8 @@ def recognize(
metadata: Sequence[Tuple[str, str]] = (),
) -> cloud_speech.RecognizeResponse:
r"""Performs synchronous speech recognition: receive
results after all audio has been sent and processed.
results after all audio
has been sent and processed.
.. code-block:: python
Expand Down Expand Up @@ -730,8 +731,9 @@ def streaming_recognize(
metadata: Sequence[Tuple[str, str]] = (),
) -> Iterable[cloud_speech.StreamingRecognizeResponse]:
r"""Performs bidirectional streaming speech recognition:
receive results while sending audio. This method is only
available via the gRPC API (not REST).
receive results while
sending audio. This method is only available via the
gRPC API (not REST).
.. code-block:: python
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ def recognize(
r"""Return a callable for the recognize method over gRPC.
Performs synchronous speech recognition: receive
results after all audio has been sent and processed.
results after all audio
has been sent and processed.
Returns:
Callable[[~.RecognizeRequest],
Expand Down Expand Up @@ -315,8 +316,9 @@ def streaming_recognize(
r"""Return a callable for the streaming recognize method over gRPC.
Performs bidirectional streaming speech recognition:
receive results while sending audio. This method is only
available via the gRPC API (not REST).
receive results while
sending audio. This method is only available via the
gRPC API (not REST).
Returns:
Callable[[~.StreamingRecognizeRequest],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ def recognize(
r"""Return a callable for the recognize method over gRPC.
Performs synchronous speech recognition: receive
results after all audio has been sent and processed.
results after all audio
has been sent and processed.
Returns:
Callable[[~.RecognizeRequest],
Expand Down Expand Up @@ -324,8 +325,9 @@ def streaming_recognize(
r"""Return a callable for the streaming recognize method over gRPC.
Performs bidirectional streaming speech recognition:
receive results while sending audio. This method is only
available via the gRPC API (not REST).
receive results while
sending audio. This method is only available via the
gRPC API (not REST).
Returns:
Callable[[~.StreamingRecognizeRequest],
Expand Down
15 changes: 9 additions & 6 deletions google/cloud/speech_v2/services/speech/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,8 @@ async def recognize(
metadata: Sequence[Tuple[str, str]] = (),
) -> cloud_speech.RecognizeResponse:
r"""Performs synchronous Speech recognition: receive
results after all audio has been sent and processed.
results after all audio
has been sent and processed.
.. code-block:: python
Expand Down Expand Up @@ -1159,8 +1160,9 @@ def streaming_recognize(
metadata: Sequence[Tuple[str, str]] = (),
) -> Awaitable[AsyncIterable[cloud_speech.StreamingRecognizeResponse]]:
r"""Performs bidirectional streaming speech recognition:
receive results while sending audio. This method is only
available via the gRPC API (not REST).
receive results while
sending audio. This method is only available via the
gRPC API (not REST).
.. code-block:: python
Expand Down Expand Up @@ -1328,9 +1330,10 @@ async def batch_recognize(
metadata: Sequence[Tuple[str, str]] = (),
) -> operation_async.AsyncOperation:
r"""Performs batch asynchronous speech recognition: send
a request with N audio files and receive a long running
operation that can be polled to see when the
transcriptions are finished.
a request with N
audio files and receive a long running operation that
can be polled to see when the transcriptions are
finished.
.. code-block:: python
Expand Down
15 changes: 9 additions & 6 deletions google/cloud/speech_v2/services/speech/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,8 @@ def recognize(
metadata: Sequence[Tuple[str, str]] = (),
) -> cloud_speech.RecognizeResponse:
r"""Performs synchronous Speech recognition: receive
results after all audio has been sent and processed.
results after all audio
has been sent and processed.
.. code-block:: python
Expand Down Expand Up @@ -1496,8 +1497,9 @@ def streaming_recognize(
metadata: Sequence[Tuple[str, str]] = (),
) -> Iterable[cloud_speech.StreamingRecognizeResponse]:
r"""Performs bidirectional streaming speech recognition:
receive results while sending audio. This method is only
available via the gRPC API (not REST).
receive results while
sending audio. This method is only available via the
gRPC API (not REST).
.. code-block:: python
Expand Down Expand Up @@ -1661,9 +1663,10 @@ def batch_recognize(
metadata: Sequence[Tuple[str, str]] = (),
) -> operation.Operation:
r"""Performs batch asynchronous speech recognition: send
a request with N audio files and receive a long running
operation that can be polled to see when the
transcriptions are finished.
a request with N
audio files and receive a long running operation that
can be polled to see when the transcriptions are
finished.
.. code-block:: python
Expand Down
15 changes: 9 additions & 6 deletions google/cloud/speech_v2/services/speech/transports/grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,8 @@ def recognize(
r"""Return a callable for the recognize method over gRPC.
Performs synchronous Speech recognition: receive
results after all audio has been sent and processed.
results after all audio
has been sent and processed.
Returns:
Callable[[~.RecognizeRequest],
Expand Down Expand Up @@ -446,8 +447,9 @@ def streaming_recognize(
r"""Return a callable for the streaming recognize method over gRPC.
Performs bidirectional streaming speech recognition:
receive results while sending audio. This method is only
available via the gRPC API (not REST).
receive results while
sending audio. This method is only available via the
gRPC API (not REST).
Returns:
Callable[[~.StreamingRecognizeRequest],
Expand All @@ -474,9 +476,10 @@ def batch_recognize(
r"""Return a callable for the batch recognize method over gRPC.
Performs batch asynchronous speech recognition: send
a request with N audio files and receive a long running
operation that can be polled to see when the
transcriptions are finished.
a request with N
audio files and receive a long running operation that
can be polled to see when the transcriptions are
finished.
Returns:
Callable[[~.BatchRecognizeRequest],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,8 @@ def recognize(
r"""Return a callable for the recognize method over gRPC.
Performs synchronous Speech recognition: receive
results after all audio has been sent and processed.
results after all audio
has been sent and processed.
Returns:
Callable[[~.RecognizeRequest],
Expand Down Expand Up @@ -464,8 +465,9 @@ def streaming_recognize(
r"""Return a callable for the streaming recognize method over gRPC.
Performs bidirectional streaming speech recognition:
receive results while sending audio. This method is only
available via the gRPC API (not REST).
receive results while
sending audio. This method is only available via the
gRPC API (not REST).
Returns:
Callable[[~.StreamingRecognizeRequest],
Expand Down Expand Up @@ -494,9 +496,10 @@ def batch_recognize(
r"""Return a callable for the batch recognize method over gRPC.
Performs batch asynchronous speech recognition: send
a request with N audio files and receive a long running
operation that can be polled to see when the
transcriptions are finished.
a request with N
audio files and receive a long running operation that
can be polled to see when the transcriptions are
finished.
Returns:
Callable[[~.BatchRecognizeRequest],
Expand Down

0 comments on commit 85adda5

Please sign in to comment.