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; }