Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

Commit

Permalink
fix: make request optional in all cases (#525)
Browse files Browse the repository at this point in the history
... chore: update gapic-generator-ruby to the latest commit chore: release gapic-generator-typescript 1.5.0

Committer: @miraleung
PiperOrigin-RevId: 380641501

Source-Link: googleapis/googleapis@076f7e9

Source-Link: googleapis/googleapis-gen@27e4c88
  • Loading branch information
gcf-owl-bot[bot] committed Jun 23, 2021
1 parent a9d1d41 commit 256f21b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/v1/text_to_speech_client.ts
Expand Up @@ -267,7 +267,7 @@ export class TextToSpeechClient {
// -- Service calls --
// -------------------
listVoices(
request: protos.google.cloud.texttospeech.v1.IListVoicesRequest,
request?: protos.google.cloud.texttospeech.v1.IListVoicesRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -318,7 +318,7 @@ export class TextToSpeechClient {
* const [response] = await client.listVoices(request);
*/
listVoices(
request: protos.google.cloud.texttospeech.v1.IListVoicesRequest,
request?: protos.google.cloud.texttospeech.v1.IListVoicesRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -353,7 +353,7 @@ export class TextToSpeechClient {
return this.innerApiCalls.listVoices(request, options, callback);
}
synthesizeSpeech(
request: protos.google.cloud.texttospeech.v1.ISynthesizeSpeechRequest,
request?: protos.google.cloud.texttospeech.v1.ISynthesizeSpeechRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -406,7 +406,7 @@ export class TextToSpeechClient {
* const [response] = await client.synthesizeSpeech(request);
*/
synthesizeSpeech(
request: protos.google.cloud.texttospeech.v1.ISynthesizeSpeechRequest,
request?: protos.google.cloud.texttospeech.v1.ISynthesizeSpeechRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down
8 changes: 4 additions & 4 deletions src/v1beta1/text_to_speech_client.ts
Expand Up @@ -267,7 +267,7 @@ export class TextToSpeechClient {
// -- Service calls --
// -------------------
listVoices(
request: protos.google.cloud.texttospeech.v1beta1.IListVoicesRequest,
request?: protos.google.cloud.texttospeech.v1beta1.IListVoicesRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -323,7 +323,7 @@ export class TextToSpeechClient {
* const [response] = await client.listVoices(request);
*/
listVoices(
request: protos.google.cloud.texttospeech.v1beta1.IListVoicesRequest,
request?: protos.google.cloud.texttospeech.v1beta1.IListVoicesRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down Expand Up @@ -360,7 +360,7 @@ export class TextToSpeechClient {
return this.innerApiCalls.listVoices(request, options, callback);
}
synthesizeSpeech(
request: protos.google.cloud.texttospeech.v1beta1.ISynthesizeSpeechRequest,
request?: protos.google.cloud.texttospeech.v1beta1.ISynthesizeSpeechRequest,
options?: CallOptions
): Promise<
[
Expand Down Expand Up @@ -418,7 +418,7 @@ export class TextToSpeechClient {
* const [response] = await client.synthesizeSpeech(request);
*/
synthesizeSpeech(
request: protos.google.cloud.texttospeech.v1beta1.ISynthesizeSpeechRequest,
request?: protos.google.cloud.texttospeech.v1beta1.ISynthesizeSpeechRequest,
optionsOrCallback?:
| CallOptions
| Callback<
Expand Down

0 comments on commit 256f21b

Please sign in to comment.