Skip to content

Commit

Permalink
chore: update v2.14.2 gapic-generator-typescript (#344)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

Committer: @summer-ji-eng
PiperOrigin-RevId: 434859890

Source-Link: googleapis/googleapis@bc2432d

Source-Link: googleapis/googleapis-gen@930b673
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOTMwYjY3MzEwM2U5MjUyM2Y4Y2ZlZDM4ZGVjZDdkM2FmYWU4ZWJlNyJ9
  • Loading branch information
gcf-owl-bot[bot] authored Mar 16, 2022
1 parent eabbf80 commit 244b17e
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 76 deletions.
27 changes: 0 additions & 27 deletions packages/google-cloud-datacatalog/test/gapic_data_catalog_v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.CreateEntryGroupRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createEntryGroup(request), expectedError);
Expand Down Expand Up @@ -455,7 +454,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.GetEntryGroupRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getEntryGroup(request), expectedError);
Expand Down Expand Up @@ -586,7 +584,6 @@ describe('v1.DataCatalogClient', () => {
);
request.entryGroup = {};
request.entryGroup.name = '';
const expectedHeaderRequestParams = 'entry_group.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateEntryGroup(request), expectedError);
Expand Down Expand Up @@ -713,7 +710,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.DeleteEntryGroupRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteEntryGroup(request), expectedError);
Expand Down Expand Up @@ -840,7 +836,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.CreateEntryRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createEntry(request), expectedError);
Expand Down Expand Up @@ -971,7 +966,6 @@ describe('v1.DataCatalogClient', () => {
);
request.entry = {};
request.entry.name = '';
const expectedHeaderRequestParams = 'entry.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateEntry(request), expectedError);
Expand Down Expand Up @@ -1098,7 +1092,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.DeleteEntryRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteEntry(request), expectedError);
Expand Down Expand Up @@ -1222,7 +1215,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.GetEntryRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getEntry(request), expectedError);
Expand Down Expand Up @@ -1451,7 +1443,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.ModifyEntryOverviewRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.modifyEntryOverview(request), expectedError);
Expand Down Expand Up @@ -1579,7 +1570,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.ModifyEntryContactsRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.modifyEntryContacts(request), expectedError);
Expand Down Expand Up @@ -1706,7 +1696,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.CreateTagTemplateRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createTagTemplate(request), expectedError);
Expand Down Expand Up @@ -1833,7 +1822,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.GetTagTemplateRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getTagTemplate(request), expectedError);
Expand Down Expand Up @@ -1964,7 +1952,6 @@ describe('v1.DataCatalogClient', () => {
);
request.tagTemplate = {};
request.tagTemplate.name = '';
const expectedHeaderRequestParams = 'tag_template.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateTagTemplate(request), expectedError);
Expand Down Expand Up @@ -2091,7 +2078,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.DeleteTagTemplateRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteTagTemplate(request), expectedError);
Expand Down Expand Up @@ -2222,7 +2208,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.CreateTagTemplateFieldRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -2356,7 +2341,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.UpdateTagTemplateFieldRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -2490,7 +2474,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.RenameTagTemplateFieldRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -2624,7 +2607,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.RenameTagTemplateFieldEnumValueRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -2758,7 +2740,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.DeleteTagTemplateFieldRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -2885,7 +2866,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.CreateTagRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createTag(request), expectedError);
Expand Down Expand Up @@ -3013,7 +2993,6 @@ describe('v1.DataCatalogClient', () => {
);
request.tag = {};
request.tag.name = '';
const expectedHeaderRequestParams = 'tag.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateTag(request), expectedError);
Expand Down Expand Up @@ -3137,7 +3116,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.DeleteTagRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteTag(request), expectedError);
Expand Down Expand Up @@ -3261,7 +3239,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.StarEntryRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.starEntry(request), expectedError);
Expand Down Expand Up @@ -3388,7 +3365,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1.UnstarEntryRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.unstarEntry(request), expectedError);
Expand Down Expand Up @@ -3515,7 +3491,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.iam.v1.SetIamPolicyRequest()
);
request.resource = '';
const expectedHeaderRequestParams = 'resource=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.setIamPolicy(request), expectedError);
Expand Down Expand Up @@ -3642,7 +3617,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.iam.v1.GetIamPolicyRequest()
);
request.resource = '';
const expectedHeaderRequestParams = 'resource=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getIamPolicy(request), expectedError);
Expand Down Expand Up @@ -3770,7 +3744,6 @@ describe('v1.DataCatalogClient', () => {
new protos.google.iam.v1.TestIamPermissionsRequest()
);
request.resource = '';
const expectedHeaderRequestParams = 'resource=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.testIamPermissions(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1beta1.CreateEntryGroupRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createEntryGroup(request), expectedError);
Expand Down Expand Up @@ -459,7 +458,6 @@ describe('v1beta1.DataCatalogClient', () => {
);
request.entryGroup = {};
request.entryGroup.name = '';
const expectedHeaderRequestParams = 'entry_group.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateEntryGroup(request), expectedError);
Expand Down Expand Up @@ -586,7 +584,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1beta1.GetEntryGroupRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getEntryGroup(request), expectedError);
Expand Down Expand Up @@ -713,7 +710,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteEntryGroup(request), expectedError);
Expand Down Expand Up @@ -840,7 +836,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1beta1.CreateEntryRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createEntry(request), expectedError);
Expand Down Expand Up @@ -971,7 +966,6 @@ describe('v1beta1.DataCatalogClient', () => {
);
request.entry = {};
request.entry.name = '';
const expectedHeaderRequestParams = 'entry.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateEntry(request), expectedError);
Expand Down Expand Up @@ -1098,7 +1092,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1beta1.DeleteEntryRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteEntry(request), expectedError);
Expand Down Expand Up @@ -1222,7 +1215,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1beta1.GetEntryRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getEntry(request), expectedError);
Expand Down Expand Up @@ -1450,7 +1442,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1beta1.CreateTagTemplateRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createTagTemplate(request), expectedError);
Expand Down Expand Up @@ -1577,7 +1568,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1beta1.GetTagTemplateRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getTagTemplate(request), expectedError);
Expand Down Expand Up @@ -1708,7 +1698,6 @@ describe('v1beta1.DataCatalogClient', () => {
);
request.tagTemplate = {};
request.tagTemplate.name = '';
const expectedHeaderRequestParams = 'tag_template.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateTagTemplate(request), expectedError);
Expand Down Expand Up @@ -1835,7 +1824,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1beta1.DeleteTagTemplateRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteTagTemplate(request), expectedError);
Expand Down Expand Up @@ -1966,7 +1954,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1beta1.CreateTagTemplateFieldRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -2100,7 +2087,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1beta1.UpdateTagTemplateFieldRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -2234,7 +2220,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1beta1.RenameTagTemplateFieldRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -2368,7 +2353,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1beta1.DeleteTagTemplateFieldRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -2495,7 +2479,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1beta1.CreateTagRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createTag(request), expectedError);
Expand Down Expand Up @@ -2623,7 +2606,6 @@ describe('v1beta1.DataCatalogClient', () => {
);
request.tag = {};
request.tag.name = '';
const expectedHeaderRequestParams = 'tag.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateTag(request), expectedError);
Expand Down Expand Up @@ -2747,7 +2729,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.cloud.datacatalog.v1beta1.DeleteTagRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteTag(request), expectedError);
Expand Down Expand Up @@ -2874,7 +2855,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.iam.v1.SetIamPolicyRequest()
);
request.resource = '';
const expectedHeaderRequestParams = 'resource=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.setIamPolicy(request), expectedError);
Expand Down Expand Up @@ -3001,7 +2981,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.iam.v1.GetIamPolicyRequest()
);
request.resource = '';
const expectedHeaderRequestParams = 'resource=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getIamPolicy(request), expectedError);
Expand Down Expand Up @@ -3129,7 +3108,6 @@ describe('v1beta1.DataCatalogClient', () => {
new protos.google.iam.v1.TestIamPermissionsRequest()
);
request.resource = '';
const expectedHeaderRequestParams = 'resource=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.testIamPermissions(request), expectedError);
Expand Down
Loading

0 comments on commit 244b17e

Please sign in to comment.