Skip to content

Commit 0bc2e02

Browse files
build: use gapic-generator-typescript v1.0.7. (#438)
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]>
1 parent 7ea9c8c commit 0bc2e02

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

packages/google-cloud-texttospeech/src/v1/text_to_speech_client.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,12 +206,11 @@ export class TextToSpeechClient {
206206
}
207207
);
208208

209+
const descriptor = undefined;
209210
const apiCall = this._gaxModule.createApiCall(
210211
callPromise,
211212
this._defaults[methodName],
212-
this.descriptors.page[methodName] ||
213-
this.descriptors.stream[methodName] ||
214-
this.descriptors.longrunning[methodName]
213+
descriptor
215214
);
216215

217216
this.innerApiCalls[methodName] = apiCall;

packages/google-cloud-texttospeech/src/v1beta1/text_to_speech_client.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,12 +206,11 @@ export class TextToSpeechClient {
206206
}
207207
);
208208

209+
const descriptor = undefined;
209210
const apiCall = this._gaxModule.createApiCall(
210211
callPromise,
211212
this._defaults[methodName],
212-
this.descriptors.page[methodName] ||
213-
this.descriptors.stream[methodName] ||
214-
this.descriptors.longrunning[methodName]
213+
descriptor
215214
);
216215

217216
this.innerApiCalls[methodName] = apiCall;

packages/google-cloud-texttospeech/synth.metadata

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "9b0c7b1a4665909bd18a0e0fd33004945b5c9c13",
15-
"internalRef": "325528080"
14+
"sha": "94006b3cb8d2fb44703cf535da15608eed6bf7db",
15+
"internalRef": "325949033"
1616
}
1717
},
1818
{

0 commit comments

Comments
 (0)