Skip to content

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] authored Jun 23, 2021
1 parent 168a314 commit 990be29
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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 990be29

Please sign in to comment.