Files
VerseVDI-Protocol/proto/versevdi/control/v1/control.proto
T

42 lines
808 B
Protocol Buffer

syntax = "proto3";
package versevdi.control.v1;
import "google/protobuf/timestamp.proto";
option go_package = "git.sechmachine.io.vn/sechmachine/VerseVDI-Protocol/gen/go/protocol";
message VersionNegotiation {
repeated string supported_versions = 1;
repeated string features = 2;
}
message ResourceLink {
string type = 1;
string id = 2;
int64 version = 3;
}
message EventEnvelope {
string event_id = 1;
int64 sequence = 2;
string type = 3;
int64 version = 4;
ResourceLink resource = 5;
google.protobuf.Timestamp occurred_at = 6;
bytes payload_json = 7;
string correlation_id = 8;
}
message ClipboardText {
string text = 1;
string encoding = 2;
}
message GatewayClipboardText {
string direction = 1;
string text = 2;
string encoding = 3;
string loop_token = 4;
}