Skip to content

Commit

Permalink
chore: update v2.14.2 gapic-generator-typescript (#692)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Mar 17, 2022
1 parent b732c1d commit 3764743
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions packages/google-privacy-dlp/test/gapic_dlp_service_v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.InspectContentRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.inspectContent(request), expectedError);
Expand Down Expand Up @@ -455,7 +454,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.RedactImageRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.redactImage(request), expectedError);
Expand Down Expand Up @@ -582,7 +580,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.DeidentifyContentRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deidentifyContent(request), expectedError);
Expand Down Expand Up @@ -709,7 +706,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.ReidentifyContentRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.reidentifyContent(request), expectedError);
Expand Down Expand Up @@ -836,7 +832,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.ListInfoTypesRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.listInfoTypes(request), expectedError);
Expand Down Expand Up @@ -967,7 +962,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.CreateInspectTemplateRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -1101,7 +1095,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.UpdateInspectTemplateRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -1232,7 +1225,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.GetInspectTemplateRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getInspectTemplate(request), expectedError);
Expand Down Expand Up @@ -1363,7 +1355,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.DeleteInspectTemplateRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -1497,7 +1488,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.CreateDeidentifyTemplateRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -1631,7 +1621,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -1765,7 +1754,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.GetDeidentifyTemplateRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -1899,7 +1887,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.DeleteDeidentifyTemplateRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -2029,7 +2016,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.CreateJobTriggerRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createJobTrigger(request), expectedError);
Expand Down Expand Up @@ -2156,7 +2142,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.UpdateJobTriggerRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateJobTrigger(request), expectedError);
Expand Down Expand Up @@ -2287,7 +2272,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.HybridInspectJobTriggerRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -2417,7 +2401,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.GetJobTriggerRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getJobTrigger(request), expectedError);
Expand Down Expand Up @@ -2544,7 +2527,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.DeleteJobTriggerRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteJobTrigger(request), expectedError);
Expand Down Expand Up @@ -2672,7 +2654,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.ActivateJobTriggerRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.activateJobTrigger(request), expectedError);
Expand Down Expand Up @@ -2799,7 +2780,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.CreateDlpJobRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createDlpJob(request), expectedError);
Expand Down Expand Up @@ -2923,7 +2903,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.GetDlpJobRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getDlpJob(request), expectedError);
Expand Down Expand Up @@ -3050,7 +3029,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.DeleteDlpJobRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteDlpJob(request), expectedError);
Expand Down Expand Up @@ -3177,7 +3155,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.CancelDlpJobRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.cancelDlpJob(request), expectedError);
Expand Down Expand Up @@ -3305,7 +3282,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.CreateStoredInfoTypeRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createStoredInfoType(request), expectedError);
Expand Down Expand Up @@ -3433,7 +3409,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.UpdateStoredInfoTypeRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateStoredInfoType(request), expectedError);
Expand Down Expand Up @@ -3560,7 +3535,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.GetStoredInfoTypeRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getStoredInfoType(request), expectedError);
Expand Down Expand Up @@ -3688,7 +3662,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.DeleteStoredInfoTypeRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteStoredInfoType(request), expectedError);
Expand Down Expand Up @@ -3816,7 +3789,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.HybridInspectDlpJobRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.hybridInspectDlpJob(request), expectedError);
Expand Down Expand Up @@ -3943,7 +3915,6 @@ describe('v2.DlpServiceClient', () => {
new protos.google.privacy.dlp.v2.FinishDlpJobRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.finishDlpJob(request), expectedError);
Expand Down

0 comments on commit 3764743

Please sign in to comment.