pabloem commented on a change in pull request #15957:
URL: https://github.com/apache/beam/pull/15957#discussion_r753326907
##########
File path: playground/api/v1/api.proto
##########
@@ -112,42 +113,43 @@ message CancelRequest {
message CancelResponse {
}
-// ListOfExamplesRequest contains information of the needed examples sdk and
categories.
-message GetListOfExamplesRequest{
+// GetPrecompiledObjectsRequest contains information of the needed
PrecompiledObjects sdk and categories.
+message GetPrecompiledObjectsRequest{
Sdk sdk = 1;
string category = 2;
}
-// Example represents one example with its information
-message Example{
- string example_uuid = 1;
+// PrecompiledObject represents one PrecompiledObject with its information
+message PrecompiledObject{
+ string cloud_path = 1;
string name = 2;
string description = 3;
- ExampleType type = 4;
+ PrecompiledObjectType type = 4;
}
// Categories represent the array of messages with sdk and categories at this
sdk
message Categories{
message Category{
string category_name = 1;
- repeated Example examples = 2;
+ repeated PrecompiledObject precompiled_objects = 2;
}
Sdk sdk = 1;
repeated Category categories = 2;
Review comment:
For record keeping: For now we will keep the API as it is, but we may
update in the future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]