38 lines
1.2 KiB
Protocol Buffer
38 lines
1.2 KiB
Protocol Buffer
syntax = "proto3";
|
|||
|
|
|
||
|
|
package zitadel.settings.object.v3alpha;
|
||
|
|
|
||
|
|
option go_package = "github.com/zitadel/zitadel/pkg/grpc/settings/object/v3alpha;object";
|
||
|
|
|
||
|
|
import "google/protobuf/timestamp.proto";
|
||
|
|
import "protoc-gen-openapiv2/options/annotations.proto";
|
||
|
|
import "validate/validate.proto";
|
||
|
|
import "google/protobuf/duration.proto";
|
||
|
|
|
||
|
|
import "zitadel/object/v3alpha/object.proto";
|
||
|
|
|
||
|
|
message Details {
|
||
|
|
//sequence represents the order of events. It's always counting
|
||
|
|
//
|
||
|
|
// on read: the sequence of the last event reduced by the projection
|
||
|
|
//
|
||
|
|
// on manipulation: the timestamp of the event(s) added by the manipulation
|
||
|
|
uint64 sequence = 1 [
|
||
|
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||
|
|
example: "\"2\"";
|
||
|
|
}
|
||
|
|
];
|
||
|
|
//change_date is the timestamp when the object was changed
|
||
|
|
//
|
||
|
|
// on read: the timestamp of the last event reduced by the projection
|
||
|
|
//
|
||
|
|
// on manipulation: the timestamp of the event(s) added by the manipulation
|
||
|
|
google.protobuf.Timestamp change_date = 2;
|
||
|
|
//resource_owner represents the context an object belongs to
|
||
|
|
zitadel.object.v3alpha.Owner owner = 3 [
|
||
|
|
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||
|
|
example: "\"69629023906488334\"";
|
||
|
|
}
|
||
|
|
];
|
||
|
|
}
|
||
|
|
|