mirror of
https://github.com/octoleo/restic.git
synced 2024-11-18 11:05:18 +00:00
29 lines
558 B
Protocol Buffer
29 lines
558 B
Protocol Buffer
syntax = "proto2";
|
|
option go_package = "capability";
|
|
|
|
package appengine;
|
|
|
|
message IsEnabledRequest {
|
|
required string package = 1;
|
|
repeated string capability = 2;
|
|
repeated string call = 3;
|
|
}
|
|
|
|
message IsEnabledResponse {
|
|
enum SummaryStatus {
|
|
DEFAULT = 0;
|
|
ENABLED = 1;
|
|
SCHEDULED_FUTURE = 2;
|
|
SCHEDULED_NOW = 3;
|
|
DISABLED = 4;
|
|
UNKNOWN = 5;
|
|
}
|
|
optional SummaryStatus summary_status = 1;
|
|
|
|
optional int64 time_until_scheduled = 2;
|
|
}
|
|
|
|
service CapabilityService {
|
|
rpc IsEnabled(IsEnabledRequest) returns (IsEnabledResponse) {};
|
|
}
|