Skip to content

Commit

Permalink
build: use gapic-generator-typescript v1.0.7. (#438)
Browse files Browse the repository at this point in the history
This new generator will bring some changes to the generated code across all libraries, but the behavior will only change for nodejs-logging and nodejs-pubsub (those two libraries that use request batching). For other libraries, the changes should be minor (the createApiCall call is simplified) and it should be safe to merge them. Please talk to @alexander-fenster if you have any questions.

PiperOrigin-RevId: 325949033

Source-Author: Google APIs <[email protected]>
Source-Date: Mon Aug 10 21:11:13 2020 -0700
Source-Repo: googleapis/googleapis
Source-Sha: 94006b3cb8d2fb44703cf535da15608eed6bf7db
Source-Link: googleapis/googleapis@94006b3

Co-authored-by: Justin Beckwith <[email protected]>
  • Loading branch information
yoshi-automation and JustinBeckwith authored Aug 14, 2020
1 parent 7ea9c8c commit 0bc2e02
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,11 @@ export class TextToSpeechClient {
}
);

const descriptor = undefined;
const apiCall = this._gaxModule.createApiCall(
callPromise,
this._defaults[methodName],
this.descriptors.page[methodName] ||
this.descriptors.stream[methodName] ||
this.descriptors.longrunning[methodName]
descriptor
);

this.innerApiCalls[methodName] = apiCall;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,12 +206,11 @@ export class TextToSpeechClient {
}
);

const descriptor = undefined;
const apiCall = this._gaxModule.createApiCall(
callPromise,
this._defaults[methodName],
this.descriptors.page[methodName] ||
this.descriptors.stream[methodName] ||
this.descriptors.longrunning[methodName]
descriptor
);

this.innerApiCalls[methodName] = apiCall;
Expand Down
4 changes: 2 additions & 2 deletions packages/google-cloud-texttospeech/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "9b0c7b1a4665909bd18a0e0fd33004945b5c9c13",
"internalRef": "325528080"
"sha": "94006b3cb8d2fb44703cf535da15608eed6bf7db",
"internalRef": "325949033"
}
},
{
Expand Down

0 comments on commit 0bc2e02

Please sign in to comment.