purge.proto 666 B

123456789101112131415161718192021222324252627282930
  1. syntax = "proto3";
  2. package cloudflareApi.cache.purge;
  3. option go_package = "./cloudflareApi/cache/purge";
  4. option java_multiple_files = true;
  5. option java_package = "io.grpc.cloudflare.cache.purge";
  6. option java_outer_classname = "purgeProto";
  7. service PurgeCloudflare {
  8. // Sends a greeting
  9. rpc PurgeCloudflare (PurgeRequestCloudflare) returns (PurgeReplyCloudflare) {}
  10. }
  11. // The request message containing the user's name.
  12. message PurgeRequestCloudflare {
  13. string apiKey = 1;
  14. string apiEmail = 2;
  15. string zoneName = 3;
  16. repeated string purgeList = 4;
  17. }
  18. // The response message containing the greetings
  19. message PurgeReplyCloudflare {
  20. bool result = 1;
  21. }