| 1 |
{ |
| 2 |
"schema": "1.0", |
| 3 |
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods.", |
| 4 |
"language": "go", |
| 5 |
"protoPackage": "google.shopping.merchant.productstudio.v1alpha", |
| 6 |
"libraryPackage": "cloud.google.com/go/shopping/merchant/productstudio/apiv1alpha", |
| 7 |
"services": { |
| 8 |
"ImageService": { |
| 9 |
"clients": { |
| 10 |
"grpc": { |
| 11 |
"libraryClient": "ImageClient", |
| 12 |
"rpcs": { |
| 13 |
"GenerateProductImageBackground": { |
| 14 |
"methods": [ |
| 15 |
"GenerateProductImageBackground" |
| 16 |
] |
| 17 |
}, |
| 18 |
"RemoveProductImageBackground": { |
| 19 |
"methods": [ |
| 20 |
"RemoveProductImageBackground" |
| 21 |
] |
| 22 |
}, |
| 23 |
"UpscaleProductImage": { |
| 24 |
"methods": [ |
| 25 |
"UpscaleProductImage" |
| 26 |
] |
| 27 |
} |
| 28 |
} |
| 29 |
}, |
| 30 |
"rest": { |
| 31 |
"libraryClient": "ImageClient", |
| 32 |
"rpcs": { |
| 33 |
"GenerateProductImageBackground": { |
| 34 |
"methods": [ |
| 35 |
"GenerateProductImageBackground" |
| 36 |
] |
| 37 |
}, |
| 38 |
"RemoveProductImageBackground": { |
| 39 |
"methods": [ |
| 40 |
"RemoveProductImageBackground" |
| 41 |
] |
| 42 |
}, |
| 43 |
"UpscaleProductImage": { |
| 44 |
"methods": [ |
| 45 |
"UpscaleProductImage" |
| 46 |
] |
| 47 |
} |
| 48 |
} |
| 49 |
} |
| 50 |
} |
| 51 |
}, |
| 52 |
"TextSuggestionsService": { |
| 53 |
"clients": { |
| 54 |
"grpc": { |
| 55 |
"libraryClient": "TextSuggestionsClient", |
| 56 |
"rpcs": { |
| 57 |
"GenerateProductTextSuggestions": { |
| 58 |
"methods": [ |
| 59 |
"GenerateProductTextSuggestions" |
| 60 |
] |
| 61 |
} |
| 62 |
} |
| 63 |
}, |
| 64 |
"rest": { |
| 65 |
"libraryClient": "TextSuggestionsClient", |
| 66 |
"rpcs": { |
| 67 |
"GenerateProductTextSuggestions": { |
| 68 |
"methods": [ |
| 69 |
"GenerateProductTextSuggestions" |
| 70 |
] |
| 71 |
} |
| 72 |
} |
| 73 |
} |
| 74 |
} |
| 75 |
} |
| 76 |
} |
| 77 |
} |