1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- 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 GetOwnershipTokenByZoneId(GetOwnershipChallengeRequestByZoneId) returns (GetOwnershipChallengeReply) {}
- }
- 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;
- }
|