Skip to content

Commit fb99b91

Browse files
chore: update v2.14.2 gapic-generator-typescript (#541)
- [ ] 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
1 parent baa4eab commit fb99b91

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

packages/google-cloud-kms/test/gapic_ekm_service_v1.ts

-3
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@ describe('v1.EkmServiceClient', () => {
328328
new protos.google.cloud.kms.v1.GetEkmConnectionRequest()
329329
);
330330
request.name = '';
331-
const expectedHeaderRequestParams = 'name=';
332331
const expectedError = new Error('The client has already been closed.');
333332
client.close();
334333
await assert.rejects(client.getEkmConnection(request), expectedError);
@@ -456,7 +455,6 @@ describe('v1.EkmServiceClient', () => {
456455
new protos.google.cloud.kms.v1.CreateEkmConnectionRequest()
457456
);
458457
request.parent = '';
459-
const expectedHeaderRequestParams = 'parent=';
460458
const expectedError = new Error('The client has already been closed.');
461459
client.close();
462460
await assert.rejects(client.createEkmConnection(request), expectedError);
@@ -588,7 +586,6 @@ describe('v1.EkmServiceClient', () => {
588586
);
589587
request.ekmConnection = {};
590588
request.ekmConnection.name = '';
591-
const expectedHeaderRequestParams = 'ekm_connection.name=';
592589
const expectedError = new Error('The client has already been closed.');
593590
client.close();
594591
await assert.rejects(client.updateEkmConnection(request), expectedError);

packages/google-cloud-kms/test/gapic_key_management_service_v1.ts

-22
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@ describe('v1.KeyManagementServiceClient', () => {
347347
new protos.google.cloud.kms.v1.GetKeyRingRequest()
348348
);
349349
request.name = '';
350-
const expectedHeaderRequestParams = 'name=';
351350
const expectedError = new Error('The client has already been closed.');
352351
client.close();
353352
await assert.rejects(client.getKeyRing(request), expectedError);
@@ -478,7 +477,6 @@ describe('v1.KeyManagementServiceClient', () => {
478477
new protos.google.cloud.kms.v1.GetCryptoKeyRequest()
479478
);
480479
request.name = '';
481-
const expectedHeaderRequestParams = 'name=';
482480
const expectedError = new Error('The client has already been closed.');
483481
client.close();
484482
await assert.rejects(client.getCryptoKey(request), expectedError);
@@ -610,7 +608,6 @@ describe('v1.KeyManagementServiceClient', () => {
610608
new protos.google.cloud.kms.v1.GetCryptoKeyVersionRequest()
611609
);
612610
request.name = '';
613-
const expectedHeaderRequestParams = 'name=';
614611
const expectedError = new Error('The client has already been closed.');
615612
client.close();
616613
await assert.rejects(client.getCryptoKeyVersion(request), expectedError);
@@ -741,7 +738,6 @@ describe('v1.KeyManagementServiceClient', () => {
741738
new protos.google.cloud.kms.v1.GetPublicKeyRequest()
742739
);
743740
request.name = '';
744-
const expectedHeaderRequestParams = 'name=';
745741
const expectedError = new Error('The client has already been closed.');
746742
client.close();
747743
await assert.rejects(client.getPublicKey(request), expectedError);
@@ -872,7 +868,6 @@ describe('v1.KeyManagementServiceClient', () => {
872868
new protos.google.cloud.kms.v1.GetImportJobRequest()
873869
);
874870
request.name = '';
875-
const expectedHeaderRequestParams = 'name=';
876871
const expectedError = new Error('The client has already been closed.');
877872
client.close();
878873
await assert.rejects(client.getImportJob(request), expectedError);
@@ -1003,7 +998,6 @@ describe('v1.KeyManagementServiceClient', () => {
1003998
new protos.google.cloud.kms.v1.CreateKeyRingRequest()
1004999
);
10051000
request.parent = '';
1006-
const expectedHeaderRequestParams = 'parent=';
10071001
const expectedError = new Error('The client has already been closed.');
10081002
client.close();
10091003
await assert.rejects(client.createKeyRing(request), expectedError);
@@ -1134,7 +1128,6 @@ describe('v1.KeyManagementServiceClient', () => {
11341128
new protos.google.cloud.kms.v1.CreateCryptoKeyRequest()
11351129
);
11361130
request.parent = '';
1137-
const expectedHeaderRequestParams = 'parent=';
11381131
const expectedError = new Error('The client has already been closed.');
11391132
client.close();
11401133
await assert.rejects(client.createCryptoKey(request), expectedError);
@@ -1269,7 +1262,6 @@ describe('v1.KeyManagementServiceClient', () => {
12691262
new protos.google.cloud.kms.v1.CreateCryptoKeyVersionRequest()
12701263
);
12711264
request.parent = '';
1272-
const expectedHeaderRequestParams = 'parent=';
12731265
const expectedError = new Error('The client has already been closed.');
12741266
client.close();
12751267
await assert.rejects(
@@ -1407,7 +1399,6 @@ describe('v1.KeyManagementServiceClient', () => {
14071399
new protos.google.cloud.kms.v1.ImportCryptoKeyVersionRequest()
14081400
);
14091401
request.parent = '';
1410-
const expectedHeaderRequestParams = 'parent=';
14111402
const expectedError = new Error('The client has already been closed.');
14121403
client.close();
14131404
await assert.rejects(
@@ -1541,7 +1532,6 @@ describe('v1.KeyManagementServiceClient', () => {
15411532
new protos.google.cloud.kms.v1.CreateImportJobRequest()
15421533
);
15431534
request.parent = '';
1544-
const expectedHeaderRequestParams = 'parent=';
15451535
const expectedError = new Error('The client has already been closed.');
15461536
client.close();
15471537
await assert.rejects(client.createImportJob(request), expectedError);
@@ -1676,7 +1666,6 @@ describe('v1.KeyManagementServiceClient', () => {
16761666
);
16771667
request.cryptoKey = {};
16781668
request.cryptoKey.name = '';
1679-
const expectedHeaderRequestParams = 'crypto_key.name=';
16801669
const expectedError = new Error('The client has already been closed.');
16811670
client.close();
16821671
await assert.rejects(client.updateCryptoKey(request), expectedError);
@@ -1815,7 +1804,6 @@ describe('v1.KeyManagementServiceClient', () => {
18151804
);
18161805
request.cryptoKeyVersion = {};
18171806
request.cryptoKeyVersion.name = '';
1818-
const expectedHeaderRequestParams = 'crypto_key_version.name=';
18191807
const expectedError = new Error('The client has already been closed.');
18201808
client.close();
18211809
await assert.rejects(
@@ -1953,7 +1941,6 @@ describe('v1.KeyManagementServiceClient', () => {
19531941
new protos.google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest()
19541942
);
19551943
request.name = '';
1956-
const expectedHeaderRequestParams = 'name=';
19571944
const expectedError = new Error('The client has already been closed.');
19581945
client.close();
19591946
await assert.rejects(
@@ -2091,7 +2078,6 @@ describe('v1.KeyManagementServiceClient', () => {
20912078
new protos.google.cloud.kms.v1.DestroyCryptoKeyVersionRequest()
20922079
);
20932080
request.name = '';
2094-
const expectedHeaderRequestParams = 'name=';
20952081
const expectedError = new Error('The client has already been closed.');
20962082
client.close();
20972083
await assert.rejects(
@@ -2229,7 +2215,6 @@ describe('v1.KeyManagementServiceClient', () => {
22292215
new protos.google.cloud.kms.v1.RestoreCryptoKeyVersionRequest()
22302216
);
22312217
request.name = '';
2232-
const expectedHeaderRequestParams = 'name=';
22332218
const expectedError = new Error('The client has already been closed.');
22342219
client.close();
22352220
await assert.rejects(
@@ -2360,7 +2345,6 @@ describe('v1.KeyManagementServiceClient', () => {
23602345
new protos.google.cloud.kms.v1.EncryptRequest()
23612346
);
23622347
request.name = '';
2363-
const expectedHeaderRequestParams = 'name=';
23642348
const expectedError = new Error('The client has already been closed.');
23652349
client.close();
23662350
await assert.rejects(client.encrypt(request), expectedError);
@@ -2488,7 +2472,6 @@ describe('v1.KeyManagementServiceClient', () => {
24882472
new protos.google.cloud.kms.v1.DecryptRequest()
24892473
);
24902474
request.name = '';
2491-
const expectedHeaderRequestParams = 'name=';
24922475
const expectedError = new Error('The client has already been closed.');
24932476
client.close();
24942477
await assert.rejects(client.decrypt(request), expectedError);
@@ -2619,7 +2602,6 @@ describe('v1.KeyManagementServiceClient', () => {
26192602
new protos.google.cloud.kms.v1.AsymmetricSignRequest()
26202603
);
26212604
request.name = '';
2622-
const expectedHeaderRequestParams = 'name=';
26232605
const expectedError = new Error('The client has already been closed.');
26242606
client.close();
26252607
await assert.rejects(client.asymmetricSign(request), expectedError);
@@ -2750,7 +2732,6 @@ describe('v1.KeyManagementServiceClient', () => {
27502732
new protos.google.cloud.kms.v1.AsymmetricDecryptRequest()
27512733
);
27522734
request.name = '';
2753-
const expectedHeaderRequestParams = 'name=';
27542735
const expectedError = new Error('The client has already been closed.');
27552736
client.close();
27562737
await assert.rejects(client.asymmetricDecrypt(request), expectedError);
@@ -2878,7 +2859,6 @@ describe('v1.KeyManagementServiceClient', () => {
28782859
new protos.google.cloud.kms.v1.MacSignRequest()
28792860
);
28802861
request.name = '';
2881-
const expectedHeaderRequestParams = 'name=';
28822862
const expectedError = new Error('The client has already been closed.');
28832863
client.close();
28842864
await assert.rejects(client.macSign(request), expectedError);
@@ -3006,7 +2986,6 @@ describe('v1.KeyManagementServiceClient', () => {
30062986
new protos.google.cloud.kms.v1.MacVerifyRequest()
30072987
);
30082988
request.name = '';
3009-
const expectedHeaderRequestParams = 'name=';
30102989
const expectedError = new Error('The client has already been closed.');
30112990
client.close();
30122991
await assert.rejects(client.macVerify(request), expectedError);
@@ -3138,7 +3117,6 @@ describe('v1.KeyManagementServiceClient', () => {
31383117
new protos.google.cloud.kms.v1.GenerateRandomBytesRequest()
31393118
);
31403119
request.location = '';
3141-
const expectedHeaderRequestParams = 'location=';
31423120
const expectedError = new Error('The client has already been closed.');
31433121
client.close();
31443122
await assert.rejects(client.generateRandomBytes(request), expectedError);

0 commit comments

Comments
 (0)