From 2e21afe6d4b098b0e7b70af6e049a646e249ff40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andr=C3=A9=20Duffeck?=
Date: Mon, 11 Jul 2022 10:26:13 +0200
Subject: [PATCH] Add an expiration to FileUploadProtocol
---
cs3/storage/provider/v1beta1/resources.proto | 3 +++
docs/index.html | 8 ++++++++
2 files changed, 11 insertions(+)
diff --git a/cs3/storage/provider/v1beta1/resources.proto b/cs3/storage/provider/v1beta1/resources.proto
index b07b64d..2a26e74 100644
--- a/cs3/storage/provider/v1beta1/resources.proto
+++ b/cs3/storage/provider/v1beta1/resources.proto
@@ -422,6 +422,9 @@ message FileUploadProtocol {
// REQUIRED.
// Tells to the gateway if the client should be exposed directly to the upload_endpoint.
bool expose = 5;
+ // OPTIONAL.
+ // The time at which the upload will expire.
+ cs3.types.v1beta1.Timestamp expiration = 6;
}
// A file download protocol object stores information about
diff --git a/docs/index.html b/docs/index.html
index ab78f56..d7012ce 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -17265,6 +17265,14 @@ FileUploadProtocol
Tells to the gateway if the client should be exposed directly to the upload_endpoint.
+
+ expiration |
+ cs3.types.v1beta1.Timestamp |
+ |
+ OPTIONAL.
+The time at which the upload will expire. |
+
+