12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- syntax = "proto3";
- package cloudflareApi.cache.purge;
- option go_package = "./cloudflareApi/cache/purge";
- option java_multiple_files = true;
- option java_package = "io.grpc.cloudflare.cache.purge";
- option java_outer_classname = "purgeProto";
- service PurgeCloudflare {
- // Sends a greeting
- rpc PurgeCloudflare (PurgeRequestCloudflare) returns (PurgeReplyCloudflare) {}
- rpc PurgeCloudflareByPrefix (PurgeRequestCloudflarePrefix) returns (PurgeReplyCloudflare) {}
- rpc PurgeCloudflareEverything (PurgeRequestCloudflareEverything) returns (PurgeReplyCloudflare) {}
- }
- message PurgeRequestCloudflare {
- string apiKey = 1;
- string apiEmail = 2;
- string zoneId = 3;
- repeated string purgeList = 4;
- }
- message PurgeRequestCloudflarePrefix {
- string apiKey = 1;
- string apiEmail = 2;
- string zoneId = 3;
- repeated string prefixList = 4;
- }
- message PurgeRequestCloudflareEverything {
- string apiKey = 1;
- string apiEmail = 2;
- string zoneId = 3;
- }
- // The response message containing the greetings
- message PurgeReplyCloudflare {
- bool result = 1;
- }
|