googleapis / nodejs-kms

This repository is deprecated. All of its content and history has been moved to googleapis/google-cloud-node.
https://cloud.google.com/kms/
Apache License 2.0
56 stars 25 forks source link

docs(samples): add auto-generated samples for Node with api short name in region tag #502

Closed gcf-owl-bot[bot] closed 3 years ago

gcf-owl-bot[bot] commented 3 years ago

PiperOrigin-RevId: 399287285

Source-Link: https://github.com/googleapis/googleapis/commit/15759865d1c54e3d46429010f7e472fe6c3d3715

Source-Link: https://github.com/googleapis/googleapis-gen/commit/b27fff623a5d8d586b703b5e4919856abe7c2eb3 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjI3ZmZmNjIzYTVkOGQ1ODZiNzAzYjVlNDkxOTg1NmFiZTdjMmViMyJ9

snippet-bot[bot] commented 3 years ago

Here is the summary of changes.

You are about to add 26 region tags. - [samples/generated/v1/key_management_service.asymmetric_decrypt.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.asymmetric_decrypt.js#L18), tag `cloudkms_v1_generated_KeyManagementService_AsymmetricDecrypt_async` - [samples/generated/v1/key_management_service.asymmetric_sign.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.asymmetric_sign.js#L18), tag `cloudkms_v1_generated_KeyManagementService_AsymmetricSign_async` - [samples/generated/v1/key_management_service.create_crypto_key.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.create_crypto_key.js#L18), tag `cloudkms_v1_generated_KeyManagementService_CreateCryptoKey_async` - [samples/generated/v1/key_management_service.create_crypto_key_version.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.create_crypto_key_version.js#L18), tag `cloudkms_v1_generated_KeyManagementService_CreateCryptoKeyVersion_async` - [samples/generated/v1/key_management_service.create_import_job.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.create_import_job.js#L18), tag `cloudkms_v1_generated_KeyManagementService_CreateImportJob_async` - [samples/generated/v1/key_management_service.create_key_ring.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.create_key_ring.js#L18), tag `cloudkms_v1_generated_KeyManagementService_CreateKeyRing_async` - [samples/generated/v1/key_management_service.decrypt.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.decrypt.js#L18), tag `cloudkms_v1_generated_KeyManagementService_Decrypt_async` - [samples/generated/v1/key_management_service.destroy_crypto_key_version.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.destroy_crypto_key_version.js#L18), tag `cloudkms_v1_generated_KeyManagementService_DestroyCryptoKeyVersion_async` - [samples/generated/v1/key_management_service.encrypt.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.encrypt.js#L18), tag `cloudkms_v1_generated_KeyManagementService_Encrypt_async` - [samples/generated/v1/key_management_service.generate_random_bytes.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.generate_random_bytes.js#L18), tag `cloudkms_v1_generated_KeyManagementService_GenerateRandomBytes_async` - [samples/generated/v1/key_management_service.get_crypto_key.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.get_crypto_key.js#L18), tag `cloudkms_v1_generated_KeyManagementService_GetCryptoKey_async` - [samples/generated/v1/key_management_service.get_crypto_key_version.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.get_crypto_key_version.js#L18), tag `cloudkms_v1_generated_KeyManagementService_GetCryptoKeyVersion_async` - [samples/generated/v1/key_management_service.get_import_job.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.get_import_job.js#L18), tag `cloudkms_v1_generated_KeyManagementService_GetImportJob_async` - [samples/generated/v1/key_management_service.get_key_ring.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.get_key_ring.js#L18), tag `cloudkms_v1_generated_KeyManagementService_GetKeyRing_async` - [samples/generated/v1/key_management_service.get_public_key.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.get_public_key.js#L18), tag `cloudkms_v1_generated_KeyManagementService_GetPublicKey_async` - [samples/generated/v1/key_management_service.import_crypto_key_version.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.import_crypto_key_version.js#L18), tag `cloudkms_v1_generated_KeyManagementService_ImportCryptoKeyVersion_async` - [samples/generated/v1/key_management_service.list_crypto_key_versions.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.list_crypto_key_versions.js#L18), tag `cloudkms_v1_generated_KeyManagementService_ListCryptoKeyVersions_async` - [samples/generated/v1/key_management_service.list_crypto_keys.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.list_crypto_keys.js#L18), tag `cloudkms_v1_generated_KeyManagementService_ListCryptoKeys_async` - [samples/generated/v1/key_management_service.list_import_jobs.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.list_import_jobs.js#L18), tag `cloudkms_v1_generated_KeyManagementService_ListImportJobs_async` - [samples/generated/v1/key_management_service.list_key_rings.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.list_key_rings.js#L18), tag `cloudkms_v1_generated_KeyManagementService_ListKeyRings_async` - [samples/generated/v1/key_management_service.mac_sign.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.mac_sign.js#L18), tag `cloudkms_v1_generated_KeyManagementService_MacSign_async` - [samples/generated/v1/key_management_service.mac_verify.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.mac_verify.js#L18), tag `cloudkms_v1_generated_KeyManagementService_MacVerify_async` - [samples/generated/v1/key_management_service.restore_crypto_key_version.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.restore_crypto_key_version.js#L18), tag `cloudkms_v1_generated_KeyManagementService_RestoreCryptoKeyVersion_async` - [samples/generated/v1/key_management_service.update_crypto_key.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.update_crypto_key.js#L18), tag `cloudkms_v1_generated_KeyManagementService_UpdateCryptoKey_async` - [samples/generated/v1/key_management_service.update_crypto_key_primary_version.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.update_crypto_key_primary_version.js#L18), tag `cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyPrimaryVersion_async` - [samples/generated/v1/key_management_service.update_crypto_key_version.js:18](https://github.com/googleapis/nodejs-kms/blob/a023356a28d9478705958b04b3180b392ce69f67/samples/generated/v1/key_management_service.update_crypto_key_version.js#L18), tag `cloudkms_v1_generated_KeyManagementService_UpdateCryptoKeyVersion_async`
You are about to delete 26 region tags. - [samples/generated/v1/key_management_service.asymmetric_decrypt.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.asymmetric_decrypt.js#L18), tag `kms_v1_generated_KeyManagementService_AsymmetricDecrypt_async` - [samples/generated/v1/key_management_service.asymmetric_sign.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.asymmetric_sign.js#L18), tag `kms_v1_generated_KeyManagementService_AsymmetricSign_async` - [samples/generated/v1/key_management_service.create_crypto_key.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.create_crypto_key.js#L18), tag `kms_v1_generated_KeyManagementService_CreateCryptoKey_async` - [samples/generated/v1/key_management_service.create_crypto_key_version.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.create_crypto_key_version.js#L18), tag `kms_v1_generated_KeyManagementService_CreateCryptoKeyVersion_async` - [samples/generated/v1/key_management_service.create_import_job.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.create_import_job.js#L18), tag `kms_v1_generated_KeyManagementService_CreateImportJob_async` - [samples/generated/v1/key_management_service.create_key_ring.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.create_key_ring.js#L18), tag `kms_v1_generated_KeyManagementService_CreateKeyRing_async` - [samples/generated/v1/key_management_service.decrypt.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.decrypt.js#L18), tag `kms_v1_generated_KeyManagementService_Decrypt_async` - [samples/generated/v1/key_management_service.destroy_crypto_key_version.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.destroy_crypto_key_version.js#L18), tag `kms_v1_generated_KeyManagementService_DestroyCryptoKeyVersion_async` - [samples/generated/v1/key_management_service.encrypt.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.encrypt.js#L18), tag `kms_v1_generated_KeyManagementService_Encrypt_async` - [samples/generated/v1/key_management_service.generate_random_bytes.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.generate_random_bytes.js#L18), tag `kms_v1_generated_KeyManagementService_GenerateRandomBytes_async` - [samples/generated/v1/key_management_service.get_crypto_key.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.get_crypto_key.js#L18), tag `kms_v1_generated_KeyManagementService_GetCryptoKey_async` - [samples/generated/v1/key_management_service.get_crypto_key_version.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.get_crypto_key_version.js#L18), tag `kms_v1_generated_KeyManagementService_GetCryptoKeyVersion_async` - [samples/generated/v1/key_management_service.get_import_job.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.get_import_job.js#L18), tag `kms_v1_generated_KeyManagementService_GetImportJob_async` - [samples/generated/v1/key_management_service.get_key_ring.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.get_key_ring.js#L18), tag `kms_v1_generated_KeyManagementService_GetKeyRing_async` - [samples/generated/v1/key_management_service.get_public_key.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.get_public_key.js#L18), tag `kms_v1_generated_KeyManagementService_GetPublicKey_async` - [samples/generated/v1/key_management_service.import_crypto_key_version.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.import_crypto_key_version.js#L18), tag `kms_v1_generated_KeyManagementService_ImportCryptoKeyVersion_async` - [samples/generated/v1/key_management_service.list_crypto_key_versions.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.list_crypto_key_versions.js#L18), tag `kms_v1_generated_KeyManagementService_ListCryptoKeyVersions_async` - [samples/generated/v1/key_management_service.list_crypto_keys.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.list_crypto_keys.js#L18), tag `kms_v1_generated_KeyManagementService_ListCryptoKeys_async` - [samples/generated/v1/key_management_service.list_import_jobs.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.list_import_jobs.js#L18), tag `kms_v1_generated_KeyManagementService_ListImportJobs_async` - [samples/generated/v1/key_management_service.list_key_rings.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.list_key_rings.js#L18), tag `kms_v1_generated_KeyManagementService_ListKeyRings_async` - [samples/generated/v1/key_management_service.mac_sign.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.mac_sign.js#L18), tag `kms_v1_generated_KeyManagementService_MacSign_async` - [samples/generated/v1/key_management_service.mac_verify.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.mac_verify.js#L18), tag `kms_v1_generated_KeyManagementService_MacVerify_async` - [samples/generated/v1/key_management_service.restore_crypto_key_version.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.restore_crypto_key_version.js#L18), tag `kms_v1_generated_KeyManagementService_RestoreCryptoKeyVersion_async` - [samples/generated/v1/key_management_service.update_crypto_key.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.update_crypto_key.js#L18), tag `kms_v1_generated_KeyManagementService_UpdateCryptoKey_async` - [samples/generated/v1/key_management_service.update_crypto_key_primary_version.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.update_crypto_key_primary_version.js#L18), tag `kms_v1_generated_KeyManagementService_UpdateCryptoKeyPrimaryVersion_async` - [samples/generated/v1/key_management_service.update_crypto_key_version.js:18](https://github.com/googleapis/nodejs-kms/blob/89ca93ce2f3b01775240eb9e4e8584c5929d7e6e/samples/generated/v1/key_management_service.update_crypto_key_version.js#L18), tag `kms_v1_generated_KeyManagementService_UpdateCryptoKeyVersion_async`

This comment is generated by snippet-bot. If you find problems with this result, please file an issue at: https://github.com/googleapis/repo-automation-bots/issues. To update this comment, add snippet-bot:force-run label or use the checkbox below: