capability_service.proto 558 B

12345678910111213141516171819202122232425262728
  1. syntax = "proto2";
  2. option go_package = "capability";
  3. package appengine;
  4. message IsEnabledRequest {
  5. required string package = 1;
  6. repeated string capability = 2;
  7. repeated string call = 3;
  8. }
  9. message IsEnabledResponse {
  10. enum SummaryStatus {
  11. DEFAULT = 0;
  12. ENABLED = 1;
  13. SCHEDULED_FUTURE = 2;
  14. SCHEDULED_NOW = 3;
  15. DISABLED = 4;
  16. UNKNOWN = 5;
  17. }
  18. optional SummaryStatus summary_status = 1;
  19. optional int64 time_until_scheduled = 2;
  20. }
  21. service CapabilityService {
  22. rpc IsEnabled(IsEnabledRequest) returns (IsEnabledResponse) {};
  23. }