diff --git a/cs3/storage/provider/v1beta1/provider_api.proto b/cs3/storage/provider/v1beta1/provider_api.proto index 3bc0513b..01813bbc 100644 --- a/cs3/storage/provider/v1beta1/provider_api.proto +++ b/cs3/storage/provider/v1beta1/provider_api.proto @@ -426,15 +426,18 @@ message ListRecycleRequest { // Opaque information. cs3.types.v1beta1.Opaque opaque = 1; // OPTIONAL. + // The reference to which the action should be performed. + Reference ref = 2; + // OPTIONAL. // SHOULD be specified. // The start time range to query for recycle items. // The value is the Unix Epoch timestamp in seconds. - cs3.types.v1beta1.Timestamp from_ts = 2; + cs3.types.v1beta1.Timestamp from_ts = 3; // OPTIONAL. // SHOULD be specified. // The end time range to query for recycle items. // The value is Unix Epoch timestamp in seconds. - cs3.types.v1beta1.Timestamp to_ts = 3; + cs3.types.v1beta1.Timestamp to_ts = 4; } message ListRecycleResponse { @@ -454,15 +457,18 @@ message ListRecycleStreamRequest { // Opaque information. cs3.types.v1beta1.Opaque opaque = 1; // OPTIONAL. + // The reference to which the action should be performed. + Reference ref = 2; + // OPTIONAL. // SHOULD be specified. // The start time range to query for recycle items. // The value is the Unix Epoch timestamp in seconds. - cs3.types.v1beta1.Timestamp from_ts = 2; + cs3.types.v1beta1.Timestamp from_ts = 3; // OPTIONAL. // SHOULD be specified. // The end time range to query for recycle items. // The value is Unix Epoch timestamp in seconds. - cs3.types.v1beta1.Timestamp to_ts = 3; + cs3.types.v1beta1.Timestamp to_ts = 4; } message ListRecycleStreamResponse { @@ -545,9 +551,6 @@ message RestoreRecycleItemRequest { // REQUIRED. // The reference to which the action should be performed. Reference ref = 2; - // REQUIRED. - // The key for the recycle item to be restored. - string key = 3; // OPTIONAL. // An optional restore path for the deleted resource. // It can be useful to restore to another location rather than diff --git a/docs/index.html b/docs/index.html index 76d255f3..bf228c2a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -13785,6 +13785,14 @@
OPTIONAL. +The reference to which the action should be performed.
OPTIONAL. +The reference to which the action should be performed.
REQUIRED. -The key for the recycle item to be restored.