Skip to content

Commit

Permalink
docs: Fix formatting of request arg in docstring (#367)
Browse files Browse the repository at this point in the history
* docs: Fix formatting of request arg in docstring

chore: Update gapic-generator-python to v1.9.1
PiperOrigin-RevId: 518604533

Source-Link: googleapis/googleapis@8a085ae

Source-Link: googleapis/googleapis-gen@b2ab4b0
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjJhYjRiMGEwYWUyOTA3ZTgxMmMyMDkxOThhNzRlMDg5OGFmY2IwNCJ9

* 🦉 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 Mar 23, 2023
1 parent d84675b commit b8869b1
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ async def sample_list_voices():
Args:
request (Optional[Union[google.cloud.texttospeech_v1.types.ListVoicesRequest, dict]]):
The request object. The top-level message sent by the
client for the `ListVoices` method.
The request object. The top-level message sent by the client for the
``ListVoices`` method.
language_code (:class:`str`):
Optional. Recommended.
`BCP-47 <https://www.rfc-editor.org/rfc/bcp/bcp47.txt>`__
Expand Down Expand Up @@ -366,8 +366,8 @@ async def sample_synthesize_speech():
Args:
request (Optional[Union[google.cloud.texttospeech_v1.types.SynthesizeSpeechRequest, dict]]):
The request object. The top-level message sent by the
client for the `SynthesizeSpeech` method.
The request object. The top-level message sent by the client for the
``SynthesizeSpeech`` method.
input (:class:`google.cloud.texttospeech_v1.types.SynthesisInput`):
Required. The Synthesizer requires
either plain text or SSML as input.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,8 @@ def sample_list_voices():
Args:
request (Union[google.cloud.texttospeech_v1.types.ListVoicesRequest, dict]):
The request object. The top-level message sent by the
client for the `ListVoices` method.
The request object. The top-level message sent by the client for the
``ListVoices`` method.
language_code (str):
Optional. Recommended.
`BCP-47 <https://www.rfc-editor.org/rfc/bcp/bcp47.txt>`__
Expand Down Expand Up @@ -600,8 +600,8 @@ def sample_synthesize_speech():
Args:
request (Union[google.cloud.texttospeech_v1.types.SynthesizeSpeechRequest, dict]):
The request object. The top-level message sent by the
client for the `SynthesizeSpeech` method.
The request object. The top-level message sent by the client for the
``SynthesizeSpeech`` method.
input (google.cloud.texttospeech_v1.types.SynthesisInput):
Required. The Synthesizer requires
either plain text or SSML as input.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ def __call__(
request (~.cloud_tts.ListVoicesRequest):
The request object. The top-level message sent by the client for the
``ListVoices`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -339,7 +338,6 @@ def __call__(
request (~.cloud_tts.SynthesizeSpeechRequest):
The request object. The top-level message sent by the client for the
``SynthesizeSpeech`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ async def sample_synthesize_long_audio():
Args:
request (Optional[Union[google.cloud.texttospeech_v1.types.SynthesizeLongAudioRequest, dict]]):
The request object. The top-level message sent by the
client for the `SynthesizeLongAudio` method.
The request object. The top-level message sent by the client for the
``SynthesizeLongAudio`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,8 @@ def sample_synthesize_long_audio():
Args:
request (Union[google.cloud.texttospeech_v1.types.SynthesizeLongAudioRequest, dict]):
The request object. The top-level message sent by the
client for the `SynthesizeLongAudio` method.
The request object. The top-level message sent by the client for the
``SynthesizeLongAudio`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ def __call__(
request (~.cloud_tts_lrs.SynthesizeLongAudioRequest):
The request object. The top-level message sent by the client for the
``SynthesizeLongAudio`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ async def sample_list_voices():
Args:
request (Optional[Union[google.cloud.texttospeech_v1beta1.types.ListVoicesRequest, dict]]):
The request object. The top-level message sent by the
client for the `ListVoices` method.
The request object. The top-level message sent by the client for the
``ListVoices`` method.
language_code (:class:`str`):
Optional. Recommended.
`BCP-47 <https://www.rfc-editor.org/rfc/bcp/bcp47.txt>`__
Expand Down Expand Up @@ -366,8 +366,8 @@ async def sample_synthesize_speech():
Args:
request (Optional[Union[google.cloud.texttospeech_v1beta1.types.SynthesizeSpeechRequest, dict]]):
The request object. The top-level message sent by the
client for the `SynthesizeSpeech` method.
The request object. The top-level message sent by the client for the
``SynthesizeSpeech`` method.
input (:class:`google.cloud.texttospeech_v1beta1.types.SynthesisInput`):
Required. The Synthesizer requires
either plain text or SSML as input.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,8 @@ def sample_list_voices():
Args:
request (Union[google.cloud.texttospeech_v1beta1.types.ListVoicesRequest, dict]):
The request object. The top-level message sent by the
client for the `ListVoices` method.
The request object. The top-level message sent by the client for the
``ListVoices`` method.
language_code (str):
Optional. Recommended.
`BCP-47 <https://www.rfc-editor.org/rfc/bcp/bcp47.txt>`__
Expand Down Expand Up @@ -600,8 +600,8 @@ def sample_synthesize_speech():
Args:
request (Union[google.cloud.texttospeech_v1beta1.types.SynthesizeSpeechRequest, dict]):
The request object. The top-level message sent by the
client for the `SynthesizeSpeech` method.
The request object. The top-level message sent by the client for the
``SynthesizeSpeech`` method.
input (google.cloud.texttospeech_v1beta1.types.SynthesisInput):
Required. The Synthesizer requires
either plain text or SSML as input.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ def __call__(
request (~.cloud_tts.ListVoicesRequest):
The request object. The top-level message sent by the client for the
``ListVoices`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down Expand Up @@ -339,7 +338,6 @@ def __call__(
request (~.cloud_tts.SynthesizeSpeechRequest):
The request object. The top-level message sent by the client for the
``SynthesizeSpeech`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ async def sample_synthesize_long_audio():
Args:
request (Optional[Union[google.cloud.texttospeech_v1beta1.types.SynthesizeLongAudioRequest, dict]]):
The request object. The top-level message sent by the
client for the `SynthesizeLongAudio` method.
The request object. The top-level message sent by the client for the
``SynthesizeLongAudio`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,8 @@ def sample_synthesize_long_audio():
Args:
request (Union[google.cloud.texttospeech_v1beta1.types.SynthesizeLongAudioRequest, dict]):
The request object. The top-level message sent by the
client for the `SynthesizeLongAudio` method.
The request object. The top-level message sent by the client for the
``SynthesizeLongAudio`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,6 @@ def __call__(
request (~.cloud_tts_lrs.SynthesizeLongAudioRequest):
The request object. The top-level message sent by the client for the
``SynthesizeLongAudio`` method.
retry (google.api_core.retry.Retry): Designation of what errors, if any,
should be retried.
timeout (float): The timeout for this request.
Expand Down

0 comments on commit b8869b1

Please sign in to comment.