From e63509b0217d421a358dc8d57ad9c01aad8a2263 Mon Sep 17 00:00:00 2001 From: David Zhao Date: Tue, 28 Nov 2023 23:41:23 -0800 Subject: [PATCH 1/2] Docs for Egress storage fields --- livekit_egress.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/livekit_egress.proto b/livekit_egress.proto index c831b3f2..2472777f 100644 --- a/livekit_egress.proto +++ b/livekit_egress.proto @@ -217,10 +217,12 @@ message S3Upload { bool force_path_style = 6; map metadata = 7; string tagging = 8; + // Content-Disposition header string content_disposition = 9; } message GCPUpload { + // service account credentials serialized in JSON "credentials.json" string credentials = 1; string bucket = 2; } From 73961639da7843179ec836b772798419b2ae97d9 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Nov 2023 07:41:52 +0000 Subject: [PATCH 2/2] generated protobuf --- livekit/livekit_egress.pb.go | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/livekit/livekit_egress.pb.go b/livekit/livekit_egress.pb.go index 8d944cde..12062483 100644 --- a/livekit/livekit_egress.pb.go +++ b/livekit/livekit_egress.pb.go @@ -1895,15 +1895,16 @@ type S3Upload struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` - Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` - Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` - Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` - Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` - ForcePathStyle bool `protobuf:"varint,6,opt,name=force_path_style,json=forcePathStyle,proto3" json:"force_path_style,omitempty"` - Metadata map[string]string `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - Tagging string `protobuf:"bytes,8,opt,name=tagging,proto3" json:"tagging,omitempty"` - ContentDisposition string `protobuf:"bytes,9,opt,name=content_disposition,json=contentDisposition,proto3" json:"content_disposition,omitempty"` + AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` + Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"` + Region string `protobuf:"bytes,3,opt,name=region,proto3" json:"region,omitempty"` + Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` + Bucket string `protobuf:"bytes,5,opt,name=bucket,proto3" json:"bucket,omitempty"` + ForcePathStyle bool `protobuf:"varint,6,opt,name=force_path_style,json=forcePathStyle,proto3" json:"force_path_style,omitempty"` + Metadata map[string]string `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + Tagging string `protobuf:"bytes,8,opt,name=tagging,proto3" json:"tagging,omitempty"` + // Content-Disposition header + ContentDisposition string `protobuf:"bytes,9,opt,name=content_disposition,json=contentDisposition,proto3" json:"content_disposition,omitempty"` } func (x *S3Upload) Reset() { @@ -2006,6 +2007,7 @@ type GCPUpload struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields + // service account credentials serialized in JSON "credentials.json" Credentials string `protobuf:"bytes,1,opt,name=credentials,proto3" json:"credentials,omitempty"` Bucket string `protobuf:"bytes,2,opt,name=bucket,proto3" json:"bucket,omitempty"` }