Skip to content

Commit

Permalink
chore: update v2.14.2 gapic-generator-typescript (#541)
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 baa4eab commit fb99b91
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
3 changes: 0 additions & 3 deletions packages/google-cloud-kms/test/gapic_ekm_service_v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ describe('v1.EkmServiceClient', () => {
new protos.google.cloud.kms.v1.GetEkmConnectionRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getEkmConnection(request), expectedError);
Expand Down Expand Up @@ -456,7 +455,6 @@ describe('v1.EkmServiceClient', () => {
new protos.google.cloud.kms.v1.CreateEkmConnectionRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createEkmConnection(request), expectedError);
Expand Down Expand Up @@ -588,7 +586,6 @@ describe('v1.EkmServiceClient', () => {
);
request.ekmConnection = {};
request.ekmConnection.name = '';
const expectedHeaderRequestParams = 'ekm_connection.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateEkmConnection(request), expectedError);
Expand Down
22 changes: 0 additions & 22 deletions packages/google-cloud-kms/test/gapic_key_management_service_v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.GetKeyRingRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getKeyRing(request), expectedError);
Expand Down Expand Up @@ -478,7 +477,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.GetCryptoKeyRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getCryptoKey(request), expectedError);
Expand Down Expand Up @@ -610,7 +608,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.GetCryptoKeyVersionRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getCryptoKeyVersion(request), expectedError);
Expand Down Expand Up @@ -741,7 +738,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.GetPublicKeyRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getPublicKey(request), expectedError);
Expand Down Expand Up @@ -872,7 +868,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.GetImportJobRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.getImportJob(request), expectedError);
Expand Down Expand Up @@ -1003,7 +998,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.CreateKeyRingRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createKeyRing(request), expectedError);
Expand Down Expand Up @@ -1134,7 +1128,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.CreateCryptoKeyRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createCryptoKey(request), expectedError);
Expand Down Expand Up @@ -1269,7 +1262,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.CreateCryptoKeyVersionRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -1407,7 +1399,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.ImportCryptoKeyVersionRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -1541,7 +1532,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.CreateImportJobRequest()
);
request.parent = '';
const expectedHeaderRequestParams = 'parent=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.createImportJob(request), expectedError);
Expand Down Expand Up @@ -1676,7 +1666,6 @@ describe('v1.KeyManagementServiceClient', () => {
);
request.cryptoKey = {};
request.cryptoKey.name = '';
const expectedHeaderRequestParams = 'crypto_key.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.updateCryptoKey(request), expectedError);
Expand Down Expand Up @@ -1815,7 +1804,6 @@ describe('v1.KeyManagementServiceClient', () => {
);
request.cryptoKeyVersion = {};
request.cryptoKeyVersion.name = '';
const expectedHeaderRequestParams = 'crypto_key_version.name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -1953,7 +1941,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.UpdateCryptoKeyPrimaryVersionRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -2091,7 +2078,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.DestroyCryptoKeyVersionRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -2229,7 +2215,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.RestoreCryptoKeyVersionRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(
Expand Down Expand Up @@ -2360,7 +2345,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.EncryptRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.encrypt(request), expectedError);
Expand Down Expand Up @@ -2488,7 +2472,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.DecryptRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.decrypt(request), expectedError);
Expand Down Expand Up @@ -2619,7 +2602,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.AsymmetricSignRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.asymmetricSign(request), expectedError);
Expand Down Expand Up @@ -2750,7 +2732,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.AsymmetricDecryptRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.asymmetricDecrypt(request), expectedError);
Expand Down Expand Up @@ -2878,7 +2859,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.MacSignRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.macSign(request), expectedError);
Expand Down Expand Up @@ -3006,7 +2986,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.MacVerifyRequest()
);
request.name = '';
const expectedHeaderRequestParams = 'name=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.macVerify(request), expectedError);
Expand Down Expand Up @@ -3138,7 +3117,6 @@ describe('v1.KeyManagementServiceClient', () => {
new protos.google.cloud.kms.v1.GenerateRandomBytesRequest()
);
request.location = '';
const expectedHeaderRequestParams = 'location=';
const expectedError = new Error('The client has already been closed.');
client.close();
await assert.rejects(client.generateRandomBytes(request), expectedError);
Expand Down

0 comments on commit fb99b91

Please sign in to comment.