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 @@

ListRecycleRequest

Opaque information.

+ + ref + Reference + +

OPTIONAL. +The reference to which the action should be performed.

+ + from_ts cs3.types.v1beta1.Timestamp @@ -13871,6 +13879,14 @@

ListRecycleStream Opaque information.

+ + ref + Reference + +

OPTIONAL. +The reference to which the action should be performed.

+ + from_ts cs3.types.v1beta1.Timestamp @@ -14371,14 +14387,6 @@

RestoreRecycleIt The reference to which the action should be performed.

- - key - string - -

REQUIRED. -The key for the recycle item to be restored.

- - restore_ref Reference diff --git a/proto.lock b/proto.lock index 73563115..67aed8a5 100644 --- a/proto.lock +++ b/proto.lock @@ -6922,11 +6922,16 @@ }, { "id": 2, + "name": "ref", + "type": "Reference" + }, + { + "id": 3, "name": "from_ts", "type": "cs3.types.v1beta1.Timestamp" }, { - "id": 3, + "id": 4, "name": "to_ts", "type": "cs3.types.v1beta1.Timestamp" } @@ -6963,11 +6968,16 @@ }, { "id": 2, + "name": "ref", + "type": "Reference" + }, + { + "id": 3, "name": "from_ts", "type": "cs3.types.v1beta1.Timestamp" }, { - "id": 3, + "id": 4, "name": "to_ts", "type": "cs3.types.v1beta1.Timestamp" } @@ -7106,11 +7116,6 @@ "name": "ref", "type": "Reference" }, - { - "id": 3, - "name": "key", - "type": "string" - }, { "id": 4, "name": "restore_ref",