123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102 |
- syntax = "proto3";
- package cloudflareApi.logPush;
- option go_package = "./cloudflareApi/logPush";
- option java_multiple_files = true;
- option java_package = "io.grpc.cloudflare.logPush";
- option java_outer_classname = "logPushProto";
- service LogPushCloudflare {
- rpc ListLogPushJobsByZoneId(ListLogPushJobRequestByZoneId) returns (ListLogPushJobReplay) {}
- rpc CreateLogPushJobByZoneId(CreateLogPushJobRequestByZoneId) returns (CreateLogPushJobReplay) {}
- rpc DeleteLogPushJobByZoneId(DeleteLogPushJobRequestByZoneId) returns (DeleteLogPushJobReplay) {}
- rpc GetOwnershipChallengeByZoneId(GetOwnershipChallengeRequestByZoneId) returns (GetOwnershipChallengeReply) {}
- rpc CheckDestinationExist(CheckDestinationExistRequest) returns (CheckDestinationExistReply) {}
- rpc ValidateOwnershipChallenge(ValidateOwnershipChallengeRequest) returns (ValidateOwnershipChallengeReply) {}
- }
- message LogPushJobEntity {
- int64 id = 1;
- string dataSet = 2;
- string destinationConf = 3;
- bool enabled = 4;
- string errorMessage = 5;
- string name = 6;
- }
- message OwnershipChallengeEntity {
- string filename = 1;
- bool valid = 2;
- string message = 3;
- }
- message ListLogPushJobRequestByZoneId {
- string apiKey = 1;
- string apiEmail = 2;
- string zoneId = 3;
- string dataSet = 4;
- }
- message ListLogPushJobReplay {
- repeated LogPushJobEntity result = 1;
- }
- message CreateLogPushJobRequestByZoneId {
- string apiKey = 1;
- string apiEmail = 2;
- string zoneId = 3;
- string dataSet = 4;
- string destinationConf = 5;
- string ownershipChallenge = 6;
- }
- message CreateLogPushJobReplay {
- LogPushJobEntity result = 1;
- }
- message DeleteLogPushJobRequestByZoneId {
- string apiKey = 1;
- string apiEmail = 2;
- string zoneId = 3;
- int64 jobId = 4;
- }
- message DeleteLogPushJobReplay {
- bool success = 1;
- string message = 2;
- }
- message GetOwnershipChallengeRequestByZoneId {
- string apiKey = 1;
- string apiEmail = 2;
- string zoneId = 3;
- string destinationConf = 4;
- }
- message GetOwnershipChallengeReply {
- OwnershipChallengeEntity result = 1;
- }
- message CheckDestinationExistRequest {
- string apiKey = 1;
- string apiEmail = 2;
- string zoneId = 3;
- string destinationConf = 4;
- }
- message CheckDestinationExistReply {
- bool exists = 1;
- }
- message ValidateOwnershipChallengeRequest {
- string apiKey = 1;
- string apiEmail = 2;
- string zoneId = 3;
- string destinationConf = 4;
- string ownershipChallenge = 5;
- }
- message ValidateOwnershipChallengeReply {
- bool valid = 1;
- }
|