@zilliz/milvus2-sdk-node 2.6.0-rc1 → 2.6.0-rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/milvus/const/milvus.d.ts +2 -1
- package/dist/milvus/const/milvus.js +1 -0
- package/dist/milvus/const/milvus.js.map +1 -1
- package/dist/milvus/grpc/Data.js +1 -1
- package/dist/milvus/grpc/Data.js.map +1 -1
- package/dist/milvus/proto-json/milvus.base.d.ts +293 -0
- package/dist/milvus/proto-json/milvus.base.js +293 -0
- package/dist/milvus/proto-json/milvus.base.js.map +1 -1
- package/dist/milvus/proto-json/milvus.d.ts +293 -0
- package/dist/milvus/proto-json/milvus.js +293 -0
- package/dist/milvus/proto-json/milvus.js.map +1 -1
- package/dist/milvus/types/Data.d.ts +4 -2
- package/dist/milvus/types/Data.js.map +1 -1
- package/dist/milvus/utils/Format.d.ts +32 -5
- package/dist/milvus/utils/Format.js +42 -30
- package/dist/milvus/utils/Format.js.map +1 -1
- package/dist/sdk.json +1 -1
- package/package.json +1 -1
|
@@ -412,6 +412,34 @@ declare const _default: {
|
|
|
412
412
|
requestType: string;
|
|
413
413
|
responseType: string;
|
|
414
414
|
};
|
|
415
|
+
AddUserTags: {
|
|
416
|
+
requestType: string;
|
|
417
|
+
responseType: string;
|
|
418
|
+
};
|
|
419
|
+
DeleteUserTags: {
|
|
420
|
+
requestType: string;
|
|
421
|
+
responseType: string;
|
|
422
|
+
};
|
|
423
|
+
GetUserTags: {
|
|
424
|
+
requestType: string;
|
|
425
|
+
responseType: string;
|
|
426
|
+
};
|
|
427
|
+
ListUsersWithTag: {
|
|
428
|
+
requestType: string;
|
|
429
|
+
responseType: string;
|
|
430
|
+
};
|
|
431
|
+
CreateRowPolicy: {
|
|
432
|
+
requestType: string;
|
|
433
|
+
responseType: string;
|
|
434
|
+
};
|
|
435
|
+
DropRowPolicy: {
|
|
436
|
+
requestType: string;
|
|
437
|
+
responseType: string;
|
|
438
|
+
};
|
|
439
|
+
ListRowPolicies: {
|
|
440
|
+
requestType: string;
|
|
441
|
+
responseType: string;
|
|
442
|
+
};
|
|
415
443
|
};
|
|
416
444
|
};
|
|
417
445
|
CreateAliasRequest: {
|
|
@@ -4559,6 +4587,271 @@ declare const _default: {
|
|
|
4559
4587
|
};
|
|
4560
4588
|
};
|
|
4561
4589
|
};
|
|
4590
|
+
RowPolicyAction: {
|
|
4591
|
+
values: {
|
|
4592
|
+
Query: number;
|
|
4593
|
+
Search: number;
|
|
4594
|
+
Insert: number;
|
|
4595
|
+
Delete: number;
|
|
4596
|
+
Upsert: number;
|
|
4597
|
+
};
|
|
4598
|
+
};
|
|
4599
|
+
AddUserTagsRequest: {
|
|
4600
|
+
options: {
|
|
4601
|
+
"(common.privilege_ext_obj).object_type": string;
|
|
4602
|
+
"(common.privilege_ext_obj).object_privilege": string;
|
|
4603
|
+
"(common.privilege_ext_obj).object_name_index": number;
|
|
4604
|
+
};
|
|
4605
|
+
fields: {
|
|
4606
|
+
base: {
|
|
4607
|
+
type: string;
|
|
4608
|
+
id: number;
|
|
4609
|
+
};
|
|
4610
|
+
user_name: {
|
|
4611
|
+
type: string;
|
|
4612
|
+
id: number;
|
|
4613
|
+
};
|
|
4614
|
+
tags: {
|
|
4615
|
+
keyType: string;
|
|
4616
|
+
type: string;
|
|
4617
|
+
id: number;
|
|
4618
|
+
};
|
|
4619
|
+
};
|
|
4620
|
+
};
|
|
4621
|
+
DeleteUserTagsRequest: {
|
|
4622
|
+
options: {
|
|
4623
|
+
"(common.privilege_ext_obj).object_type": string;
|
|
4624
|
+
"(common.privilege_ext_obj).object_privilege": string;
|
|
4625
|
+
"(common.privilege_ext_obj).object_name_index": number;
|
|
4626
|
+
};
|
|
4627
|
+
fields: {
|
|
4628
|
+
base: {
|
|
4629
|
+
type: string;
|
|
4630
|
+
id: number;
|
|
4631
|
+
};
|
|
4632
|
+
user_name: {
|
|
4633
|
+
type: string;
|
|
4634
|
+
id: number;
|
|
4635
|
+
};
|
|
4636
|
+
tag_keys: {
|
|
4637
|
+
rule: string;
|
|
4638
|
+
type: string;
|
|
4639
|
+
id: number;
|
|
4640
|
+
};
|
|
4641
|
+
};
|
|
4642
|
+
};
|
|
4643
|
+
GetUserTagsRequest: {
|
|
4644
|
+
options: {
|
|
4645
|
+
"(common.privilege_ext_obj).object_type": string;
|
|
4646
|
+
"(common.privilege_ext_obj).object_privilege": string;
|
|
4647
|
+
"(common.privilege_ext_obj).object_name_index": number;
|
|
4648
|
+
};
|
|
4649
|
+
fields: {
|
|
4650
|
+
base: {
|
|
4651
|
+
type: string;
|
|
4652
|
+
id: number;
|
|
4653
|
+
};
|
|
4654
|
+
user_name: {
|
|
4655
|
+
type: string;
|
|
4656
|
+
id: number;
|
|
4657
|
+
};
|
|
4658
|
+
};
|
|
4659
|
+
};
|
|
4660
|
+
GetUserTagsResponse: {
|
|
4661
|
+
fields: {
|
|
4662
|
+
status: {
|
|
4663
|
+
type: string;
|
|
4664
|
+
id: number;
|
|
4665
|
+
};
|
|
4666
|
+
tags: {
|
|
4667
|
+
keyType: string;
|
|
4668
|
+
type: string;
|
|
4669
|
+
id: number;
|
|
4670
|
+
};
|
|
4671
|
+
};
|
|
4672
|
+
};
|
|
4673
|
+
ListUsersWithTagRequest: {
|
|
4674
|
+
options: {
|
|
4675
|
+
"(common.privilege_ext_obj).object_type": string;
|
|
4676
|
+
"(common.privilege_ext_obj).object_privilege": string;
|
|
4677
|
+
"(common.privilege_ext_obj).object_name_index": number;
|
|
4678
|
+
};
|
|
4679
|
+
fields: {
|
|
4680
|
+
base: {
|
|
4681
|
+
type: string;
|
|
4682
|
+
id: number;
|
|
4683
|
+
};
|
|
4684
|
+
tag_key: {
|
|
4685
|
+
type: string;
|
|
4686
|
+
id: number;
|
|
4687
|
+
};
|
|
4688
|
+
tag_value: {
|
|
4689
|
+
type: string;
|
|
4690
|
+
id: number;
|
|
4691
|
+
};
|
|
4692
|
+
};
|
|
4693
|
+
};
|
|
4694
|
+
ListUsersWithTagResponse: {
|
|
4695
|
+
fields: {
|
|
4696
|
+
status: {
|
|
4697
|
+
type: string;
|
|
4698
|
+
id: number;
|
|
4699
|
+
};
|
|
4700
|
+
user_names: {
|
|
4701
|
+
rule: string;
|
|
4702
|
+
type: string;
|
|
4703
|
+
id: number;
|
|
4704
|
+
};
|
|
4705
|
+
};
|
|
4706
|
+
};
|
|
4707
|
+
CreateRowPolicyRequest: {
|
|
4708
|
+
options: {
|
|
4709
|
+
"(common.privilege_ext_obj).object_type": string;
|
|
4710
|
+
"(common.privilege_ext_obj).object_privilege": string;
|
|
4711
|
+
"(common.privilege_ext_obj).object_name_index": number;
|
|
4712
|
+
};
|
|
4713
|
+
fields: {
|
|
4714
|
+
base: {
|
|
4715
|
+
type: string;
|
|
4716
|
+
id: number;
|
|
4717
|
+
};
|
|
4718
|
+
db_name: {
|
|
4719
|
+
type: string;
|
|
4720
|
+
id: number;
|
|
4721
|
+
};
|
|
4722
|
+
collection_name: {
|
|
4723
|
+
type: string;
|
|
4724
|
+
id: number;
|
|
4725
|
+
};
|
|
4726
|
+
policy_name: {
|
|
4727
|
+
type: string;
|
|
4728
|
+
id: number;
|
|
4729
|
+
};
|
|
4730
|
+
actions: {
|
|
4731
|
+
rule: string;
|
|
4732
|
+
type: string;
|
|
4733
|
+
id: number;
|
|
4734
|
+
};
|
|
4735
|
+
roles: {
|
|
4736
|
+
rule: string;
|
|
4737
|
+
type: string;
|
|
4738
|
+
id: number;
|
|
4739
|
+
};
|
|
4740
|
+
using_expr: {
|
|
4741
|
+
type: string;
|
|
4742
|
+
id: number;
|
|
4743
|
+
};
|
|
4744
|
+
check_expr: {
|
|
4745
|
+
type: string;
|
|
4746
|
+
id: number;
|
|
4747
|
+
};
|
|
4748
|
+
description: {
|
|
4749
|
+
type: string;
|
|
4750
|
+
id: number;
|
|
4751
|
+
};
|
|
4752
|
+
};
|
|
4753
|
+
};
|
|
4754
|
+
DropRowPolicyRequest: {
|
|
4755
|
+
options: {
|
|
4756
|
+
"(common.privilege_ext_obj).object_type": string;
|
|
4757
|
+
"(common.privilege_ext_obj).object_privilege": string;
|
|
4758
|
+
"(common.privilege_ext_obj).object_name_index": number;
|
|
4759
|
+
};
|
|
4760
|
+
fields: {
|
|
4761
|
+
base: {
|
|
4762
|
+
type: string;
|
|
4763
|
+
id: number;
|
|
4764
|
+
};
|
|
4765
|
+
db_name: {
|
|
4766
|
+
type: string;
|
|
4767
|
+
id: number;
|
|
4768
|
+
};
|
|
4769
|
+
collection_name: {
|
|
4770
|
+
type: string;
|
|
4771
|
+
id: number;
|
|
4772
|
+
};
|
|
4773
|
+
policy_name: {
|
|
4774
|
+
type: string;
|
|
4775
|
+
id: number;
|
|
4776
|
+
};
|
|
4777
|
+
};
|
|
4778
|
+
};
|
|
4779
|
+
ListRowPoliciesRequest: {
|
|
4780
|
+
options: {
|
|
4781
|
+
"(common.privilege_ext_obj).object_type": string;
|
|
4782
|
+
"(common.privilege_ext_obj).object_privilege": string;
|
|
4783
|
+
"(common.privilege_ext_obj).object_name_index": number;
|
|
4784
|
+
};
|
|
4785
|
+
fields: {
|
|
4786
|
+
base: {
|
|
4787
|
+
type: string;
|
|
4788
|
+
id: number;
|
|
4789
|
+
};
|
|
4790
|
+
db_name: {
|
|
4791
|
+
type: string;
|
|
4792
|
+
id: number;
|
|
4793
|
+
};
|
|
4794
|
+
collection_name: {
|
|
4795
|
+
type: string;
|
|
4796
|
+
id: number;
|
|
4797
|
+
};
|
|
4798
|
+
};
|
|
4799
|
+
};
|
|
4800
|
+
RowPolicy: {
|
|
4801
|
+
fields: {
|
|
4802
|
+
policy_name: {
|
|
4803
|
+
type: string;
|
|
4804
|
+
id: number;
|
|
4805
|
+
};
|
|
4806
|
+
actions: {
|
|
4807
|
+
rule: string;
|
|
4808
|
+
type: string;
|
|
4809
|
+
id: number;
|
|
4810
|
+
};
|
|
4811
|
+
roles: {
|
|
4812
|
+
rule: string;
|
|
4813
|
+
type: string;
|
|
4814
|
+
id: number;
|
|
4815
|
+
};
|
|
4816
|
+
using_expr: {
|
|
4817
|
+
type: string;
|
|
4818
|
+
id: number;
|
|
4819
|
+
};
|
|
4820
|
+
check_expr: {
|
|
4821
|
+
type: string;
|
|
4822
|
+
id: number;
|
|
4823
|
+
};
|
|
4824
|
+
description: {
|
|
4825
|
+
type: string;
|
|
4826
|
+
id: number;
|
|
4827
|
+
};
|
|
4828
|
+
created_at: {
|
|
4829
|
+
type: string;
|
|
4830
|
+
id: number;
|
|
4831
|
+
};
|
|
4832
|
+
};
|
|
4833
|
+
};
|
|
4834
|
+
ListRowPoliciesResponse: {
|
|
4835
|
+
fields: {
|
|
4836
|
+
status: {
|
|
4837
|
+
type: string;
|
|
4838
|
+
id: number;
|
|
4839
|
+
};
|
|
4840
|
+
policies: {
|
|
4841
|
+
rule: string;
|
|
4842
|
+
type: string;
|
|
4843
|
+
id: number;
|
|
4844
|
+
};
|
|
4845
|
+
db_name: {
|
|
4846
|
+
type: string;
|
|
4847
|
+
id: number;
|
|
4848
|
+
};
|
|
4849
|
+
collection_name: {
|
|
4850
|
+
type: string;
|
|
4851
|
+
id: number;
|
|
4852
|
+
};
|
|
4853
|
+
};
|
|
4854
|
+
};
|
|
4562
4855
|
};
|
|
4563
4856
|
};
|
|
4564
4857
|
common: {
|
|
@@ -417,6 +417,34 @@ exports.default = {
|
|
|
417
417
|
"RunAnalyzer": {
|
|
418
418
|
"requestType": "RunAnalyzerRequest",
|
|
419
419
|
"responseType": "RunAnalyzerResponse"
|
|
420
|
+
},
|
|
421
|
+
"AddUserTags": {
|
|
422
|
+
"requestType": "AddUserTagsRequest",
|
|
423
|
+
"responseType": "common.Status"
|
|
424
|
+
},
|
|
425
|
+
"DeleteUserTags": {
|
|
426
|
+
"requestType": "DeleteUserTagsRequest",
|
|
427
|
+
"responseType": "common.Status"
|
|
428
|
+
},
|
|
429
|
+
"GetUserTags": {
|
|
430
|
+
"requestType": "GetUserTagsRequest",
|
|
431
|
+
"responseType": "GetUserTagsResponse"
|
|
432
|
+
},
|
|
433
|
+
"ListUsersWithTag": {
|
|
434
|
+
"requestType": "ListUsersWithTagRequest",
|
|
435
|
+
"responseType": "ListUsersWithTagResponse"
|
|
436
|
+
},
|
|
437
|
+
"CreateRowPolicy": {
|
|
438
|
+
"requestType": "CreateRowPolicyRequest",
|
|
439
|
+
"responseType": "common.Status"
|
|
440
|
+
},
|
|
441
|
+
"DropRowPolicy": {
|
|
442
|
+
"requestType": "DropRowPolicyRequest",
|
|
443
|
+
"responseType": "common.Status"
|
|
444
|
+
},
|
|
445
|
+
"ListRowPolicies": {
|
|
446
|
+
"requestType": "ListRowPoliciesRequest",
|
|
447
|
+
"responseType": "ListRowPoliciesResponse"
|
|
420
448
|
}
|
|
421
449
|
}
|
|
422
450
|
},
|
|
@@ -4573,6 +4601,271 @@ exports.default = {
|
|
|
4573
4601
|
"id": 2
|
|
4574
4602
|
}
|
|
4575
4603
|
}
|
|
4604
|
+
},
|
|
4605
|
+
"RowPolicyAction": {
|
|
4606
|
+
"values": {
|
|
4607
|
+
"Query": 0,
|
|
4608
|
+
"Search": 1,
|
|
4609
|
+
"Insert": 2,
|
|
4610
|
+
"Delete": 3,
|
|
4611
|
+
"Upsert": 4
|
|
4612
|
+
}
|
|
4613
|
+
},
|
|
4614
|
+
"AddUserTagsRequest": {
|
|
4615
|
+
"options": {
|
|
4616
|
+
"(common.privilege_ext_obj).object_type": "User",
|
|
4617
|
+
"(common.privilege_ext_obj).object_privilege": "PrivilegeUpdateUser",
|
|
4618
|
+
"(common.privilege_ext_obj).object_name_index": 2
|
|
4619
|
+
},
|
|
4620
|
+
"fields": {
|
|
4621
|
+
"base": {
|
|
4622
|
+
"type": "common.MsgBase",
|
|
4623
|
+
"id": 1
|
|
4624
|
+
},
|
|
4625
|
+
"user_name": {
|
|
4626
|
+
"type": "string",
|
|
4627
|
+
"id": 2
|
|
4628
|
+
},
|
|
4629
|
+
"tags": {
|
|
4630
|
+
"keyType": "string",
|
|
4631
|
+
"type": "string",
|
|
4632
|
+
"id": 3
|
|
4633
|
+
}
|
|
4634
|
+
}
|
|
4635
|
+
},
|
|
4636
|
+
"DeleteUserTagsRequest": {
|
|
4637
|
+
"options": {
|
|
4638
|
+
"(common.privilege_ext_obj).object_type": "User",
|
|
4639
|
+
"(common.privilege_ext_obj).object_privilege": "PrivilegeUpdateUser",
|
|
4640
|
+
"(common.privilege_ext_obj).object_name_index": 2
|
|
4641
|
+
},
|
|
4642
|
+
"fields": {
|
|
4643
|
+
"base": {
|
|
4644
|
+
"type": "common.MsgBase",
|
|
4645
|
+
"id": 1
|
|
4646
|
+
},
|
|
4647
|
+
"user_name": {
|
|
4648
|
+
"type": "string",
|
|
4649
|
+
"id": 2
|
|
4650
|
+
},
|
|
4651
|
+
"tag_keys": {
|
|
4652
|
+
"rule": "repeated",
|
|
4653
|
+
"type": "string",
|
|
4654
|
+
"id": 3
|
|
4655
|
+
}
|
|
4656
|
+
}
|
|
4657
|
+
},
|
|
4658
|
+
"GetUserTagsRequest": {
|
|
4659
|
+
"options": {
|
|
4660
|
+
"(common.privilege_ext_obj).object_type": "User",
|
|
4661
|
+
"(common.privilege_ext_obj).object_privilege": "PrivilegeSelectUser",
|
|
4662
|
+
"(common.privilege_ext_obj).object_name_index": 2
|
|
4663
|
+
},
|
|
4664
|
+
"fields": {
|
|
4665
|
+
"base": {
|
|
4666
|
+
"type": "common.MsgBase",
|
|
4667
|
+
"id": 1
|
|
4668
|
+
},
|
|
4669
|
+
"user_name": {
|
|
4670
|
+
"type": "string",
|
|
4671
|
+
"id": 2
|
|
4672
|
+
}
|
|
4673
|
+
}
|
|
4674
|
+
},
|
|
4675
|
+
"GetUserTagsResponse": {
|
|
4676
|
+
"fields": {
|
|
4677
|
+
"status": {
|
|
4678
|
+
"type": "common.Status",
|
|
4679
|
+
"id": 1
|
|
4680
|
+
},
|
|
4681
|
+
"tags": {
|
|
4682
|
+
"keyType": "string",
|
|
4683
|
+
"type": "string",
|
|
4684
|
+
"id": 2
|
|
4685
|
+
}
|
|
4686
|
+
}
|
|
4687
|
+
},
|
|
4688
|
+
"ListUsersWithTagRequest": {
|
|
4689
|
+
"options": {
|
|
4690
|
+
"(common.privilege_ext_obj).object_type": "User",
|
|
4691
|
+
"(common.privilege_ext_obj).object_privilege": "PrivilegeSelectUser",
|
|
4692
|
+
"(common.privilege_ext_obj).object_name_index": -1
|
|
4693
|
+
},
|
|
4694
|
+
"fields": {
|
|
4695
|
+
"base": {
|
|
4696
|
+
"type": "common.MsgBase",
|
|
4697
|
+
"id": 1
|
|
4698
|
+
},
|
|
4699
|
+
"tag_key": {
|
|
4700
|
+
"type": "string",
|
|
4701
|
+
"id": 2
|
|
4702
|
+
},
|
|
4703
|
+
"tag_value": {
|
|
4704
|
+
"type": "string",
|
|
4705
|
+
"id": 3
|
|
4706
|
+
}
|
|
4707
|
+
}
|
|
4708
|
+
},
|
|
4709
|
+
"ListUsersWithTagResponse": {
|
|
4710
|
+
"fields": {
|
|
4711
|
+
"status": {
|
|
4712
|
+
"type": "common.Status",
|
|
4713
|
+
"id": 1
|
|
4714
|
+
},
|
|
4715
|
+
"user_names": {
|
|
4716
|
+
"rule": "repeated",
|
|
4717
|
+
"type": "string",
|
|
4718
|
+
"id": 2
|
|
4719
|
+
}
|
|
4720
|
+
}
|
|
4721
|
+
},
|
|
4722
|
+
"CreateRowPolicyRequest": {
|
|
4723
|
+
"options": {
|
|
4724
|
+
"(common.privilege_ext_obj).object_type": "Collection",
|
|
4725
|
+
"(common.privilege_ext_obj).object_privilege": "PrivilegeCreateOwnership",
|
|
4726
|
+
"(common.privilege_ext_obj).object_name_index": 3
|
|
4727
|
+
},
|
|
4728
|
+
"fields": {
|
|
4729
|
+
"base": {
|
|
4730
|
+
"type": "common.MsgBase",
|
|
4731
|
+
"id": 1
|
|
4732
|
+
},
|
|
4733
|
+
"db_name": {
|
|
4734
|
+
"type": "string",
|
|
4735
|
+
"id": 2
|
|
4736
|
+
},
|
|
4737
|
+
"collection_name": {
|
|
4738
|
+
"type": "string",
|
|
4739
|
+
"id": 3
|
|
4740
|
+
},
|
|
4741
|
+
"policy_name": {
|
|
4742
|
+
"type": "string",
|
|
4743
|
+
"id": 4
|
|
4744
|
+
},
|
|
4745
|
+
"actions": {
|
|
4746
|
+
"rule": "repeated",
|
|
4747
|
+
"type": "RowPolicyAction",
|
|
4748
|
+
"id": 5
|
|
4749
|
+
},
|
|
4750
|
+
"roles": {
|
|
4751
|
+
"rule": "repeated",
|
|
4752
|
+
"type": "string",
|
|
4753
|
+
"id": 6
|
|
4754
|
+
},
|
|
4755
|
+
"using_expr": {
|
|
4756
|
+
"type": "string",
|
|
4757
|
+
"id": 7
|
|
4758
|
+
},
|
|
4759
|
+
"check_expr": {
|
|
4760
|
+
"type": "string",
|
|
4761
|
+
"id": 8
|
|
4762
|
+
},
|
|
4763
|
+
"description": {
|
|
4764
|
+
"type": "string",
|
|
4765
|
+
"id": 9
|
|
4766
|
+
}
|
|
4767
|
+
}
|
|
4768
|
+
},
|
|
4769
|
+
"DropRowPolicyRequest": {
|
|
4770
|
+
"options": {
|
|
4771
|
+
"(common.privilege_ext_obj).object_type": "Collection",
|
|
4772
|
+
"(common.privilege_ext_obj).object_privilege": "PrivilegeDropOwnership",
|
|
4773
|
+
"(common.privilege_ext_obj).object_name_index": 3
|
|
4774
|
+
},
|
|
4775
|
+
"fields": {
|
|
4776
|
+
"base": {
|
|
4777
|
+
"type": "common.MsgBase",
|
|
4778
|
+
"id": 1
|
|
4779
|
+
},
|
|
4780
|
+
"db_name": {
|
|
4781
|
+
"type": "string",
|
|
4782
|
+
"id": 2
|
|
4783
|
+
},
|
|
4784
|
+
"collection_name": {
|
|
4785
|
+
"type": "string",
|
|
4786
|
+
"id": 3
|
|
4787
|
+
},
|
|
4788
|
+
"policy_name": {
|
|
4789
|
+
"type": "string",
|
|
4790
|
+
"id": 4
|
|
4791
|
+
}
|
|
4792
|
+
}
|
|
4793
|
+
},
|
|
4794
|
+
"ListRowPoliciesRequest": {
|
|
4795
|
+
"options": {
|
|
4796
|
+
"(common.privilege_ext_obj).object_type": "Collection",
|
|
4797
|
+
"(common.privilege_ext_obj).object_privilege": "PrivilegeSelectOwnership",
|
|
4798
|
+
"(common.privilege_ext_obj).object_name_index": 3
|
|
4799
|
+
},
|
|
4800
|
+
"fields": {
|
|
4801
|
+
"base": {
|
|
4802
|
+
"type": "common.MsgBase",
|
|
4803
|
+
"id": 1
|
|
4804
|
+
},
|
|
4805
|
+
"db_name": {
|
|
4806
|
+
"type": "string",
|
|
4807
|
+
"id": 2
|
|
4808
|
+
},
|
|
4809
|
+
"collection_name": {
|
|
4810
|
+
"type": "string",
|
|
4811
|
+
"id": 3
|
|
4812
|
+
}
|
|
4813
|
+
}
|
|
4814
|
+
},
|
|
4815
|
+
"RowPolicy": {
|
|
4816
|
+
"fields": {
|
|
4817
|
+
"policy_name": {
|
|
4818
|
+
"type": "string",
|
|
4819
|
+
"id": 1
|
|
4820
|
+
},
|
|
4821
|
+
"actions": {
|
|
4822
|
+
"rule": "repeated",
|
|
4823
|
+
"type": "RowPolicyAction",
|
|
4824
|
+
"id": 2
|
|
4825
|
+
},
|
|
4826
|
+
"roles": {
|
|
4827
|
+
"rule": "repeated",
|
|
4828
|
+
"type": "string",
|
|
4829
|
+
"id": 3
|
|
4830
|
+
},
|
|
4831
|
+
"using_expr": {
|
|
4832
|
+
"type": "string",
|
|
4833
|
+
"id": 4
|
|
4834
|
+
},
|
|
4835
|
+
"check_expr": {
|
|
4836
|
+
"type": "string",
|
|
4837
|
+
"id": 5
|
|
4838
|
+
},
|
|
4839
|
+
"description": {
|
|
4840
|
+
"type": "string",
|
|
4841
|
+
"id": 6
|
|
4842
|
+
},
|
|
4843
|
+
"created_at": {
|
|
4844
|
+
"type": "int64",
|
|
4845
|
+
"id": 7
|
|
4846
|
+
}
|
|
4847
|
+
}
|
|
4848
|
+
},
|
|
4849
|
+
"ListRowPoliciesResponse": {
|
|
4850
|
+
"fields": {
|
|
4851
|
+
"status": {
|
|
4852
|
+
"type": "common.Status",
|
|
4853
|
+
"id": 1
|
|
4854
|
+
},
|
|
4855
|
+
"policies": {
|
|
4856
|
+
"rule": "repeated",
|
|
4857
|
+
"type": "RowPolicy",
|
|
4858
|
+
"id": 2
|
|
4859
|
+
},
|
|
4860
|
+
"db_name": {
|
|
4861
|
+
"type": "string",
|
|
4862
|
+
"id": 3
|
|
4863
|
+
},
|
|
4864
|
+
"collection_name": {
|
|
4865
|
+
"type": "string",
|
|
4866
|
+
"id": 4
|
|
4867
|
+
}
|
|
4868
|
+
}
|
|
4576
4869
|
}
|
|
4577
4870
|
}
|
|
4578
4871
|
},
|