Skip to content

Commit

Permalink
build: use gapic-generator-typescript v1.0.7. (#378)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/5f7f9c6d-c75a-4c60-8bb8-0026a14cead7/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 325949033
Source-Link: googleapis/googleapis@94006b3
  • Loading branch information
yoshi-automation authored Aug 11, 2020
1 parent 36f9525 commit 70c4a71
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 21 deletions.
8 changes: 5 additions & 3 deletions packages/google-cloud-asset/src/v1/asset_service_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,14 @@ export class AssetServiceClient {
}
);

const descriptor =
this.descriptors.page[methodName] ||
this.descriptors.longrunning[methodName] ||
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 @@ -244,12 +244,11 @@ export class AssetServiceClient {
}
);

const descriptor = this.descriptors.longrunning[methodName] || 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 @@ -234,12 +234,11 @@ export class AssetServiceClient {
}
);

const descriptor = this.descriptors.page[methodName] || 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 @@ -228,12 +228,11 @@ export class AssetServiceClient {
}
);

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 @@ -251,12 +251,11 @@ export class AssetServiceClient {
}
);

const descriptor = this.descriptors.longrunning[methodName] || 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 @@ -226,12 +226,11 @@ export class AssetServiceClient {
}
);

const descriptor = this.descriptors.page[methodName] || 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
6 changes: 3 additions & 3 deletions packages/google-cloud-asset/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/nodejs-asset.git",
"sha": "11629d463902df67fc0f89aaa28d67378759ab41"
"sha": "c5bd3b7dfae1bf424b54b086c0db47310b2efc5b"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "b085d0af47a9addead321737ebde7448fd179a51",
"internalRef": "319801234"
"sha": "94006b3cb8d2fb44703cf535da15608eed6bf7db",
"internalRef": "325949033"
}
},
{
Expand Down

0 comments on commit 70c4a71

Please sign in to comment.