123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- syntax = "proto3";
- package cloudflareApi.cache.Certificate;
- option go_package = "./cloudflareApi/certificate";
- option java_multiple_files = true;
- option java_package = "io.grpc.cloudflare.certificate";
- option java_outer_classname = "certificateProto";
- service CertificateCloudflare {
- // Sends a greeting
- rpc CreateCertificate (CreateCertificateRequestCloudflare) returns (CreateCertificateReplyCloudflare) {}
- rpc DeleteCertificate (DeleteCertificateRequestCloudflare) returns (DeleteCertificateReplyCloudflare) {}
- rpc EditCertificate (EditCertificateRequestCloudflare) returns (EditCertificateReplyCloudflare) {}
- rpc UniversalCertificate(UniversalCertificateRequestCloudflare) returns(UniversalCertificateReplyCloudflare) {}
- }
- message CreateCertificateRequestCloudflare {
- string apiKey = 1;
- string apiEmail = 2;
- string zoneName = 3;
- string certificate = 4;
- string privateKey = 5;
- }
- message DeleteCertificateRequestCloudflare {
- string apiKey = 1;
- string apiEmail = 2;
- string zoneName = 3;
- string certificateId = 4;
- }
- message EditCertificateRequestCloudflare {
- string apiKey = 1;
- string apiEmail = 2;
- string zoneName = 3;
- string certificateId = 4;
- string certificate = 5;
- string privateKey = 6;
- }
- message UniversalCertificateRequestCloudflare {
- string apiKey = 1;
- string apiEmail = 2;
- string zoneName = 3;
- bool enable = 4;
- }
- message CreateCertificateReplyCloudflare{
- bool success = 1;
- string id = 2;
- }
- message DeleteCertificateReplyCloudflare{
- bool success = 1;
- string id = 2;
- }
- message EditCertificateReplyCloudflare{
- bool success = 1;
- string id = 2;
- }
- message UniversalCertificateReplyCloudflare{
- bool success = 1;
- bool enabled = 2;
- }
|