Skip to content

Commit 3764743

Browse files
chore: update v2.14.2 gapic-generator-typescript (#692)
* chore: update v2.14.2 gapic-generator-typescript Committer: @summer-ji-eng PiperOrigin-RevId: 434859890 Source-Link: googleapis/googleapis@bc2432d Source-Link: googleapis/googleapis-gen@930b673 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTMwYjY3MzEwM2U5MjUyM2Y4Y2ZlZDM4ZGVjZDdkM2FmYWU4ZWJlNyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent b732c1d commit 3764743

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

packages/google-privacy-dlp/test/gapic_dlp_service_v2.ts

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@ describe('v2.DlpServiceClient', () => {
328328
new protos.google.privacy.dlp.v2.InspectContentRequest()
329329
);
330330
request.parent = '';
331-
const expectedHeaderRequestParams = 'parent=';
332331
const expectedError = new Error('The client has already been closed.');
333332
client.close();
334333
await assert.rejects(client.inspectContent(request), expectedError);
@@ -455,7 +454,6 @@ describe('v2.DlpServiceClient', () => {
455454
new protos.google.privacy.dlp.v2.RedactImageRequest()
456455
);
457456
request.parent = '';
458-
const expectedHeaderRequestParams = 'parent=';
459457
const expectedError = new Error('The client has already been closed.');
460458
client.close();
461459
await assert.rejects(client.redactImage(request), expectedError);
@@ -582,7 +580,6 @@ describe('v2.DlpServiceClient', () => {
582580
new protos.google.privacy.dlp.v2.DeidentifyContentRequest()
583581
);
584582
request.parent = '';
585-
const expectedHeaderRequestParams = 'parent=';
586583
const expectedError = new Error('The client has already been closed.');
587584
client.close();
588585
await assert.rejects(client.deidentifyContent(request), expectedError);
@@ -709,7 +706,6 @@ describe('v2.DlpServiceClient', () => {
709706
new protos.google.privacy.dlp.v2.ReidentifyContentRequest()
710707
);
711708
request.parent = '';
712-
const expectedHeaderRequestParams = 'parent=';
713709
const expectedError = new Error('The client has already been closed.');
714710
client.close();
715711
await assert.rejects(client.reidentifyContent(request), expectedError);
@@ -836,7 +832,6 @@ describe('v2.DlpServiceClient', () => {
836832
new protos.google.privacy.dlp.v2.ListInfoTypesRequest()
837833
);
838834
request.parent = '';
839-
const expectedHeaderRequestParams = 'parent=';
840835
const expectedError = new Error('The client has already been closed.');
841836
client.close();
842837
await assert.rejects(client.listInfoTypes(request), expectedError);
@@ -967,7 +962,6 @@ describe('v2.DlpServiceClient', () => {
967962
new protos.google.privacy.dlp.v2.CreateInspectTemplateRequest()
968963
);
969964
request.parent = '';
970-
const expectedHeaderRequestParams = 'parent=';
971965
const expectedError = new Error('The client has already been closed.');
972966
client.close();
973967
await assert.rejects(
@@ -1101,7 +1095,6 @@ describe('v2.DlpServiceClient', () => {
11011095
new protos.google.privacy.dlp.v2.UpdateInspectTemplateRequest()
11021096
);
11031097
request.name = '';
1104-
const expectedHeaderRequestParams = 'name=';
11051098
const expectedError = new Error('The client has already been closed.');
11061099
client.close();
11071100
await assert.rejects(
@@ -1232,7 +1225,6 @@ describe('v2.DlpServiceClient', () => {
12321225
new protos.google.privacy.dlp.v2.GetInspectTemplateRequest()
12331226
);
12341227
request.name = '';
1235-
const expectedHeaderRequestParams = 'name=';
12361228
const expectedError = new Error('The client has already been closed.');
12371229
client.close();
12381230
await assert.rejects(client.getInspectTemplate(request), expectedError);
@@ -1363,7 +1355,6 @@ describe('v2.DlpServiceClient', () => {
13631355
new protos.google.privacy.dlp.v2.DeleteInspectTemplateRequest()
13641356
);
13651357
request.name = '';
1366-
const expectedHeaderRequestParams = 'name=';
13671358
const expectedError = new Error('The client has already been closed.');
13681359
client.close();
13691360
await assert.rejects(
@@ -1497,7 +1488,6 @@ describe('v2.DlpServiceClient', () => {
14971488
new protos.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest()
14981489
);
14991490
request.parent = '';
1500-
const expectedHeaderRequestParams = 'parent=';
15011491
const expectedError = new Error('The client has already been closed.');
15021492
client.close();
15031493
await assert.rejects(
@@ -1631,7 +1621,6 @@ describe('v2.DlpServiceClient', () => {
16311621
new protos.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest()
16321622
);
16331623
request.name = '';
1634-
const expectedHeaderRequestParams = 'name=';
16351624
const expectedError = new Error('The client has already been closed.');
16361625
client.close();
16371626
await assert.rejects(
@@ -1765,7 +1754,6 @@ describe('v2.DlpServiceClient', () => {
17651754
new protos.google.privacy.dlp.v2.GetDeidentifyTemplateRequest()
17661755
);
17671756
request.name = '';
1768-
const expectedHeaderRequestParams = 'name=';
17691757
const expectedError = new Error('The client has already been closed.');
17701758
client.close();
17711759
await assert.rejects(
@@ -1899,7 +1887,6 @@ describe('v2.DlpServiceClient', () => {
18991887
new protos.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest()
19001888
);
19011889
request.name = '';
1902-
const expectedHeaderRequestParams = 'name=';
19031890
const expectedError = new Error('The client has already been closed.');
19041891
client.close();
19051892
await assert.rejects(
@@ -2029,7 +2016,6 @@ describe('v2.DlpServiceClient', () => {
20292016
new protos.google.privacy.dlp.v2.CreateJobTriggerRequest()
20302017
);
20312018
request.parent = '';
2032-
const expectedHeaderRequestParams = 'parent=';
20332019
const expectedError = new Error('The client has already been closed.');
20342020
client.close();
20352021
await assert.rejects(client.createJobTrigger(request), expectedError);
@@ -2156,7 +2142,6 @@ describe('v2.DlpServiceClient', () => {
21562142
new protos.google.privacy.dlp.v2.UpdateJobTriggerRequest()
21572143
);
21582144
request.name = '';
2159-
const expectedHeaderRequestParams = 'name=';
21602145
const expectedError = new Error('The client has already been closed.');
21612146
client.close();
21622147
await assert.rejects(client.updateJobTrigger(request), expectedError);
@@ -2287,7 +2272,6 @@ describe('v2.DlpServiceClient', () => {
22872272
new protos.google.privacy.dlp.v2.HybridInspectJobTriggerRequest()
22882273
);
22892274
request.name = '';
2290-
const expectedHeaderRequestParams = 'name=';
22912275
const expectedError = new Error('The client has already been closed.');
22922276
client.close();
22932277
await assert.rejects(
@@ -2417,7 +2401,6 @@ describe('v2.DlpServiceClient', () => {
24172401
new protos.google.privacy.dlp.v2.GetJobTriggerRequest()
24182402
);
24192403
request.name = '';
2420-
const expectedHeaderRequestParams = 'name=';
24212404
const expectedError = new Error('The client has already been closed.');
24222405
client.close();
24232406
await assert.rejects(client.getJobTrigger(request), expectedError);
@@ -2544,7 +2527,6 @@ describe('v2.DlpServiceClient', () => {
25442527
new protos.google.privacy.dlp.v2.DeleteJobTriggerRequest()
25452528
);
25462529
request.name = '';
2547-
const expectedHeaderRequestParams = 'name=';
25482530
const expectedError = new Error('The client has already been closed.');
25492531
client.close();
25502532
await assert.rejects(client.deleteJobTrigger(request), expectedError);
@@ -2672,7 +2654,6 @@ describe('v2.DlpServiceClient', () => {
26722654
new protos.google.privacy.dlp.v2.ActivateJobTriggerRequest()
26732655
);
26742656
request.name = '';
2675-
const expectedHeaderRequestParams = 'name=';
26762657
const expectedError = new Error('The client has already been closed.');
26772658
client.close();
26782659
await assert.rejects(client.activateJobTrigger(request), expectedError);
@@ -2799,7 +2780,6 @@ describe('v2.DlpServiceClient', () => {
27992780
new protos.google.privacy.dlp.v2.CreateDlpJobRequest()
28002781
);
28012782
request.parent = '';
2802-
const expectedHeaderRequestParams = 'parent=';
28032783
const expectedError = new Error('The client has already been closed.');
28042784
client.close();
28052785
await assert.rejects(client.createDlpJob(request), expectedError);
@@ -2923,7 +2903,6 @@ describe('v2.DlpServiceClient', () => {
29232903
new protos.google.privacy.dlp.v2.GetDlpJobRequest()
29242904
);
29252905
request.name = '';
2926-
const expectedHeaderRequestParams = 'name=';
29272906
const expectedError = new Error('The client has already been closed.');
29282907
client.close();
29292908
await assert.rejects(client.getDlpJob(request), expectedError);
@@ -3050,7 +3029,6 @@ describe('v2.DlpServiceClient', () => {
30503029
new protos.google.privacy.dlp.v2.DeleteDlpJobRequest()
30513030
);
30523031
request.name = '';
3053-
const expectedHeaderRequestParams = 'name=';
30543032
const expectedError = new Error('The client has already been closed.');
30553033
client.close();
30563034
await assert.rejects(client.deleteDlpJob(request), expectedError);
@@ -3177,7 +3155,6 @@ describe('v2.DlpServiceClient', () => {
31773155
new protos.google.privacy.dlp.v2.CancelDlpJobRequest()
31783156
);
31793157
request.name = '';
3180-
const expectedHeaderRequestParams = 'name=';
31813158
const expectedError = new Error('The client has already been closed.');
31823159
client.close();
31833160
await assert.rejects(client.cancelDlpJob(request), expectedError);
@@ -3305,7 +3282,6 @@ describe('v2.DlpServiceClient', () => {
33053282
new protos.google.privacy.dlp.v2.CreateStoredInfoTypeRequest()
33063283
);
33073284
request.parent = '';
3308-
const expectedHeaderRequestParams = 'parent=';
33093285
const expectedError = new Error('The client has already been closed.');
33103286
client.close();
33113287
await assert.rejects(client.createStoredInfoType(request), expectedError);
@@ -3433,7 +3409,6 @@ describe('v2.DlpServiceClient', () => {
34333409
new protos.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest()
34343410
);
34353411
request.name = '';
3436-
const expectedHeaderRequestParams = 'name=';
34373412
const expectedError = new Error('The client has already been closed.');
34383413
client.close();
34393414
await assert.rejects(client.updateStoredInfoType(request), expectedError);
@@ -3560,7 +3535,6 @@ describe('v2.DlpServiceClient', () => {
35603535
new protos.google.privacy.dlp.v2.GetStoredInfoTypeRequest()
35613536
);
35623537
request.name = '';
3563-
const expectedHeaderRequestParams = 'name=';
35643538
const expectedError = new Error('The client has already been closed.');
35653539
client.close();
35663540
await assert.rejects(client.getStoredInfoType(request), expectedError);
@@ -3688,7 +3662,6 @@ describe('v2.DlpServiceClient', () => {
36883662
new protos.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest()
36893663
);
36903664
request.name = '';
3691-
const expectedHeaderRequestParams = 'name=';
36923665
const expectedError = new Error('The client has already been closed.');
36933666
client.close();
36943667
await assert.rejects(client.deleteStoredInfoType(request), expectedError);
@@ -3816,7 +3789,6 @@ describe('v2.DlpServiceClient', () => {
38163789
new protos.google.privacy.dlp.v2.HybridInspectDlpJobRequest()
38173790
);
38183791
request.name = '';
3819-
const expectedHeaderRequestParams = 'name=';
38203792
const expectedError = new Error('The client has already been closed.');
38213793
client.close();
38223794
await assert.rejects(client.hybridInspectDlpJob(request), expectedError);
@@ -3943,7 +3915,6 @@ describe('v2.DlpServiceClient', () => {
39433915
new protos.google.privacy.dlp.v2.FinishDlpJobRequest()
39443916
);
39453917
request.name = '';
3946-
const expectedHeaderRequestParams = 'name=';
39473918
const expectedError = new Error('The client has already been closed.');
39483919
client.close();
39493920
await assert.rejects(client.finishDlpJob(request), expectedError);

0 commit comments

Comments
 (0)