@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.
@@ -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
+ "userName": {
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
+ "userName": {
4648
+ "type": "string",
4649
+ "id": 2
4650
+ },
4651
+ "tagKeys": {
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
+ "userName": {
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
+ "tagKey": {
4700
+ "type": "string",
4701
+ "id": 2
4702
+ },
4703
+ "tagValue": {
4704
+ "type": "string",
4705
+ "id": 3
4706
+ }
4707
+ }
4708
+ },
4709
+ "ListUsersWithTagResponse": {
4710
+ "fields": {
4711
+ "status": {
4712
+ "type": "common.Status",
4713
+ "id": 1
4714
+ },
4715
+ "userNames": {
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
+ "dbName": {
4734
+ "type": "string",
4735
+ "id": 2
4736
+ },
4737
+ "collectionName": {
4738
+ "type": "string",
4739
+ "id": 3
4740
+ },
4741
+ "policyName": {
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
+ "usingExpr": {
4756
+ "type": "string",
4757
+ "id": 7
4758
+ },
4759
+ "checkExpr": {
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
+ "dbName": {
4781
+ "type": "string",
4782
+ "id": 2
4783
+ },
4784
+ "collectionName": {
4785
+ "type": "string",
4786
+ "id": 3
4787
+ },
4788
+ "policyName": {
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
+ "dbName": {
4806
+ "type": "string",
4807
+ "id": 2
4808
+ },
4809
+ "collectionName": {
4810
+ "type": "string",
4811
+ "id": 3
4812
+ }
4813
+ }
4814
+ },
4815
+ "RowPolicy": {
4816
+ "fields": {
4817
+ "policyName": {
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
+ "usingExpr": {
4832
+ "type": "string",
4833
+ "id": 4
4834
+ },
4835
+ "checkExpr": {
4836
+ "type": "string",
4837
+ "id": 5
4838
+ },
4839
+ "description": {
4840
+ "type": "string",
4841
+ "id": 6
4842
+ },
4843
+ "createdAt": {
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
+ "dbName": {
4861
+ "type": "string",
4862
+ "id": 3
4863
+ },
4864
+ "collectionName": {
4865
+ "type": "string",
4866
+ "id": 4
4867
+ }
4868
+ }
4576
4869
  }
4577
4870
  }
4578
4871
  },