Skip to content

Commit

Permalink
chore: update v2.14.2 gapic-generator-typescript (#524)
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 e76047c commit e3aa36b
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions packages/google-container/test/gapic_cluster_manager_v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.parent = '';
request.projectId = '';
const expectedHeaderRequestParams = 'parent=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.listClusters(request), expectedError);
Expand Down Expand Up @@ -465,7 +464,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getCluster(request), expectedError);
Expand Down Expand Up @@ -596,7 +594,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.parent = '';
request.projectId = '';
const expectedHeaderRequestParams = 'parent=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createCluster(request), expectedError);
Expand Down Expand Up @@ -727,7 +724,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateCluster(request), expectedError);
Expand Down Expand Up @@ -858,7 +854,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateNodePool(request), expectedError);
Expand Down Expand Up @@ -993,7 +988,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -1127,7 +1121,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.setLoggingService(request), expectedError);
Expand Down Expand Up @@ -1259,7 +1252,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.setMonitoringService(request), expectedError);
Expand Down Expand Up @@ -1390,7 +1382,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.setAddonsConfig(request), expectedError);
Expand Down Expand Up @@ -1528,7 +1519,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.setLocations(request), expectedError);
Expand Down Expand Up @@ -1660,7 +1650,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateMaster(request), expectedError);
Expand Down Expand Up @@ -1791,7 +1780,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.setMasterAuth(request), expectedError);
Expand Down Expand Up @@ -1922,7 +1910,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteCluster(request), expectedError);
Expand Down Expand Up @@ -2053,7 +2040,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.parent = '';
request.projectId = '';
const expectedHeaderRequestParams = 'parent=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.listOperations(request), expectedError);
Expand Down Expand Up @@ -2184,7 +2170,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getOperation(request), expectedError);
Expand Down Expand Up @@ -2315,7 +2300,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.cancelOperation(request), expectedError);
Expand Down Expand Up @@ -2446,7 +2430,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getServerConfig(request), expectedError);
Expand Down Expand Up @@ -2573,7 +2556,6 @@ describe('v1.ClusterManagerClient', () => {
new protos.google.container.v1.GetJSONWebKeysRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getJSONWebKeys(request), expectedError);
Expand Down Expand Up @@ -2704,7 +2686,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.parent = '';
request.projectId = '';
const expectedHeaderRequestParams = 'parent=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.listNodePools(request), expectedError);
Expand Down Expand Up @@ -2835,7 +2816,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getNodePool(request), expectedError);
Expand Down Expand Up @@ -2966,7 +2946,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.parent = '';
request.projectId = '';
const expectedHeaderRequestParams = 'parent=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createNodePool(request), expectedError);
Expand Down Expand Up @@ -3097,7 +3076,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.deleteNodePool(request), expectedError);
Expand Down Expand Up @@ -3232,7 +3210,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -3370,7 +3347,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -3501,7 +3477,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.setLabels(request), expectedError);
Expand Down Expand Up @@ -3632,7 +3607,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.setLegacyAbac(request), expectedError);
Expand Down Expand Up @@ -3763,7 +3737,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.startIPRotation(request), expectedError);
Expand Down Expand Up @@ -3895,7 +3868,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.completeIPRotation(request), expectedError);
Expand Down Expand Up @@ -4026,7 +3998,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.setNodePoolSize(request), expectedError);
Expand Down Expand Up @@ -4157,7 +4128,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.setNetworkPolicy(request), expectedError);
Expand Down Expand Up @@ -4289,7 +4259,6 @@ describe('v1.ClusterManagerClient', () => {
);
request.name = '';
request.projectId = '';
const expectedHeaderRequestParams = 'name=&project_id=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.setMaintenancePolicy(request), expectedError);
Expand Down

0 comments on commit e3aa36b

Please sign in to comment.