From 50f52db305b7bd4100bb6bbb6242fcf0dd3e287f Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 17 Mar 2022 01:34:17 +0000 Subject: [PATCH] chore: update v2.14.2 gapic-generator-typescript (#531) - [ ] Regenerate this pull request now. Committer: @summer-ji-eng PiperOrigin-RevId: 434859890 Source-Link: https://github.com/googleapis/googleapis/commit/bc2432d50cba657e95212122e3fa112591b5bec2 Source-Link: https://github.com/googleapis/googleapis-gen/commit/930b673103e92523f8cfed38decd7d3afae8ebe7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTMwYjY3MzEwM2U5MjUyM2Y4Y2ZlZDM4ZGVjZDdkM2FmYWU4ZWJlNyJ9 --- .../test/gapic_data_transfer_service_v1.ts | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/packages/google-cloud-bigquery-datatransfer/test/gapic_data_transfer_service_v1.ts b/packages/google-cloud-bigquery-datatransfer/test/gapic_data_transfer_service_v1.ts index c17bfc88469..e297489d0dd 100644 --- a/packages/google-cloud-bigquery-datatransfer/test/gapic_data_transfer_service_v1.ts +++ b/packages/google-cloud-bigquery-datatransfer/test/gapic_data_transfer_service_v1.ts @@ -338,7 +338,6 @@ describe('v1.DataTransferServiceClient', () => { new protos.google.cloud.bigquery.datatransfer.v1.GetDataSourceRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.getDataSource(request), expectedError); @@ -474,7 +473,6 @@ describe('v1.DataTransferServiceClient', () => { new protos.google.cloud.bigquery.datatransfer.v1.CreateTransferConfigRequest() ); request.parent = ''; - const expectedHeaderRequestParams = 'parent='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.createTransferConfig(request), expectedError); @@ -614,7 +612,6 @@ describe('v1.DataTransferServiceClient', () => { ); request.transferConfig = {}; request.transferConfig.name = ''; - const expectedHeaderRequestParams = 'transfer_config.name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.updateTransferConfig(request), expectedError); @@ -750,7 +747,6 @@ describe('v1.DataTransferServiceClient', () => { new protos.google.cloud.bigquery.datatransfer.v1.DeleteTransferConfigRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.deleteTransferConfig(request), expectedError); @@ -885,7 +881,6 @@ describe('v1.DataTransferServiceClient', () => { new protos.google.cloud.bigquery.datatransfer.v1.GetTransferConfigRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.getTransferConfig(request), expectedError); @@ -1028,7 +1023,6 @@ describe('v1.DataTransferServiceClient', () => { new protos.google.cloud.bigquery.datatransfer.v1.ScheduleTransferRunsRequest() ); request.parent = ''; - const expectedHeaderRequestParams = 'parent='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.scheduleTransferRuns(request), expectedError); @@ -1168,7 +1162,6 @@ describe('v1.DataTransferServiceClient', () => { new protos.google.cloud.bigquery.datatransfer.v1.StartManualTransferRunsRequest() ); request.parent = ''; - const expectedHeaderRequestParams = 'parent='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects( @@ -1306,7 +1299,6 @@ describe('v1.DataTransferServiceClient', () => { new protos.google.cloud.bigquery.datatransfer.v1.GetTransferRunRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.getTransferRun(request), expectedError); @@ -1441,7 +1433,6 @@ describe('v1.DataTransferServiceClient', () => { new protos.google.cloud.bigquery.datatransfer.v1.DeleteTransferRunRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.deleteTransferRun(request), expectedError); @@ -1576,7 +1567,6 @@ describe('v1.DataTransferServiceClient', () => { new protos.google.cloud.bigquery.datatransfer.v1.CheckValidCredsRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.checkValidCreds(request), expectedError); @@ -1711,7 +1701,6 @@ describe('v1.DataTransferServiceClient', () => { new protos.google.cloud.bigquery.datatransfer.v1.EnrollDataSourcesRequest() ); request.name = ''; - const expectedHeaderRequestParams = 'name='; const expectedError = new Error('The client has already been closed.'); client.close(); await assert.rejects(client.enrollDataSources(request), expectedError);