2022-02-16 07:13:43 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package neo.fs.v2.lock;
|
|
|
|
|
|
|
|
option go_package = "github.com/nspcc-dev/neofs-api-go/v2/lock/grpc;lock";
|
|
|
|
option csharp_namespace = "Neo.FileStorage.API.Lock";
|
|
|
|
|
|
|
|
import "refs/types.proto";
|
|
|
|
|
2022-02-21 09:47:21 +00:00
|
|
|
// Lock objects protects a list of objects from being deleted. Lifetime of the
|
|
|
|
// lock object is limited similar to regular objects in
|
|
|
|
// `__NEOFS__EXPIRATION_EPOCH` attribute.
|
2022-02-16 07:13:43 +00:00
|
|
|
message Lock {
|
2022-02-21 09:47:21 +00:00
|
|
|
// List of objects to lock. Must not be empty or carry empty IDs.
|
|
|
|
// All members must be of the `REGULAR` type.
|
2022-02-16 07:13:43 +00:00
|
|
|
repeated neo.fs.v2.refs.ObjectID members = 1 [json_name = "members"];
|
|
|
|
}
|