github.com/cloudwan/edgelq-sdk@v1.15.4/logging/proto/v1/log_service.proto (about) 1 syntax = "proto3"; 2 3 package ntt.logging.v1; 4 5 import "edgelq-sdk/logging/proto/v1/log.proto"; 6 import "edgelq-sdk/logging/proto/v1/log_custom.proto"; 7 import "google/api/annotations.proto"; 8 import "google/api/client.proto"; 9 import "google/protobuf/empty.proto"; 10 import "google/protobuf/field_mask.proto"; 11 import "google/protobuf/timestamp.proto"; 12 import "goten-sdk/types/view.proto"; 13 import "goten-sdk/types/watch_type.proto"; 14 15 option go_package = "github.com/cloudwan/edgelq-sdk/logging/client/v1/log;log_client"; 16 option java_multiple_files = false; 17 option java_outer_classname = "LogServiceProto"; 18 option java_package = "com.ntt.logging.pb.v1"; 19 20 // Log service API for Logging 21 service LogService { 22 option (google.api.default_host) = "logging.edgelq.com"; 23 option (google.api.oauth_scopes) = "https://apis.edgelq.com"; 24 25 // ListLogs 26 rpc ListLogs(ListLogsRequest) returns (ListLogsResponse) { 27 option (google.api.http) = { 28 get : "/v1/logs" 29 }; 30 } 31 32 // CreateLogs 33 rpc CreateLogs(CreateLogsRequest) returns (CreateLogsResponse) { 34 option (google.api.http) = { 35 post : "/v1/logs" 36 body : "logs" 37 }; 38 } 39 40 // StreamingCreateLogs 41 rpc StreamingCreateLogs(stream StreamingCreateLogsRequest) 42 returns (stream StreamingCreateLogsResponse) { 43 option (google.api.http) = { 44 post : "/v1/logs:streamingCreate" 45 }; 46 } 47 }