增加grant的ds字段
This commit is contained in:
13
cmd.pb.go
13
cmd.pb.go
@@ -2222,6 +2222,7 @@ type Grant struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
SrtaAccountId uint32 `protobuf:"varint,1,opt,name=srta_account_id,json=srtaAccountId,proto3" json:"srta_account_id,omitempty"` // sRTA授权目标账号ID
|
||||
GrantIndex string `protobuf:"bytes,2,opt,name=grant_index,json=grantIndex,proto3" json:"grant_index,omitempty"` // 授权索引。格式为 "index1, index2, index55-index64",例如 "1, 2, 55-64"
|
||||
DataspaceId string `protobuf:"bytes,3,opt,name=dataspace_id,json=dataspaceId,proto3" json:"dataspace_id,omitempty"` // 授权数据空间ID
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -2270,6 +2271,13 @@ func (x *Grant) GetGrantIndex() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *Grant) GetDataspaceId() string {
|
||||
if x != nil {
|
||||
return x.DataspaceId
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// ScriptRun 运行脚本
|
||||
type ScriptRun struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
@@ -4879,11 +4887,12 @@ const file_cmd_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"BindDelete\x12#\n" +
|
||||
"\x05binds\x18\x02 \x03(\v2\r.saasapi.BindR\x05binds\"\v\n" +
|
||||
"\tGrantList\"P\n" +
|
||||
"\tGrantList\"s\n" +
|
||||
"\x05Grant\x12&\n" +
|
||||
"\x0fsrta_account_id\x18\x01 \x01(\rR\rsrtaAccountId\x12\x1f\n" +
|
||||
"\vgrant_index\x18\x02 \x01(\tR\n" +
|
||||
"grantIndex\"\xa1\x01\n" +
|
||||
"grantIndex\x12!\n" +
|
||||
"\fdataspace_id\x18\x03 \x01(\tR\vdataspaceId\"\xa1\x01\n" +
|
||||
"\tScriptRun\x12\x1d\n" +
|
||||
"\n" +
|
||||
"lua_script\x18\x01 \x01(\tR\tluaScript\x12\x1d\n" +
|
||||
|
||||
Reference in New Issue
Block a user