diff --git a/proto-docs/storagegroup.md b/proto-docs/storagegroup.md index 7522902..af34ee3 100644 --- a/proto-docs/storagegroup.md +++ b/proto-docs/storagegroup.md @@ -34,6 +34,7 @@ | ValidationDataSize | [uint64](#uint64) | | ValidationDataSize is size of the all object's payloads included into storage group | | ValidationHash | [bytes](#bytes) | | ValidationHash is homomorphic hash of all object's payloads included into storage group | | lifetime | [StorageGroup.Lifetime](#storagegroup.StorageGroup.Lifetime) | | Lifetime is time until storage group is valid | +| Members | [refs.ObjectID](#refs.ObjectID) | repeated | Members carries the list of identifiers of the object storage group members. The list is strictly ordered. | diff --git a/storagegroup/types.proto b/storagegroup/types.proto index fde33aa..711d72c 100644 --- a/storagegroup/types.proto +++ b/storagegroup/types.proto @@ -4,6 +4,7 @@ option go_package = "github.com/nspcc-dev/neofs-api-go/storagegroup"; option csharp_namespace = "NeoFS.API.StorageGroup"; import "github.com/gogo/protobuf/gogoproto/gogo.proto"; +import "refs/types.proto"; option (gogoproto.stable_marshaler_all) = true; @@ -33,4 +34,8 @@ message StorageGroup { // Lifetime is time until storage group is valid Lifetime lifetime = 3 [(gogoproto.customname) = "Lifetime"]; + + // Members carries the list of identifiers of the object storage group members. + // The list is strictly ordered. + repeated refs.ObjectID Members = 4; }