tencentcloud-sdk-dlc 3.0.1169 → 3.0.1170
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210125/models.rb +75 -24
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9ec31340bf2de4c35448365b5162c029d0ff411d
|
|
4
|
+
data.tar.gz: 6ea208c9a763ed41723a8ae2760c66c667551cff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7af442952dfb0661dffe9a25dcef54877db469e4ec01e6467bd77f4fcbfc84c5b41ff76098d03cd5650a8f7dfa8f1509ae236b88a174c1165d78663f2b4e6cdd
|
|
7
|
+
data.tar.gz: a266a193c0d085e5e4437dade8bb5a0a10c3fa492d052283236290f0ba76935ea0f174ca938a648bea68bef4af5705e97ce06e118e9ad83893a2190226b13b04
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1170
|
data/lib/v20210125/models.rb
CHANGED
|
@@ -769,12 +769,15 @@ module TencentCloud
|
|
|
769
769
|
# @type UserId: String
|
|
770
770
|
# @param PolicySet: 鉴权策略集合
|
|
771
771
|
# @type PolicySet: Array
|
|
772
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
773
|
+
# @type AccountType: String
|
|
772
774
|
|
|
773
|
-
attr_accessor :UserId, :PolicySet
|
|
775
|
+
attr_accessor :UserId, :PolicySet, :AccountType
|
|
774
776
|
|
|
775
|
-
def initialize(userid=nil, policyset=nil)
|
|
777
|
+
def initialize(userid=nil, policyset=nil, accounttype=nil)
|
|
776
778
|
@UserId = userid
|
|
777
779
|
@PolicySet = policyset
|
|
780
|
+
@AccountType = accounttype
|
|
778
781
|
end
|
|
779
782
|
|
|
780
783
|
def deserialize(params)
|
|
@@ -787,6 +790,7 @@ module TencentCloud
|
|
|
787
790
|
@PolicySet << policy_tmp
|
|
788
791
|
end
|
|
789
792
|
end
|
|
793
|
+
@AccountType = params['AccountType']
|
|
790
794
|
end
|
|
791
795
|
end
|
|
792
796
|
|
|
@@ -3553,16 +3557,19 @@ module TencentCloud
|
|
|
3553
3557
|
# @type WorkGroupIds: Array
|
|
3554
3558
|
# @param UserAlias: 用户别名,字符长度小50
|
|
3555
3559
|
# @type UserAlias: String
|
|
3560
|
+
# @param AccountType: 账号类型,UserAccount:用户账号 RoleAccount:角色账号,默认为用户账号
|
|
3561
|
+
# @type AccountType: String
|
|
3556
3562
|
|
|
3557
|
-
attr_accessor :UserId, :UserDescription, :PolicySet, :UserType, :WorkGroupIds, :UserAlias
|
|
3563
|
+
attr_accessor :UserId, :UserDescription, :PolicySet, :UserType, :WorkGroupIds, :UserAlias, :AccountType
|
|
3558
3564
|
|
|
3559
|
-
def initialize(userid=nil, userdescription=nil, policyset=nil, usertype=nil, workgroupids=nil, useralias=nil)
|
|
3565
|
+
def initialize(userid=nil, userdescription=nil, policyset=nil, usertype=nil, workgroupids=nil, useralias=nil, accounttype=nil)
|
|
3560
3566
|
@UserId = userid
|
|
3561
3567
|
@UserDescription = userdescription
|
|
3562
3568
|
@PolicySet = policyset
|
|
3563
3569
|
@UserType = usertype
|
|
3564
3570
|
@WorkGroupIds = workgroupids
|
|
3565
3571
|
@UserAlias = useralias
|
|
3572
|
+
@AccountType = accounttype
|
|
3566
3573
|
end
|
|
3567
3574
|
|
|
3568
3575
|
def deserialize(params)
|
|
@@ -3579,6 +3586,7 @@ module TencentCloud
|
|
|
3579
3586
|
@UserType = params['UserType']
|
|
3580
3587
|
@WorkGroupIds = params['WorkGroupIds']
|
|
3581
3588
|
@UserAlias = params['UserAlias']
|
|
3589
|
+
@AccountType = params['AccountType']
|
|
3582
3590
|
end
|
|
3583
3591
|
end
|
|
3584
3592
|
|
|
@@ -5802,15 +5810,19 @@ module TencentCloud
|
|
|
5802
5810
|
class DeleteUserRequest < TencentCloud::Common::AbstractModel
|
|
5803
5811
|
# @param UserIds: 需要删除的用户的Id
|
|
5804
5812
|
# @type UserIds: Array
|
|
5813
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
5814
|
+
# @type AccountType: String
|
|
5805
5815
|
|
|
5806
|
-
attr_accessor :UserIds
|
|
5816
|
+
attr_accessor :UserIds, :AccountType
|
|
5807
5817
|
|
|
5808
|
-
def initialize(userids=nil)
|
|
5818
|
+
def initialize(userids=nil, accounttype=nil)
|
|
5809
5819
|
@UserIds = userids
|
|
5820
|
+
@AccountType = accounttype
|
|
5810
5821
|
end
|
|
5811
5822
|
|
|
5812
5823
|
def deserialize(params)
|
|
5813
5824
|
@UserIds = params['UserIds']
|
|
5825
|
+
@AccountType = params['AccountType']
|
|
5814
5826
|
end
|
|
5815
5827
|
end
|
|
5816
5828
|
|
|
@@ -9912,10 +9924,12 @@ module TencentCloud
|
|
|
9912
9924
|
# @type Limit: Integer
|
|
9913
9925
|
# @param Offset: 偏移量,默认为0
|
|
9914
9926
|
# @type Offset: Integer
|
|
9927
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
9928
|
+
# @type AccountType: String
|
|
9915
9929
|
|
|
9916
|
-
attr_accessor :UserId, :Type, :Filters, :SortBy, :Sorting, :Limit, :Offset
|
|
9930
|
+
attr_accessor :UserId, :Type, :Filters, :SortBy, :Sorting, :Limit, :Offset, :AccountType
|
|
9917
9931
|
|
|
9918
|
-
def initialize(userid=nil, type=nil, filters=nil, sortby=nil, sorting=nil, limit=nil, offset=nil)
|
|
9932
|
+
def initialize(userid=nil, type=nil, filters=nil, sortby=nil, sorting=nil, limit=nil, offset=nil, accounttype=nil)
|
|
9919
9933
|
@UserId = userid
|
|
9920
9934
|
@Type = type
|
|
9921
9935
|
@Filters = filters
|
|
@@ -9923,6 +9937,7 @@ module TencentCloud
|
|
|
9923
9937
|
@Sorting = sorting
|
|
9924
9938
|
@Limit = limit
|
|
9925
9939
|
@Offset = offset
|
|
9940
|
+
@AccountType = accounttype
|
|
9926
9941
|
end
|
|
9927
9942
|
|
|
9928
9943
|
def deserialize(params)
|
|
@@ -9940,6 +9955,7 @@ module TencentCloud
|
|
|
9940
9955
|
@Sorting = params['Sorting']
|
|
9941
9956
|
@Limit = params['Limit']
|
|
9942
9957
|
@Offset = params['Offset']
|
|
9958
|
+
@AccountType = params['AccountType']
|
|
9943
9959
|
end
|
|
9944
9960
|
end
|
|
9945
9961
|
|
|
@@ -10073,15 +10089,19 @@ module TencentCloud
|
|
|
10073
10089
|
class DescribeUserTypeRequest < TencentCloud::Common::AbstractModel
|
|
10074
10090
|
# @param UserId: 用户ID(UIN),如果不填默认为调用方的子UIN
|
|
10075
10091
|
# @type UserId: String
|
|
10092
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
10093
|
+
# @type AccountType: String
|
|
10076
10094
|
|
|
10077
|
-
attr_accessor :UserId
|
|
10095
|
+
attr_accessor :UserId, :AccountType
|
|
10078
10096
|
|
|
10079
|
-
def initialize(userid=nil)
|
|
10097
|
+
def initialize(userid=nil, accounttype=nil)
|
|
10080
10098
|
@UserId = userid
|
|
10099
|
+
@AccountType = accounttype
|
|
10081
10100
|
end
|
|
10082
10101
|
|
|
10083
10102
|
def deserialize(params)
|
|
10084
10103
|
@UserId = params['UserId']
|
|
10104
|
+
@AccountType = params['AccountType']
|
|
10085
10105
|
end
|
|
10086
10106
|
end
|
|
10087
10107
|
|
|
@@ -10171,16 +10191,19 @@ module TencentCloud
|
|
|
10171
10191
|
# @type Sorting: String
|
|
10172
10192
|
# @param Filters: 过滤条件,支持如下字段类型,user-type:根据用户类型过滤。user-keyword:根据用户名称过滤
|
|
10173
10193
|
# @type Filters: Array
|
|
10194
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
10195
|
+
# @type AccountType: String
|
|
10174
10196
|
|
|
10175
|
-
attr_accessor :UserId, :Offset, :Limit, :SortBy, :Sorting, :Filters
|
|
10197
|
+
attr_accessor :UserId, :Offset, :Limit, :SortBy, :Sorting, :Filters, :AccountType
|
|
10176
10198
|
|
|
10177
|
-
def initialize(userid=nil, offset=nil, limit=nil, sortby=nil, sorting=nil, filters=nil)
|
|
10199
|
+
def initialize(userid=nil, offset=nil, limit=nil, sortby=nil, sorting=nil, filters=nil, accounttype=nil)
|
|
10178
10200
|
@UserId = userid
|
|
10179
10201
|
@Offset = offset
|
|
10180
10202
|
@Limit = limit
|
|
10181
10203
|
@SortBy = sortby
|
|
10182
10204
|
@Sorting = sorting
|
|
10183
10205
|
@Filters = filters
|
|
10206
|
+
@AccountType = accounttype
|
|
10184
10207
|
end
|
|
10185
10208
|
|
|
10186
10209
|
def deserialize(params)
|
|
@@ -10197,6 +10220,7 @@ module TencentCloud
|
|
|
10197
10220
|
@Filters << filter_tmp
|
|
10198
10221
|
end
|
|
10199
10222
|
end
|
|
10223
|
+
@AccountType = params['AccountType']
|
|
10200
10224
|
end
|
|
10201
10225
|
end
|
|
10202
10226
|
|
|
@@ -10499,12 +10523,15 @@ module TencentCloud
|
|
|
10499
10523
|
# @type UserId: String
|
|
10500
10524
|
# @param PolicySet: 解绑的权限集合
|
|
10501
10525
|
# @type PolicySet: Array
|
|
10526
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
10527
|
+
# @type AccountType: String
|
|
10502
10528
|
|
|
10503
|
-
attr_accessor :UserId, :PolicySet
|
|
10529
|
+
attr_accessor :UserId, :PolicySet, :AccountType
|
|
10504
10530
|
|
|
10505
|
-
def initialize(userid=nil, policyset=nil)
|
|
10531
|
+
def initialize(userid=nil, policyset=nil, accounttype=nil)
|
|
10506
10532
|
@UserId = userid
|
|
10507
10533
|
@PolicySet = policyset
|
|
10534
|
+
@AccountType = accounttype
|
|
10508
10535
|
end
|
|
10509
10536
|
|
|
10510
10537
|
def deserialize(params)
|
|
@@ -10517,6 +10544,7 @@ module TencentCloud
|
|
|
10517
10544
|
@PolicySet << policy_tmp
|
|
10518
10545
|
end
|
|
10519
10546
|
end
|
|
10547
|
+
@AccountType = params['AccountType']
|
|
10520
10548
|
end
|
|
10521
10549
|
end
|
|
10522
10550
|
|
|
@@ -12302,17 +12330,21 @@ module TencentCloud
|
|
|
12302
12330
|
# @type UserId: String
|
|
12303
12331
|
# @param UserDescription: 用户描述
|
|
12304
12332
|
# @type UserDescription: String
|
|
12333
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
12334
|
+
# @type AccountType: String
|
|
12305
12335
|
|
|
12306
|
-
attr_accessor :UserId, :UserDescription
|
|
12336
|
+
attr_accessor :UserId, :UserDescription, :AccountType
|
|
12307
12337
|
|
|
12308
|
-
def initialize(userid=nil, userdescription=nil)
|
|
12338
|
+
def initialize(userid=nil, userdescription=nil, accounttype=nil)
|
|
12309
12339
|
@UserId = userid
|
|
12310
12340
|
@UserDescription = userdescription
|
|
12341
|
+
@AccountType = accounttype
|
|
12311
12342
|
end
|
|
12312
12343
|
|
|
12313
12344
|
def deserialize(params)
|
|
12314
12345
|
@UserId = params['UserId']
|
|
12315
12346
|
@UserDescription = params['UserDescription']
|
|
12347
|
+
@AccountType = params['AccountType']
|
|
12316
12348
|
end
|
|
12317
12349
|
end
|
|
12318
12350
|
|
|
@@ -12338,17 +12370,21 @@ module TencentCloud
|
|
|
12338
12370
|
# @type UserId: String
|
|
12339
12371
|
# @param UserType: 用户要修改到的类型,ADMIN:管理员,COMMON:一般用户。
|
|
12340
12372
|
# @type UserType: String
|
|
12373
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
12374
|
+
# @type AccountType: String
|
|
12341
12375
|
|
|
12342
|
-
attr_accessor :UserId, :UserType
|
|
12376
|
+
attr_accessor :UserId, :UserType, :AccountType
|
|
12343
12377
|
|
|
12344
|
-
def initialize(userid=nil, usertype=nil)
|
|
12378
|
+
def initialize(userid=nil, usertype=nil, accounttype=nil)
|
|
12345
12379
|
@UserId = userid
|
|
12346
12380
|
@UserType = usertype
|
|
12381
|
+
@AccountType = accounttype
|
|
12347
12382
|
end
|
|
12348
12383
|
|
|
12349
12384
|
def deserialize(params)
|
|
12350
12385
|
@UserId = params['UserId']
|
|
12351
12386
|
@UserType = params['UserType']
|
|
12387
|
+
@AccountType = params['AccountType']
|
|
12352
12388
|
end
|
|
12353
12389
|
end
|
|
12354
12390
|
|
|
@@ -13211,10 +13247,12 @@ module TencentCloud
|
|
|
13211
13247
|
# @type Id: Integer
|
|
13212
13248
|
# @param EngineGeneration: 引擎类型
|
|
13213
13249
|
# @type EngineGeneration: String
|
|
13250
|
+
# @param Model: 需要授权的Model名,填 * 代表当前Database下所有表。当授权类型为管理员级别时,只允许填“*”,当授权类型为数据连接级别、数据库级别时只允许填空,其他类型下可以任意指定数据表。
|
|
13251
|
+
# @type Model: String
|
|
13214
13252
|
|
|
13215
|
-
attr_accessor :Database, :Catalog, :Table, :Operation, :PolicyType, :Function, :View, :Column, :DataEngine, :ReAuth, :Source, :Mode, :Operator, :CreateTime, :SourceId, :SourceName, :Id, :EngineGeneration
|
|
13253
|
+
attr_accessor :Database, :Catalog, :Table, :Operation, :PolicyType, :Function, :View, :Column, :DataEngine, :ReAuth, :Source, :Mode, :Operator, :CreateTime, :SourceId, :SourceName, :Id, :EngineGeneration, :Model
|
|
13216
13254
|
|
|
13217
|
-
def initialize(database=nil, catalog=nil, table=nil, operation=nil, policytype=nil, function=nil, view=nil, column=nil, dataengine=nil, reauth=nil, source=nil, mode=nil, operator=nil, createtime=nil, sourceid=nil, sourcename=nil, id=nil, enginegeneration=nil)
|
|
13255
|
+
def initialize(database=nil, catalog=nil, table=nil, operation=nil, policytype=nil, function=nil, view=nil, column=nil, dataengine=nil, reauth=nil, source=nil, mode=nil, operator=nil, createtime=nil, sourceid=nil, sourcename=nil, id=nil, enginegeneration=nil, model=nil)
|
|
13218
13256
|
@Database = database
|
|
13219
13257
|
@Catalog = catalog
|
|
13220
13258
|
@Table = table
|
|
@@ -13233,6 +13271,7 @@ module TencentCloud
|
|
|
13233
13271
|
@SourceName = sourcename
|
|
13234
13272
|
@Id = id
|
|
13235
13273
|
@EngineGeneration = enginegeneration
|
|
13274
|
+
@Model = model
|
|
13236
13275
|
end
|
|
13237
13276
|
|
|
13238
13277
|
def deserialize(params)
|
|
@@ -13254,6 +13293,7 @@ module TencentCloud
|
|
|
13254
13293
|
@SourceName = params['SourceName']
|
|
13255
13294
|
@Id = params['Id']
|
|
13256
13295
|
@EngineGeneration = params['EngineGeneration']
|
|
13296
|
+
@Model = params['Model']
|
|
13257
13297
|
end
|
|
13258
13298
|
end
|
|
13259
13299
|
|
|
@@ -16758,10 +16798,12 @@ module TencentCloud
|
|
|
16758
16798
|
# @param CatalogPolicyInfo: 数据源权限集合
|
|
16759
16799
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
16760
16800
|
# @type CatalogPolicyInfo: :class:`Tencentcloud::Dlc.v20210125.models.Policys`
|
|
16801
|
+
# @param ModelPolicyInfo: 模型权限集合
|
|
16802
|
+
# @type ModelPolicyInfo: :class:`Tencentcloud::Dlc.v20210125.models.Policys`
|
|
16761
16803
|
|
|
16762
|
-
attr_accessor :UserId, :Type, :UserType, :UserDescription, :DataPolicyInfo, :EnginePolicyInfo, :WorkGroupInfo, :UserAlias, :RowFilterInfo, :AccountType, :CatalogPolicyInfo
|
|
16804
|
+
attr_accessor :UserId, :Type, :UserType, :UserDescription, :DataPolicyInfo, :EnginePolicyInfo, :WorkGroupInfo, :UserAlias, :RowFilterInfo, :AccountType, :CatalogPolicyInfo, :ModelPolicyInfo
|
|
16763
16805
|
|
|
16764
|
-
def initialize(userid=nil, type=nil, usertype=nil, userdescription=nil, datapolicyinfo=nil, enginepolicyinfo=nil, workgroupinfo=nil, useralias=nil, rowfilterinfo=nil, accounttype=nil, catalogpolicyinfo=nil)
|
|
16806
|
+
def initialize(userid=nil, type=nil, usertype=nil, userdescription=nil, datapolicyinfo=nil, enginepolicyinfo=nil, workgroupinfo=nil, useralias=nil, rowfilterinfo=nil, accounttype=nil, catalogpolicyinfo=nil, modelpolicyinfo=nil)
|
|
16765
16807
|
@UserId = userid
|
|
16766
16808
|
@Type = type
|
|
16767
16809
|
@UserType = usertype
|
|
@@ -16773,6 +16815,7 @@ module TencentCloud
|
|
|
16773
16815
|
@RowFilterInfo = rowfilterinfo
|
|
16774
16816
|
@AccountType = accounttype
|
|
16775
16817
|
@CatalogPolicyInfo = catalogpolicyinfo
|
|
16818
|
+
@ModelPolicyInfo = modelpolicyinfo
|
|
16776
16819
|
end
|
|
16777
16820
|
|
|
16778
16821
|
def deserialize(params)
|
|
@@ -16802,6 +16845,10 @@ module TencentCloud
|
|
|
16802
16845
|
@CatalogPolicyInfo = Policys.new
|
|
16803
16846
|
@CatalogPolicyInfo.deserialize(params['CatalogPolicyInfo'])
|
|
16804
16847
|
end
|
|
16848
|
+
unless params['ModelPolicyInfo'].nil?
|
|
16849
|
+
@ModelPolicyInfo = Policys.new
|
|
16850
|
+
@ModelPolicyInfo.deserialize(params['ModelPolicyInfo'])
|
|
16851
|
+
end
|
|
16805
16852
|
end
|
|
16806
16853
|
end
|
|
16807
16854
|
|
|
@@ -16906,15 +16953,18 @@ module TencentCloud
|
|
|
16906
16953
|
# @type CreateTime: String
|
|
16907
16954
|
# @param UserAlias: 用户别名
|
|
16908
16955
|
# @type UserAlias: String
|
|
16956
|
+
# @param AccountType: 用户来源类型TencentAccount(普通腾讯云用户) / EntraAccount(微软用户)
|
|
16957
|
+
# @type AccountType: String
|
|
16909
16958
|
|
|
16910
|
-
attr_accessor :UserId, :UserDescription, :Creator, :CreateTime, :UserAlias
|
|
16959
|
+
attr_accessor :UserId, :UserDescription, :Creator, :CreateTime, :UserAlias, :AccountType
|
|
16911
16960
|
|
|
16912
|
-
def initialize(userid=nil, userdescription=nil, creator=nil, createtime=nil, useralias=nil)
|
|
16961
|
+
def initialize(userid=nil, userdescription=nil, creator=nil, createtime=nil, useralias=nil, accounttype=nil)
|
|
16913
16962
|
@UserId = userid
|
|
16914
16963
|
@UserDescription = userdescription
|
|
16915
16964
|
@Creator = creator
|
|
16916
16965
|
@CreateTime = createtime
|
|
16917
16966
|
@UserAlias = useralias
|
|
16967
|
+
@AccountType = accounttype
|
|
16918
16968
|
end
|
|
16919
16969
|
|
|
16920
16970
|
def deserialize(params)
|
|
@@ -16923,6 +16973,7 @@ module TencentCloud
|
|
|
16923
16973
|
@Creator = params['Creator']
|
|
16924
16974
|
@CreateTime = params['CreateTime']
|
|
16925
16975
|
@UserAlias = params['UserAlias']
|
|
16976
|
+
@AccountType = params['AccountType']
|
|
16926
16977
|
end
|
|
16927
16978
|
end
|
|
16928
16979
|
|