peridot/third_party/peridot/proto/v1/admin/admin.proto
2023-10-04 02:55:49 +02:00

29 lines
721 B
Protocol Buffer

syntax = "proto3";
package resf.peridot.admin.v1;
import "google/api/annotations.proto";
import "third_party/peridot/proto/v1/task.proto";
option go_package = "peridot.resf.org/peridot/admin/pb;adminpb";
service PeridotAdminService {
rpc AddUpdateInformation (AddUpdateInformationRequest) returns (resf.peridot.v1.AsyncTask) {
option (google.api.http) = {
post: "/v1/admin/add_update_information"
body: "*"
};
option (resf.peridot.v1.task_info) = {
response_type: "AddUpdateInformationTask"
metadata_type: "AddUpdateInformationRequest"
};
}
}
message AddUpdateInformationRequest {
string project_id = 1;
string product_name = 2;
}
message AddUpdateInformationTask {}