Skip to content

Commit

Permalink
chore: update v2.14.2 gapic-generator-typescript (#598)
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 16, 2022
1 parent 7e1ce9b commit 7fd95b1
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 18 deletions.
6 changes: 0 additions & 6 deletions packages/google-cloud-automl/test/gapic_auto_ml_v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@ describe('v1.AutoMlClient', () => {
new protos.google.cloud.automl.v1.GetDatasetRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getDataset(request), expectedError);
Expand Down Expand Up @@ -491,7 +490,6 @@ describe('v1.AutoMlClient', () => {
);
request.dataset = {};
request.dataset.name = '';
const expectedHeaderRequestParams = 'dataset.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateDataset(request), expectedError);
Expand Down Expand Up @@ -618,7 +616,6 @@ describe('v1.AutoMlClient', () => {
new protos.google.cloud.automl.v1.GetAnnotationSpecRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getAnnotationSpec(request), expectedError);
Expand Down Expand Up @@ -742,7 +739,6 @@ describe('v1.AutoMlClient', () => {
new protos.google.cloud.automl.v1.GetModelRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getModel(request), expectedError);
Expand Down Expand Up @@ -873,7 +869,6 @@ describe('v1.AutoMlClient', () => {
);
request.model = {};
request.model.name = '';
const expectedHeaderRequestParams = 'model.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateModel(request), expectedError);
Expand Down Expand Up @@ -1001,7 +996,6 @@ describe('v1.AutoMlClient', () => {
new protos.google.cloud.automl.v1.GetModelEvaluationRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getModelEvaluation(request), expectedError);
Expand Down
10 changes: 0 additions & 10 deletions packages/google-cloud-automl/test/gapic_auto_ml_v1beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@ describe('v1beta1.AutoMlClient', () => {
new protos.google.cloud.automl.v1beta1.CreateDatasetRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createDataset(request), expectedError);
Expand Down Expand Up @@ -487,7 +486,6 @@ describe('v1beta1.AutoMlClient', () => {
new protos.google.cloud.automl.v1beta1.GetDatasetRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getDataset(request), expectedError);
Expand Down Expand Up @@ -618,7 +616,6 @@ describe('v1beta1.AutoMlClient', () => {
);
request.dataset = {};
request.dataset.name = '';
const expectedHeaderRequestParams = 'dataset.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateDataset(request), expectedError);
Expand Down Expand Up @@ -745,7 +742,6 @@ describe('v1beta1.AutoMlClient', () => {
new protos.google.cloud.automl.v1beta1.GetAnnotationSpecRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getAnnotationSpec(request), expectedError);
Expand Down Expand Up @@ -872,7 +868,6 @@ describe('v1beta1.AutoMlClient', () => {
new protos.google.cloud.automl.v1beta1.GetTableSpecRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getTableSpec(request), expectedError);
Expand Down Expand Up @@ -1003,7 +998,6 @@ describe('v1beta1.AutoMlClient', () => {
);
request.tableSpec = {};
request.tableSpec.name = '';
const expectedHeaderRequestParams = 'table_spec.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateTableSpec(request), expectedError);
Expand Down Expand Up @@ -1130,7 +1124,6 @@ describe('v1beta1.AutoMlClient', () => {
new protos.google.cloud.automl.v1beta1.GetColumnSpecRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getColumnSpec(request), expectedError);
Expand Down Expand Up @@ -1261,7 +1254,6 @@ describe('v1beta1.AutoMlClient', () => {
);
request.columnSpec = {};
request.columnSpec.name = '';
const expectedHeaderRequestParams = 'column_spec.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateColumnSpec(request), expectedError);
Expand Down Expand Up @@ -1385,7 +1377,6 @@ describe('v1beta1.AutoMlClient', () => {
new protos.google.cloud.automl.v1beta1.GetModelRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getModel(request), expectedError);
Expand Down Expand Up @@ -1513,7 +1504,6 @@ describe('v1beta1.AutoMlClient', () => {
new protos.google.cloud.automl.v1beta1.GetModelEvaluationRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getModelEvaluation(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,6 @@ describe('v1.PredictionServiceClient', () => {
new protos.google.cloud.automl.v1.PredictRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.predict(request), expectedError);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ describe('v1beta1.PredictionServiceClient', () => {
new protos.google.cloud.automl.v1beta1.PredictRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.predict(request), expectedError);
Expand Down

0 comments on commit 7fd95b1

Please sign in to comment.