File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
proto/meshtrade/iam/api_user/v1 Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,8 @@ package meshtrade.iam.api_user.v1;
55import "buf/validate/validate.proto" ;
66
77option go_package = "github.com/meshtrade/api/go/iam/api_user/v1;api_user_v1" ;
8- option java_package = "co.meshtrade.api.iam.api_user.v1" ;
98option java_outer_classname = "ApiUserOuterClass" ;
9+ option java_package = "co.meshtrade.api.iam.api_user.v1" ;
1010
1111/*
1212 Represents an API user for automated authentication and authorization.
@@ -18,15 +18,15 @@ option java_outer_classname = "ApiUserOuterClass";
1818message APIUser {
1919 /*
2020 The unique resource name for the API user.
21- Format: api_users/{ULIDv2}.
21+ Format: iam/ api_users/{ULIDv2}.
2222 This field is system-generated and immutable upon creation.
2323 Any value provided on creation is ignored.
2424 */
2525 string name = 1 [(buf.validate.field ) = {
2626 cel : {
2727 id : "name.format.optional"
2828 message : "name must be empty or in the format api_users/{ULIDv2}"
29- expression : "size(this) == 0 || this.matches('^api_users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$')"
29+ expression : "size(this) == 0 || this.matches('^iam/ api_users/[0123456789ABCDEFGHJKMNPQRSTVWXYZ]{26}$')"
3030 }
3131 }];
3232
You can’t perform that action at this time.
0 commit comments