Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

build: introduce gapic metadata JSON #855

Merged
merged 3 commits into from
Jan 6, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
283 changes: 283 additions & 0 deletions src/v1/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,283 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "typescript",
"protoPackage": "google.cloud.vision.v1",
"libraryPackage": "@google-cloud/vision",
"services": {
"ImageAnnotator": {
"clients": {
"grpc": {
"libraryClient": "ImageAnnotatorClient",
"rpcs": {
"BatchAnnotateImages": {
"methods": [
"batchAnnotateImages"
]
},
"BatchAnnotateFiles": {
"methods": [
"batchAnnotateFiles"
]
},
"AsyncBatchAnnotateImages": {
"methods": [
"asyncBatchAnnotateImages"
]
},
"AsyncBatchAnnotateFiles": {
"methods": [
"asyncBatchAnnotateFiles"
]
}
}
},
"grpc-fallback": {
"libraryClient": "ImageAnnotatorClient",
"rpcs": {
"BatchAnnotateImages": {
"methods": [
"batchAnnotateImages"
]
},
"BatchAnnotateFiles": {
"methods": [
"batchAnnotateFiles"
]
},
"AsyncBatchAnnotateImages": {
"methods": [
"asyncBatchAnnotateImages"
]
},
"AsyncBatchAnnotateFiles": {
"methods": [
"asyncBatchAnnotateFiles"
]
}
}
}
}
},
"ProductSearch": {
"clients": {
"grpc": {
"libraryClient": "ProductSearchClient",
"rpcs": {
"CreateProductSet": {
"methods": [
"createProductSet"
]
},
"GetProductSet": {
"methods": [
"getProductSet"
]
},
"UpdateProductSet": {
"methods": [
"updateProductSet"
]
},
"DeleteProductSet": {
"methods": [
"deleteProductSet"
]
},
"CreateProduct": {
"methods": [
"createProduct"
]
},
"GetProduct": {
"methods": [
"getProduct"
]
},
"UpdateProduct": {
"methods": [
"updateProduct"
]
},
"DeleteProduct": {
"methods": [
"deleteProduct"
]
},
"CreateReferenceImage": {
"methods": [
"createReferenceImage"
]
},
"DeleteReferenceImage": {
"methods": [
"deleteReferenceImage"
]
},
"GetReferenceImage": {
"methods": [
"getReferenceImage"
]
},
"AddProductToProductSet": {
"methods": [
"addProductToProductSet"
]
},
"RemoveProductFromProductSet": {
"methods": [
"removeProductFromProductSet"
]
},
"ImportProductSets": {
"methods": [
"importProductSets"
]
},
"PurgeProducts": {
"methods": [
"purgeProducts"
]
},
"ListProductSets": {
"methods": [
"listProductSets",
"listProductSetsStream",
"listProductSetsAsync"
]
},
"ListProducts": {
"methods": [
"listProducts",
"listProductsStream",
"listProductsAsync"
]
},
"ListReferenceImages": {
"methods": [
"listReferenceImages",
"listReferenceImagesStream",
"listReferenceImagesAsync"
]
},
"ListProductsInProductSet": {
"methods": [
"listProductsInProductSet",
"listProductsInProductSetStream",
"listProductsInProductSetAsync"
]
}
}
},
"grpc-fallback": {
"libraryClient": "ProductSearchClient",
"rpcs": {
"CreateProductSet": {
"methods": [
"createProductSet"
]
},
"GetProductSet": {
"methods": [
"getProductSet"
]
},
"UpdateProductSet": {
"methods": [
"updateProductSet"
]
},
"DeleteProductSet": {
"methods": [
"deleteProductSet"
]
},
"CreateProduct": {
"methods": [
"createProduct"
]
},
"GetProduct": {
"methods": [
"getProduct"
]
},
"UpdateProduct": {
"methods": [
"updateProduct"
]
},
"DeleteProduct": {
"methods": [
"deleteProduct"
]
},
"CreateReferenceImage": {
"methods": [
"createReferenceImage"
]
},
"DeleteReferenceImage": {
"methods": [
"deleteReferenceImage"
]
},
"GetReferenceImage": {
"methods": [
"getReferenceImage"
]
},
"AddProductToProductSet": {
"methods": [
"addProductToProductSet"
]
},
"RemoveProductFromProductSet": {
"methods": [
"removeProductFromProductSet"
]
},
"ImportProductSets": {
"methods": [
"importProductSets"
]
},
"PurgeProducts": {
"methods": [
"purgeProducts"
]
},
"ListProductSets": {
"methods": [
"listProductSets",
"listProductSetsStream",
"listProductSetsAsync"
]
},
"ListProducts": {
"methods": [
"listProducts",
"listProductsStream",
"listProductsAsync"
]
},
"ListReferenceImages": {
"methods": [
"listReferenceImages",
"listReferenceImagesStream",
"listReferenceImagesAsync"
]
},
"ListProductsInProductSet": {
"methods": [
"listProductsInProductSet",
"listProductsInProductSetStream",
"listProductsInProductSetAsync"
]
}
}
}
}
}
}
}
33 changes: 33 additions & 0 deletions src/v1p1beta1/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "typescript",
"protoPackage": "google.cloud.vision.v1p1beta1",
"libraryPackage": "@google-cloud/vision",
"services": {
"ImageAnnotator": {
"clients": {
"grpc": {
"libraryClient": "ImageAnnotatorClient",
"rpcs": {
"BatchAnnotateImages": {
"methods": [
"batchAnnotateImages"
]
}
}
},
"grpc-fallback": {
"libraryClient": "ImageAnnotatorClient",
"rpcs": {
"BatchAnnotateImages": {
"methods": [
"batchAnnotateImages"
]
}
}
}
}
}
}
}
43 changes: 43 additions & 0 deletions src/v1p2beta1/gapic_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"schema": "1.0",
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
"language": "typescript",
"protoPackage": "google.cloud.vision.v1p2beta1",
"libraryPackage": "@google-cloud/vision",
"services": {
"ImageAnnotator": {
"clients": {
"grpc": {
"libraryClient": "ImageAnnotatorClient",
"rpcs": {
"BatchAnnotateImages": {
"methods": [
"batchAnnotateImages"
]
},
"AsyncBatchAnnotateFiles": {
"methods": [
"asyncBatchAnnotateFiles"
]
}
}
},
"grpc-fallback": {
"libraryClient": "ImageAnnotatorClient",
"rpcs": {
"BatchAnnotateImages": {
"methods": [
"batchAnnotateImages"
]
},
"AsyncBatchAnnotateFiles": {
"methods": [
"asyncBatchAnnotateFiles"
]
}
}
}
}
}
}
}
Loading