Skip to content

Commit

Permalink
chore: update v2.14.2 gapic-generator-typescript (#406)
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 5906122 commit 564f7d7
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ describe('v4beta1.ApplicationServiceClient', () => {
new protos.google.cloud.talent.v4beta1.CreateApplicationRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createApplication(request), expectedError);
Expand Down Expand Up @@ -472,7 +471,6 @@ describe('v4beta1.ApplicationServiceClient', () => {
new protos.google.cloud.talent.v4beta1.GetApplicationRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getApplication(request), expectedError);
Expand Down Expand Up @@ -607,7 +605,6 @@ describe('v4beta1.ApplicationServiceClient', () => {
);
request.application = {};
request.application.name = '';
const expectedHeaderRequestParams = 'application.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateApplication(request), expectedError);
Expand Down Expand Up @@ -738,7 +735,6 @@ describe('v4beta1.ApplicationServiceClient', () => {
new protos.google.cloud.talent.v4beta1.DeleteApplicationRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteApplication(request), expectedError);
Expand Down
4 changes: 0 additions & 4 deletions packages/google-cloud-talent/test/gapic_company_service_v4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ describe('v4.CompanyServiceClient', () => {
new protos.google.cloud.talent.v4.CreateCompanyRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createCompany(request), expectedError);
Expand Down Expand Up @@ -457,7 +456,6 @@ describe('v4.CompanyServiceClient', () => {
new protos.google.cloud.talent.v4.GetCompanyRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getCompany(request), expectedError);
Expand Down Expand Up @@ -588,7 +586,6 @@ describe('v4.CompanyServiceClient', () => {
);
request.company = {};
request.company.name = '';
const expectedHeaderRequestParams = 'company.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateCompany(request), expectedError);
Expand Down Expand Up @@ -715,7 +712,6 @@ describe('v4.CompanyServiceClient', () => {
new protos.google.cloud.talent.v4.DeleteCompanyRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteCompany(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ describe('v4beta1.CompanyServiceClient', () => {
new protos.google.cloud.talent.v4beta1.CreateCompanyRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createCompany(request), expectedError);
Expand Down Expand Up @@ -457,7 +456,6 @@ describe('v4beta1.CompanyServiceClient', () => {
new protos.google.cloud.talent.v4beta1.GetCompanyRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getCompany(request), expectedError);
Expand Down Expand Up @@ -588,7 +586,6 @@ describe('v4beta1.CompanyServiceClient', () => {
);
request.company = {};
request.company.name = '';
const expectedHeaderRequestParams = 'company.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateCompany(request), expectedError);
Expand Down Expand Up @@ -715,7 +712,6 @@ describe('v4beta1.CompanyServiceClient', () => {
new protos.google.cloud.talent.v4beta1.DeleteCompanyRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteCompany(request), expectedError);
Expand Down
1 change: 0 additions & 1 deletion packages/google-cloud-talent/test/gapic_completion_v4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ describe('v4.CompletionClient', () => {
new protos.google.cloud.talent.v4.CompleteQueryRequest()
);
request.tenant = '';
const expectedHeaderRequestParams = 'tenant=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.completeQuery(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ describe('v4beta1.CompletionClient', () => {
new protos.google.cloud.talent.v4beta1.CompleteQueryRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.completeQuery(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,6 @@ describe('v4.EventServiceClient', () => {
new protos.google.cloud.talent.v4.CreateClientEventRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createClientEvent(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ describe('v4beta1.EventServiceClient', () => {
new protos.google.cloud.talent.v4beta1.CreateClientEventRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createClientEvent(request), expectedError);
Expand Down
6 changes: 0 additions & 6 deletions packages/google-cloud-talent/test/gapic_job_service_v4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ describe('v4.JobServiceClient', () => {
new protos.google.cloud.talent.v4.CreateJobRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createJob(request), expectedError);
Expand Down Expand Up @@ -481,7 +480,6 @@ describe('v4.JobServiceClient', () => {
new protos.google.cloud.talent.v4.GetJobRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getJob(request), expectedError);
Expand Down Expand Up @@ -609,7 +607,6 @@ describe('v4.JobServiceClient', () => {
);
request.job = {};
request.job.name = '';
const expectedHeaderRequestParams = 'job.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateJob(request), expectedError);
Expand Down Expand Up @@ -733,7 +730,6 @@ describe('v4.JobServiceClient', () => {
new protos.google.cloud.talent.v4.DeleteJobRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteJob(request), expectedError);
Expand Down Expand Up @@ -860,7 +856,6 @@ describe('v4.JobServiceClient', () => {
new protos.google.cloud.talent.v4.SearchJobsRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.searchJobs(request), expectedError);
Expand Down Expand Up @@ -988,7 +983,6 @@ describe('v4.JobServiceClient', () => {
new protos.google.cloud.talent.v4.SearchJobsRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.searchJobsForAlert(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ describe('v4beta1.JobServiceClient', () => {
new protos.google.cloud.talent.v4beta1.CreateJobRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createJob(request), expectedError);
Expand Down Expand Up @@ -481,7 +480,6 @@ describe('v4beta1.JobServiceClient', () => {
new protos.google.cloud.talent.v4beta1.GetJobRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getJob(request), expectedError);
Expand Down Expand Up @@ -609,7 +607,6 @@ describe('v4beta1.JobServiceClient', () => {
);
request.job = {};
request.job.name = '';
const expectedHeaderRequestParams = 'job.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateJob(request), expectedError);
Expand Down Expand Up @@ -733,7 +730,6 @@ describe('v4beta1.JobServiceClient', () => {
new protos.google.cloud.talent.v4beta1.DeleteJobRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteJob(request), expectedError);
Expand Down Expand Up @@ -860,7 +856,6 @@ describe('v4beta1.JobServiceClient', () => {
new protos.google.cloud.talent.v4beta1.BatchDeleteJobsRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.batchDeleteJobs(request), expectedError);
Expand Down Expand Up @@ -987,7 +982,6 @@ describe('v4beta1.JobServiceClient', () => {
new protos.google.cloud.talent.v4beta1.SearchJobsRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.searchJobs(request), expectedError);
Expand Down Expand Up @@ -1115,7 +1109,6 @@ describe('v4beta1.JobServiceClient', () => {
new protos.google.cloud.talent.v4beta1.SearchJobsRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.searchJobsForAlert(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ describe('v4beta1.ProfileServiceClient', () => {
new protos.google.cloud.talent.v4beta1.CreateProfileRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createProfile(request), expectedError);
Expand Down Expand Up @@ -457,7 +456,6 @@ describe('v4beta1.ProfileServiceClient', () => {
new protos.google.cloud.talent.v4beta1.GetProfileRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getProfile(request), expectedError);
Expand Down Expand Up @@ -588,7 +586,6 @@ describe('v4beta1.ProfileServiceClient', () => {
);
request.profile = {};
request.profile.name = '';
const expectedHeaderRequestParams = 'profile.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateProfile(request), expectedError);
Expand Down Expand Up @@ -715,7 +712,6 @@ describe('v4beta1.ProfileServiceClient', () => {
new protos.google.cloud.talent.v4beta1.DeleteProfileRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteProfile(request), expectedError);
Expand Down Expand Up @@ -842,7 +838,6 @@ describe('v4beta1.ProfileServiceClient', () => {
new protos.google.cloud.talent.v4beta1.SearchProfilesRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.searchProfiles(request), expectedError);
Expand Down
4 changes: 0 additions & 4 deletions packages/google-cloud-talent/test/gapic_tenant_service_v4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ describe('v4.TenantServiceClient', () => {
new protos.google.cloud.talent.v4.CreateTenantRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createTenant(request), expectedError);
Expand Down Expand Up @@ -452,7 +451,6 @@ describe('v4.TenantServiceClient', () => {
new protos.google.cloud.talent.v4.GetTenantRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getTenant(request), expectedError);
Expand Down Expand Up @@ -583,7 +581,6 @@ describe('v4.TenantServiceClient', () => {
);
request.tenant = {};
request.tenant.name = '';
const expectedHeaderRequestParams = 'tenant.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateTenant(request), expectedError);
Expand Down Expand Up @@ -710,7 +707,6 @@ describe('v4.TenantServiceClient', () => {
new protos.google.cloud.talent.v4.DeleteTenantRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteTenant(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@ describe('v4beta1.TenantServiceClient', () => {
new protos.google.cloud.talent.v4beta1.CreateTenantRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createTenant(request), expectedError);
Expand Down Expand Up @@ -454,7 +453,6 @@ describe('v4beta1.TenantServiceClient', () => {
new protos.google.cloud.talent.v4beta1.GetTenantRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getTenant(request), expectedError);
Expand Down Expand Up @@ -585,7 +583,6 @@ describe('v4beta1.TenantServiceClient', () => {
);
request.tenant = {};
request.tenant.name = '';
const expectedHeaderRequestParams = 'tenant.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateTenant(request), expectedError);
Expand Down Expand Up @@ -712,7 +709,6 @@ describe('v4beta1.TenantServiceClient', () => {
new protos.google.cloud.talent.v4beta1.DeleteTenantRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteTenant(request), expectedError);
Expand Down

0 comments on commit 564f7d7

Please sign in to comment.