Skip to content

Commit

Permalink
chore: update v2.14.2 gapic-generator-typescript (#575)
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 17, 2022
1 parent 2ede35b commit 19b59cd
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,6 @@ describe('v1.AutoscalingPolicyServiceClient', () => {
new protos.google.cloud.dataproc.v1.CreateAutoscalingPolicyRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -490,7 +489,6 @@ describe('v1.AutoscalingPolicyServiceClient', () => {
);
request.policy = {};
request.policy.name = '';
const expectedHeaderRequestParams = 'policy.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -625,7 +623,6 @@ describe('v1.AutoscalingPolicyServiceClient', () => {
new protos.google.cloud.dataproc.v1.GetAutoscalingPolicyRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getAutoscalingPolicy(request), expectedError);
Expand Down Expand Up @@ -760,7 +757,6 @@ describe('v1.AutoscalingPolicyServiceClient', () => {
new protos.google.cloud.dataproc.v1.DeleteAutoscalingPolicyRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,6 @@ describe('v1.BatchControllerClient', () => {
new protos.google.cloud.dataproc.v1.GetBatchRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getBatch(request), expectedError);
Expand Down Expand Up @@ -486,7 +485,6 @@ describe('v1.BatchControllerClient', () => {
new protos.google.cloud.dataproc.v1.DeleteBatchRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteBatch(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,6 @@ describe('v1.ClusterControllerClient', () => {
new protos.google.cloud.dataproc.v1.GetClusterRequest()
);
request.projectId = '';
const expectedHeaderRequestParams = 'project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getCluster(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ describe('v1.JobControllerClient', () => {
new protos.google.cloud.dataproc.v1.SubmitJobRequest()
);
request.projectId = '';
const expectedHeaderRequestParams = 'project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.submitJob(request), expectedError);
Expand Down Expand Up @@ -481,7 +480,6 @@ describe('v1.JobControllerClient', () => {
new protos.google.cloud.dataproc.v1.GetJobRequest()
);
request.projectId = '';
const expectedHeaderRequestParams = 'project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getJob(request), expectedError);
Expand Down Expand Up @@ -605,7 +603,6 @@ describe('v1.JobControllerClient', () => {
new protos.google.cloud.dataproc.v1.UpdateJobRequest()
);
request.projectId = '';
const expectedHeaderRequestParams = 'project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateJob(request), expectedError);
Expand Down Expand Up @@ -729,7 +726,6 @@ describe('v1.JobControllerClient', () => {
new protos.google.cloud.dataproc.v1.CancelJobRequest()
);
request.projectId = '';
const expectedHeaderRequestParams = 'project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.cancelJob(request), expectedError);
Expand Down Expand Up @@ -853,7 +849,6 @@ describe('v1.JobControllerClient', () => {
new protos.google.cloud.dataproc.v1.DeleteJobRequest()
);
request.projectId = '';
const expectedHeaderRequestParams = 'project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteJob(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,6 @@ describe('v1.WorkflowTemplateServiceClient', () => {
new protos.google.cloud.dataproc.v1.CreateWorkflowTemplateRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -515,7 +514,6 @@ describe('v1.WorkflowTemplateServiceClient', () => {
new protos.google.cloud.dataproc.v1.GetWorkflowTemplateRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getWorkflowTemplate(request), expectedError);
Expand Down Expand Up @@ -654,7 +652,6 @@ describe('v1.WorkflowTemplateServiceClient', () => {
);
request.template = {};
request.template.name = '';
const expectedHeaderRequestParams = 'template.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -792,7 +789,6 @@ describe('v1.WorkflowTemplateServiceClient', () => {
new protos.google.cloud.dataproc.v1.DeleteWorkflowTemplateRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down

0 comments on commit 19b59cd

Please sign in to comment.