Skip to content

Commit

Permalink
chore: generate GAPIC metadata JSON file (#407)
Browse files Browse the repository at this point in the history
This PR was generated using Autosynth. 🌈

Synth log will be available here:
https://source.cloud.google.com/results/invocations/4e7abbc6-c648-4473-9499-aa96f63c63a8/targets

- [ ] To automatically regenerate this PR, check this box.

PiperOrigin-RevId: 345596855
Source-Link: googleapis/googleapis@d189e87
  • Loading branch information
yoshi-automation authored Dec 4, 2020
1 parent a2ddfe6 commit 8d43727
Show file tree
Hide file tree
Showing 2 changed files with 272 additions and 3 deletions.
269 changes: 269 additions & 0 deletions packages/google-cloud-kms/src/v1/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,269 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "typescript",
"protoPackage": "google.cloud.kms.v1",
"libraryPackage": "@google-cloud/kms",
"services": {
"KeyManagementService": {
"clients": {
"grpc": {
"libraryClient": "KeyManagementServiceClient",
"rpcs": {
"GetKeyRing": {
"methods": [
"getKeyRing"
]
},
"GetCryptoKey": {
"methods": [
"getCryptoKey"
]
},
"GetCryptoKeyVersion": {
"methods": [
"getCryptoKeyVersion"
]
},
"GetPublicKey": {
"methods": [
"getPublicKey"
]
},
"GetImportJob": {
"methods": [
"getImportJob"
]
},
"CreateKeyRing": {
"methods": [
"createKeyRing"
]
},
"CreateCryptoKey": {
"methods": [
"createCryptoKey"
]
},
"CreateCryptoKeyVersion": {
"methods": [
"createCryptoKeyVersion"
]
},
"ImportCryptoKeyVersion": {
"methods": [
"importCryptoKeyVersion"
]
},
"CreateImportJob": {
"methods": [
"createImportJob"
]
},
"UpdateCryptoKey": {
"methods": [
"updateCryptoKey"
]
},
"UpdateCryptoKeyVersion": {
"methods": [
"updateCryptoKeyVersion"
]
},
"Encrypt": {
"methods": [
"encrypt"
]
},
"Decrypt": {
"methods": [
"decrypt"
]
},
"AsymmetricSign": {
"methods": [
"asymmetricSign"
]
},
"AsymmetricDecrypt": {
"methods": [
"asymmetricDecrypt"
]
},
"UpdateCryptoKeyPrimaryVersion": {
"methods": [
"updateCryptoKeyPrimaryVersion"
]
},
"DestroyCryptoKeyVersion": {
"methods": [
"destroyCryptoKeyVersion"
]
},
"RestoreCryptoKeyVersion": {
"methods": [
"restoreCryptoKeyVersion"
]
},
"ListKeyRings": {
"methods": [
"listKeyRings",
"listKeyRingsStream",
"listKeyRingsAsync"
]
},
"ListCryptoKeys": {
"methods": [
"listCryptoKeys",
"listCryptoKeysStream",
"listCryptoKeysAsync"
]
},
"ListCryptoKeyVersions": {
"methods": [
"listCryptoKeyVersions",
"listCryptoKeyVersionsStream",
"listCryptoKeyVersionsAsync"
]
},
"ListImportJobs": {
"methods": [
"listImportJobs",
"listImportJobsStream",
"listImportJobsAsync"
]
}
}
},
"grpc-fallback": {
"libraryClient": "KeyManagementServiceClient",
"rpcs": {
"GetKeyRing": {
"methods": [
"getKeyRing"
]
},
"GetCryptoKey": {
"methods": [
"getCryptoKey"
]
},
"GetCryptoKeyVersion": {
"methods": [
"getCryptoKeyVersion"
]
},
"GetPublicKey": {
"methods": [
"getPublicKey"
]
},
"GetImportJob": {
"methods": [
"getImportJob"
]
},
"CreateKeyRing": {
"methods": [
"createKeyRing"
]
},
"CreateCryptoKey": {
"methods": [
"createCryptoKey"
]
},
"CreateCryptoKeyVersion": {
"methods": [
"createCryptoKeyVersion"
]
},
"ImportCryptoKeyVersion": {
"methods": [
"importCryptoKeyVersion"
]
},
"CreateImportJob": {
"methods": [
"createImportJob"
]
},
"UpdateCryptoKey": {
"methods": [
"updateCryptoKey"
]
},
"UpdateCryptoKeyVersion": {
"methods": [
"updateCryptoKeyVersion"
]
},
"Encrypt": {
"methods": [
"encrypt"
]
},
"Decrypt": {
"methods": [
"decrypt"
]
},
"AsymmetricSign": {
"methods": [
"asymmetricSign"
]
},
"AsymmetricDecrypt": {
"methods": [
"asymmetricDecrypt"
]
},
"UpdateCryptoKeyPrimaryVersion": {
"methods": [
"updateCryptoKeyPrimaryVersion"
]
},
"DestroyCryptoKeyVersion": {
"methods": [
"destroyCryptoKeyVersion"
]
},
"RestoreCryptoKeyVersion": {
"methods": [
"restoreCryptoKeyVersion"
]
},
"ListKeyRings": {
"methods": [
"listKeyRings",
"listKeyRingsStream",
"listKeyRingsAsync"
]
},
"ListCryptoKeys": {
"methods": [
"listCryptoKeys",
"listCryptoKeysStream",
"listCryptoKeysAsync"
]
},
"ListCryptoKeyVersions": {
"methods": [
"listCryptoKeyVersions",
"listCryptoKeyVersionsStream",
"listCryptoKeyVersionsAsync"
]
},
"ListImportJobs": {
"methods": [
"listImportJobs",
"listImportJobsStream",
"listImportJobsAsync"
]
}
}
}
}
}
}
}
6 changes: 3 additions & 3 deletions packages/google-cloud-kms/synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/nodejs-kms.git",
"sha": "96a90e3bea1c8b7e8e2d57cc1eb6204ed326b915"
"sha": "1a502d640b226638de02d50b75298fc3c7903284"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "5587028631d4d743fd906c4eb4e4e4649a7ee5ce",
"internalRef": "343187793"
"sha": "d189e871205fea665a9648f7c4676f027495ccaf",
"internalRef": "345596855"
}
},
{
Expand Down

0 comments on commit 8d43727

Please sign in to comment.