mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-13 22:56:18 +00:00
31 lines
474 B
Protocol Buffer
31 lines
474 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package google.api;
|
|
|
|
message Http {
|
|
|
|
repeated HttpRule rules = 1;
|
|
}
|
|
|
|
message HttpRule {
|
|
|
|
oneof pattern {
|
|
|
|
string get = 2;
|
|
string put = 3;
|
|
string post = 4;
|
|
string delete = 5;
|
|
string patch = 6;
|
|
CustomHttpPattern custom = 8;
|
|
}
|
|
|
|
string selector = 1;
|
|
string body = 7;
|
|
repeated HttpRule additional_bindings = 11;
|
|
}
|
|
|
|
message CustomHttpPattern {
|
|
|
|
string kind = 1;
|
|
string path = 2;
|
|
} |