This repository has been archived by the owner on Jul 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: introduce gapic metadata JSON (#855)
- Loading branch information
1 parent
b5fe1ac
commit 7263258
Showing
6 changed files
with
897 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.