tencentcloud-sdk-ciam 1.0.334 → 1.0.335
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/v20220331/client.rb +72 -0
- data/lib/v20220331/models.rb +486 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86441538e9e8301aa9704e940418a7f5d4b5cd24
|
4
|
+
data.tar.gz: 048a219e7b544fa4971a843bda3f8aab63789a90
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ef0771c507c8d6789f1de1b443279dec18c551ab6454b6e9844508fad46b75682451595443c19a5643227a63b7f7f4e27616c91b7b0c9f3d54e96f0f2b490fa
|
7
|
+
data.tar.gz: 2ee7a5d6e404dfba5e6a6a4c40ac268bf16540c5e85d0c254ad968d007784118c3a0fcdbecfd5e58b40c1f219ac6aa1f057f748d645a5d4f899db8d91601f84c
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.335
|
data/lib/v20220331/client.rb
CHANGED
@@ -29,6 +29,54 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
+
# 新建接口导入用户任务
|
33
|
+
|
34
|
+
# @param request: Request instance for CreateApiImportUserJob.
|
35
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::CreateApiImportUserJobRequest`
|
36
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::CreateApiImportUserJobResponse`
|
37
|
+
def CreateApiImportUserJob(request)
|
38
|
+
body = send_request('CreateApiImportUserJob', request.serialize)
|
39
|
+
response = JSON.parse(body)
|
40
|
+
if response['Response'].key?('Error') == false
|
41
|
+
model = CreateApiImportUserJobResponse.new
|
42
|
+
model.deserialize(response['Response'])
|
43
|
+
model
|
44
|
+
else
|
45
|
+
code = response['Response']['Error']['Code']
|
46
|
+
message = response['Response']['Error']['Message']
|
47
|
+
reqid = response['Response']['RequestId']
|
48
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
49
|
+
end
|
50
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
51
|
+
raise e
|
52
|
+
rescue StandardError => e
|
53
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
|
+
end
|
55
|
+
|
56
|
+
# 新建文件导出用户任务
|
57
|
+
|
58
|
+
# @param request: Request instance for CreateFileExportUserJob.
|
59
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::CreateFileExportUserJobRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::CreateFileExportUserJobResponse`
|
61
|
+
def CreateFileExportUserJob(request)
|
62
|
+
body = send_request('CreateFileExportUserJob', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = CreateFileExportUserJobResponse.new
|
66
|
+
model.deserialize(response['Response'])
|
67
|
+
model
|
68
|
+
else
|
69
|
+
code = response['Response']['Error']['Code']
|
70
|
+
message = response['Response']['Error']['Message']
|
71
|
+
reqid = response['Response']['RequestId']
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
+
end
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
+
raise e
|
76
|
+
rescue StandardError => e
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
+
end
|
79
|
+
|
32
80
|
# 创建用户
|
33
81
|
|
34
82
|
# @param request: Request instance for CreateUser.
|
@@ -125,6 +173,30 @@ module TencentCloud
|
|
125
173
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
174
|
end
|
127
175
|
|
176
|
+
# 查询任务详情
|
177
|
+
|
178
|
+
# @param request: Request instance for ListJobs.
|
179
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::ListJobsRequest`
|
180
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::ListJobsResponse`
|
181
|
+
def ListJobs(request)
|
182
|
+
body = send_request('ListJobs', request.serialize)
|
183
|
+
response = JSON.parse(body)
|
184
|
+
if response['Response'].key?('Error') == false
|
185
|
+
model = ListJobsResponse.new
|
186
|
+
model.deserialize(response['Response'])
|
187
|
+
model
|
188
|
+
else
|
189
|
+
code = response['Response']['Error']['Code']
|
190
|
+
message = response['Response']['Error']['Message']
|
191
|
+
reqid = response['Response']['RequestId']
|
192
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
193
|
+
end
|
194
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
195
|
+
raise e
|
196
|
+
rescue StandardError => e
|
197
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
|
+
end
|
199
|
+
|
128
200
|
# 查询用户列表
|
129
201
|
|
130
202
|
# @param request: Request instance for ListUser.
|
data/lib/v20220331/models.rb
CHANGED
@@ -17,6 +17,128 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Ciam
|
19
19
|
module V20220331
|
20
|
+
# CreateApiImportUserJob请求参数结构体
|
21
|
+
class CreateApiImportUserJobRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param UserStoreId: 用户目录ID
|
23
|
+
# @type UserStoreId: String
|
24
|
+
# @param DataFlowUserCreateList: 导入的用户数据
|
25
|
+
# @type DataFlowUserCreateList: Array
|
26
|
+
|
27
|
+
attr_accessor :UserStoreId, :DataFlowUserCreateList
|
28
|
+
|
29
|
+
def initialize(userstoreid=nil, dataflowusercreatelist=nil)
|
30
|
+
@UserStoreId = userstoreid
|
31
|
+
@DataFlowUserCreateList = dataflowusercreatelist
|
32
|
+
end
|
33
|
+
|
34
|
+
def deserialize(params)
|
35
|
+
@UserStoreId = params['UserStoreId']
|
36
|
+
unless params['DataFlowUserCreateList'].nil?
|
37
|
+
@DataFlowUserCreateList = []
|
38
|
+
params['DataFlowUserCreateList'].each do |i|
|
39
|
+
importuser_tmp = ImportUser.new
|
40
|
+
importuser_tmp.deserialize(i)
|
41
|
+
@DataFlowUserCreateList << importuser_tmp
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# CreateApiImportUserJob返回参数结构体
|
48
|
+
class CreateApiImportUserJobResponse < TencentCloud::Common::AbstractModel
|
49
|
+
# @param Job: 数据流任务
|
50
|
+
# @type Job: :class:`Tencentcloud::Ciam.v20220331.models.Job`
|
51
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
52
|
+
# @type RequestId: String
|
53
|
+
|
54
|
+
attr_accessor :Job, :RequestId
|
55
|
+
|
56
|
+
def initialize(job=nil, requestid=nil)
|
57
|
+
@Job = job
|
58
|
+
@RequestId = requestid
|
59
|
+
end
|
60
|
+
|
61
|
+
def deserialize(params)
|
62
|
+
unless params['Job'].nil?
|
63
|
+
@Job = Job.new
|
64
|
+
@Job.deserialize(params['Job'])
|
65
|
+
end
|
66
|
+
@RequestId = params['RequestId']
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
# CreateFileExportUserJob请求参数结构体
|
71
|
+
class CreateFileExportUserJobRequest < TencentCloud::Common::AbstractModel
|
72
|
+
# @param UserStoreId: 用户目录ID
|
73
|
+
# @type UserStoreId: String
|
74
|
+
# @param Format: 导出的数据类型
|
75
|
+
|
76
|
+
# <li> **JSON** </li> JSON
|
77
|
+
# <li> **NDJSON** </li> New-line Delimited JSON
|
78
|
+
# <li> **CSV** </li> Comma-Separated Values
|
79
|
+
# @type Format: String
|
80
|
+
# @param Filters: Key可选值为condition、userGroupId
|
81
|
+
|
82
|
+
# <li> **condition** </li> Values = 查询条件,用户ID,用户名称,手机或邮箱
|
83
|
+
# <li> **userGroupId** </li> Values = 用户组ID
|
84
|
+
# @type Filters: Array
|
85
|
+
# @param ExportPropertyMaps: 导出用户包含的属性和映射名称,为空时包含所有的属性
|
86
|
+
# @type ExportPropertyMaps: Array
|
87
|
+
|
88
|
+
attr_accessor :UserStoreId, :Format, :Filters, :ExportPropertyMaps
|
89
|
+
|
90
|
+
def initialize(userstoreid=nil, format=nil, filters=nil, exportpropertymaps=nil)
|
91
|
+
@UserStoreId = userstoreid
|
92
|
+
@Format = format
|
93
|
+
@Filters = filters
|
94
|
+
@ExportPropertyMaps = exportpropertymaps
|
95
|
+
end
|
96
|
+
|
97
|
+
def deserialize(params)
|
98
|
+
@UserStoreId = params['UserStoreId']
|
99
|
+
@Format = params['Format']
|
100
|
+
unless params['Filters'].nil?
|
101
|
+
@Filters = []
|
102
|
+
params['Filters'].each do |i|
|
103
|
+
filter_tmp = Filter.new
|
104
|
+
filter_tmp.deserialize(i)
|
105
|
+
@Filters << filter_tmp
|
106
|
+
end
|
107
|
+
end
|
108
|
+
unless params['ExportPropertyMaps'].nil?
|
109
|
+
@ExportPropertyMaps = []
|
110
|
+
params['ExportPropertyMaps'].each do |i|
|
111
|
+
exportpropertymap_tmp = ExportPropertyMap.new
|
112
|
+
exportpropertymap_tmp.deserialize(i)
|
113
|
+
@ExportPropertyMaps << exportpropertymap_tmp
|
114
|
+
end
|
115
|
+
end
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
# CreateFileExportUserJob返回参数结构体
|
120
|
+
class CreateFileExportUserJobResponse < TencentCloud::Common::AbstractModel
|
121
|
+
# @param Job: 数据流任务
|
122
|
+
# @type Job: :class:`Tencentcloud::Ciam.v20220331.models.Job`
|
123
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
124
|
+
# @type RequestId: String
|
125
|
+
|
126
|
+
attr_accessor :Job, :RequestId
|
127
|
+
|
128
|
+
def initialize(job=nil, requestid=nil)
|
129
|
+
@Job = job
|
130
|
+
@RequestId = requestid
|
131
|
+
end
|
132
|
+
|
133
|
+
def deserialize(params)
|
134
|
+
unless params['Job'].nil?
|
135
|
+
@Job = Job.new
|
136
|
+
@Job.deserialize(params['Job'])
|
137
|
+
end
|
138
|
+
@RequestId = params['RequestId']
|
139
|
+
end
|
140
|
+
end
|
141
|
+
|
20
142
|
# CreateUser请求参数结构体
|
21
143
|
class CreateUserRequest < TencentCloud::Common::AbstractModel
|
22
144
|
# @param UserStoreId: 用户目录ID
|
@@ -180,6 +302,69 @@ module TencentCloud
|
|
180
302
|
end
|
181
303
|
end
|
182
304
|
|
305
|
+
# 失败详情
|
306
|
+
class ErrorDetails < TencentCloud::Common::AbstractModel
|
307
|
+
# @param UserId: 用户信息
|
308
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
309
|
+
# @type UserId: String
|
310
|
+
# @param Error: 失败原因
|
311
|
+
# @type Error: String
|
312
|
+
|
313
|
+
attr_accessor :UserId, :Error
|
314
|
+
|
315
|
+
def initialize(userid=nil, error=nil)
|
316
|
+
@UserId = userid
|
317
|
+
@Error = error
|
318
|
+
end
|
319
|
+
|
320
|
+
def deserialize(params)
|
321
|
+
@UserId = params['UserId']
|
322
|
+
@Error = params['Error']
|
323
|
+
end
|
324
|
+
end
|
325
|
+
|
326
|
+
# 导出属性映射
|
327
|
+
class ExportPropertyMap < TencentCloud::Common::AbstractModel
|
328
|
+
# @param UserPropertyCode: 用户属性code
|
329
|
+
# @type UserPropertyCode: String
|
330
|
+
# @param ColumnName: 用户属性映射名称
|
331
|
+
# @type ColumnName: String
|
332
|
+
|
333
|
+
attr_accessor :UserPropertyCode, :ColumnName
|
334
|
+
|
335
|
+
def initialize(userpropertycode=nil, columnname=nil)
|
336
|
+
@UserPropertyCode = userpropertycode
|
337
|
+
@ColumnName = columnname
|
338
|
+
end
|
339
|
+
|
340
|
+
def deserialize(params)
|
341
|
+
@UserPropertyCode = params['UserPropertyCode']
|
342
|
+
@ColumnName = params['ColumnName']
|
343
|
+
end
|
344
|
+
end
|
345
|
+
|
346
|
+
# 失败的用户
|
347
|
+
class FailedUsers < TencentCloud::Common::AbstractModel
|
348
|
+
# @param FailedUserIdentification: 失败用户标识
|
349
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
350
|
+
# @type FailedUserIdentification: String
|
351
|
+
# @param FailedReason: 导入的用户失败原因
|
352
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
353
|
+
# @type FailedReason: String
|
354
|
+
|
355
|
+
attr_accessor :FailedUserIdentification, :FailedReason
|
356
|
+
|
357
|
+
def initialize(faileduseridentification=nil, failedreason=nil)
|
358
|
+
@FailedUserIdentification = faileduseridentification
|
359
|
+
@FailedReason = failedreason
|
360
|
+
end
|
361
|
+
|
362
|
+
def deserialize(params)
|
363
|
+
@FailedUserIdentification = params['FailedUserIdentification']
|
364
|
+
@FailedReason = params['FailedReason']
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
183
368
|
# 查询条件
|
184
369
|
class Filter < TencentCloud::Common::AbstractModel
|
185
370
|
# @param Key: key值
|
@@ -204,6 +389,212 @@ module TencentCloud
|
|
204
389
|
end
|
205
390
|
end
|
206
391
|
|
392
|
+
# 导入用户信息
|
393
|
+
# 1、UserName,PhoneNumber ,Email ,WechatOpenId ,WechatUnionId ,AlipayUserId ,QqOpenId ,QqUnionId 八个属性中,导入时必须包含其中一个属性并遵守初始化自定义属性的正则表达式规则。UserName,PhoneNumber,Email的正则表达式在控制台的自定义属性中可以查询到。
|
394
|
+
# 2、对于密码的导入,导入的密码支持明文导入,MD5密文导入,SHA1密文导入,BCRYPT密文导入 ,这个需要在PasswordEncryptTypeEnum 字段中指定。
|
395
|
+
# 3、IdentityVerified,IdentityVerificationMethod 支持导入,
|
396
|
+
# IdentityVerified 为true,IdentityVerificationMethod必传;
|
397
|
+
# IdentityVerificationMethod 为nameAndIdCard,Name,ResidentIdentityCard必传
|
398
|
+
# IdentityVerificationMethod 为nameIdCardAndPhone,Name,PhoneNumber,ResidentIdentityCard必传;
|
399
|
+
class ImportUser < TencentCloud::Common::AbstractModel
|
400
|
+
# @param UserName: 用户名
|
401
|
+
# @type UserName: String
|
402
|
+
# @param PhoneNumber: 手机号
|
403
|
+
# @type PhoneNumber: String
|
404
|
+
# @param Email: 邮箱
|
405
|
+
# @type Email: String
|
406
|
+
# @param ResidentIdentityCard: 身份证号
|
407
|
+
# @type ResidentIdentityCard: String
|
408
|
+
# @param Nickname: 昵称
|
409
|
+
# @type Nickname: String
|
410
|
+
# @param Address: 地址
|
411
|
+
# @type Address: String
|
412
|
+
# @param UserGroup: 用户组ID
|
413
|
+
# @type UserGroup: Array
|
414
|
+
# @param QqOpenId: QQ qqOpenId
|
415
|
+
# @type QqOpenId: String
|
416
|
+
# @param QqUnionId: QQ qqUnionId
|
417
|
+
# @type QqUnionId: String
|
418
|
+
# @param WechatOpenId: 微信wechatOpenId
|
419
|
+
# @type WechatOpenId: String
|
420
|
+
# @param WechatUnionId: 微信wechatUnionId
|
421
|
+
# @type WechatUnionId: String
|
422
|
+
# @param AlipayUserId: 支付宝alipayUserId
|
423
|
+
# @type AlipayUserId: String
|
424
|
+
# @param Description: 描述
|
425
|
+
# @type Description: String
|
426
|
+
# @param Birthdate: 生日
|
427
|
+
# @type Birthdate: String
|
428
|
+
# @param Name: 姓名
|
429
|
+
# @type Name: String
|
430
|
+
# @param Locale: 坐标
|
431
|
+
# @type Locale: String
|
432
|
+
# @param Gender: 性别(MALE;FEMALE;UNKNOWN)
|
433
|
+
# @type Gender: String
|
434
|
+
# @param IdentityVerificationMethod: 实名核验方式
|
435
|
+
# @type IdentityVerificationMethod: String
|
436
|
+
# @param IdentityVerified: 是否已实名核验
|
437
|
+
# @type IdentityVerified: Boolean
|
438
|
+
# @param Job: 工作
|
439
|
+
# @type Job: String
|
440
|
+
# @param Nationality: 国家
|
441
|
+
# @type Nationality: String
|
442
|
+
# @param Zone: 时区
|
443
|
+
# @type Zone: String
|
444
|
+
# @param Password: 密码密文
|
445
|
+
# @type Password: String
|
446
|
+
# @param CustomizationAttributes: 自定义属性
|
447
|
+
# @type CustomizationAttributes: Array
|
448
|
+
# @param Salt: 密码盐
|
449
|
+
# @type Salt: :class:`Tencentcloud::Ciam.v20220331.models.Salt`
|
450
|
+
# @param PasswordEncryptTypeEnum: 密码加密方式(SHA1;BCRYPT)
|
451
|
+
# @type PasswordEncryptTypeEnum: String
|
452
|
+
|
453
|
+
attr_accessor :UserName, :PhoneNumber, :Email, :ResidentIdentityCard, :Nickname, :Address, :UserGroup, :QqOpenId, :QqUnionId, :WechatOpenId, :WechatUnionId, :AlipayUserId, :Description, :Birthdate, :Name, :Locale, :Gender, :IdentityVerificationMethod, :IdentityVerified, :Job, :Nationality, :Zone, :Password, :CustomizationAttributes, :Salt, :PasswordEncryptTypeEnum
|
454
|
+
|
455
|
+
def initialize(username=nil, phonenumber=nil, email=nil, residentidentitycard=nil, nickname=nil, address=nil, usergroup=nil, qqopenid=nil, qqunionid=nil, wechatopenid=nil, wechatunionid=nil, alipayuserid=nil, description=nil, birthdate=nil, name=nil, locale=nil, gender=nil, identityverificationmethod=nil, identityverified=nil, job=nil, nationality=nil, zone=nil, password=nil, customizationattributes=nil, salt=nil, passwordencrypttypeenum=nil)
|
456
|
+
@UserName = username
|
457
|
+
@PhoneNumber = phonenumber
|
458
|
+
@Email = email
|
459
|
+
@ResidentIdentityCard = residentidentitycard
|
460
|
+
@Nickname = nickname
|
461
|
+
@Address = address
|
462
|
+
@UserGroup = usergroup
|
463
|
+
@QqOpenId = qqopenid
|
464
|
+
@QqUnionId = qqunionid
|
465
|
+
@WechatOpenId = wechatopenid
|
466
|
+
@WechatUnionId = wechatunionid
|
467
|
+
@AlipayUserId = alipayuserid
|
468
|
+
@Description = description
|
469
|
+
@Birthdate = birthdate
|
470
|
+
@Name = name
|
471
|
+
@Locale = locale
|
472
|
+
@Gender = gender
|
473
|
+
@IdentityVerificationMethod = identityverificationmethod
|
474
|
+
@IdentityVerified = identityverified
|
475
|
+
@Job = job
|
476
|
+
@Nationality = nationality
|
477
|
+
@Zone = zone
|
478
|
+
@Password = password
|
479
|
+
@CustomizationAttributes = customizationattributes
|
480
|
+
@Salt = salt
|
481
|
+
@PasswordEncryptTypeEnum = passwordencrypttypeenum
|
482
|
+
end
|
483
|
+
|
484
|
+
def deserialize(params)
|
485
|
+
@UserName = params['UserName']
|
486
|
+
@PhoneNumber = params['PhoneNumber']
|
487
|
+
@Email = params['Email']
|
488
|
+
@ResidentIdentityCard = params['ResidentIdentityCard']
|
489
|
+
@Nickname = params['Nickname']
|
490
|
+
@Address = params['Address']
|
491
|
+
@UserGroup = params['UserGroup']
|
492
|
+
@QqOpenId = params['QqOpenId']
|
493
|
+
@QqUnionId = params['QqUnionId']
|
494
|
+
@WechatOpenId = params['WechatOpenId']
|
495
|
+
@WechatUnionId = params['WechatUnionId']
|
496
|
+
@AlipayUserId = params['AlipayUserId']
|
497
|
+
@Description = params['Description']
|
498
|
+
@Birthdate = params['Birthdate']
|
499
|
+
@Name = params['Name']
|
500
|
+
@Locale = params['Locale']
|
501
|
+
@Gender = params['Gender']
|
502
|
+
@IdentityVerificationMethod = params['IdentityVerificationMethod']
|
503
|
+
@IdentityVerified = params['IdentityVerified']
|
504
|
+
@Job = params['Job']
|
505
|
+
@Nationality = params['Nationality']
|
506
|
+
@Zone = params['Zone']
|
507
|
+
@Password = params['Password']
|
508
|
+
unless params['CustomizationAttributes'].nil?
|
509
|
+
@CustomizationAttributes = []
|
510
|
+
params['CustomizationAttributes'].each do |i|
|
511
|
+
membermap_tmp = MemberMap.new
|
512
|
+
membermap_tmp.deserialize(i)
|
513
|
+
@CustomizationAttributes << membermap_tmp
|
514
|
+
end
|
515
|
+
end
|
516
|
+
unless params['Salt'].nil?
|
517
|
+
@Salt = Salt.new
|
518
|
+
@Salt.deserialize(params['Salt'])
|
519
|
+
end
|
520
|
+
@PasswordEncryptTypeEnum = params['PasswordEncryptTypeEnum']
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
524
|
+
# 任务详情
|
525
|
+
class Job < TencentCloud::Common::AbstractModel
|
526
|
+
# @param Id: 任务ID
|
527
|
+
# @type Id: String
|
528
|
+
# @param Status: 任务状态
|
529
|
+
|
530
|
+
# <li> **PENDING** </li> 待执行
|
531
|
+
# <li> **PROCESSING** </li> 执行中
|
532
|
+
# <li> **COMPLETED** </li> 完成
|
533
|
+
# <li> **FAILED** </li> 失败
|
534
|
+
# @type Status: String
|
535
|
+
# @param Type: 任务类型
|
536
|
+
|
537
|
+
# <li> **IMPORT_USER** </li> 用户导入
|
538
|
+
# <li> **EXPORT_USER** </li> 用户导出
|
539
|
+
# @type Type: String
|
540
|
+
# @param CreatedDate: 任务创建时间
|
541
|
+
# @type CreatedDate: Integer
|
542
|
+
# @param Format: 任务的数据类型
|
543
|
+
|
544
|
+
# <li> **JSON** </li> JSON
|
545
|
+
# <li> **NDJSON** </li> New-line Delimited JSON
|
546
|
+
# <li> **CSV** </li> Comma-Separated Values
|
547
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
548
|
+
# @type Format: String
|
549
|
+
# @param Location: 任务结果下载地址
|
550
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
551
|
+
# @type Location: String
|
552
|
+
# @param ErrorDetails: 失败详情
|
553
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
554
|
+
# @type ErrorDetails: Array
|
555
|
+
# @param FailedUsers: 失败的用户
|
556
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
557
|
+
# @type FailedUsers: Array
|
558
|
+
|
559
|
+
attr_accessor :Id, :Status, :Type, :CreatedDate, :Format, :Location, :ErrorDetails, :FailedUsers
|
560
|
+
|
561
|
+
def initialize(id=nil, status=nil, type=nil, createddate=nil, format=nil, location=nil, errordetails=nil, failedusers=nil)
|
562
|
+
@Id = id
|
563
|
+
@Status = status
|
564
|
+
@Type = type
|
565
|
+
@CreatedDate = createddate
|
566
|
+
@Format = format
|
567
|
+
@Location = location
|
568
|
+
@ErrorDetails = errordetails
|
569
|
+
@FailedUsers = failedusers
|
570
|
+
end
|
571
|
+
|
572
|
+
def deserialize(params)
|
573
|
+
@Id = params['Id']
|
574
|
+
@Status = params['Status']
|
575
|
+
@Type = params['Type']
|
576
|
+
@CreatedDate = params['CreatedDate']
|
577
|
+
@Format = params['Format']
|
578
|
+
@Location = params['Location']
|
579
|
+
unless params['ErrorDetails'].nil?
|
580
|
+
@ErrorDetails = []
|
581
|
+
params['ErrorDetails'].each do |i|
|
582
|
+
errordetails_tmp = ErrorDetails.new
|
583
|
+
errordetails_tmp.deserialize(i)
|
584
|
+
@ErrorDetails << errordetails_tmp
|
585
|
+
end
|
586
|
+
end
|
587
|
+
unless params['FailedUsers'].nil?
|
588
|
+
@FailedUsers = []
|
589
|
+
params['FailedUsers'].each do |i|
|
590
|
+
failedusers_tmp = FailedUsers.new
|
591
|
+
failedusers_tmp.deserialize(i)
|
592
|
+
@FailedUsers << failedusers_tmp
|
593
|
+
end
|
594
|
+
end
|
595
|
+
end
|
596
|
+
end
|
597
|
+
|
207
598
|
# LinkAccount请求参数结构体
|
208
599
|
class LinkAccountRequest < TencentCloud::Common::AbstractModel
|
209
600
|
# @param UserStoreId: 用户目录ID
|
@@ -212,7 +603,10 @@ module TencentCloud
|
|
212
603
|
# @type PrimaryUserId: String
|
213
604
|
# @param SecondaryUserId: 从用户ID
|
214
605
|
# @type SecondaryUserId: String
|
215
|
-
# @param UserLinkedOnAttribute: 融合属性
|
606
|
+
# @param UserLinkedOnAttribute: 融合属性
|
607
|
+
|
608
|
+
# <li> **PHONENUMBER** </li> 手机号码
|
609
|
+
# <li> **EMAIL** </li> 邮箱
|
216
610
|
# @type UserLinkedOnAttribute: String
|
217
611
|
|
218
612
|
attr_accessor :UserStoreId, :PrimaryUserId, :SecondaryUserId, :UserLinkedOnAttribute
|
@@ -248,11 +642,62 @@ module TencentCloud
|
|
248
642
|
end
|
249
643
|
end
|
250
644
|
|
645
|
+
# ListJobs请求参数结构体
|
646
|
+
class ListJobsRequest < TencentCloud::Common::AbstractModel
|
647
|
+
# @param UserStoreId: 用户目录ID
|
648
|
+
# @type UserStoreId: String
|
649
|
+
# @param JobIds: 任务ID列表,为空时返回全部任务
|
650
|
+
# @type JobIds: Array
|
651
|
+
|
652
|
+
attr_accessor :UserStoreId, :JobIds
|
653
|
+
|
654
|
+
def initialize(userstoreid=nil, jobids=nil)
|
655
|
+
@UserStoreId = userstoreid
|
656
|
+
@JobIds = jobids
|
657
|
+
end
|
658
|
+
|
659
|
+
def deserialize(params)
|
660
|
+
@UserStoreId = params['UserStoreId']
|
661
|
+
@JobIds = params['JobIds']
|
662
|
+
end
|
663
|
+
end
|
664
|
+
|
665
|
+
# ListJobs返回参数结构体
|
666
|
+
class ListJobsResponse < TencentCloud::Common::AbstractModel
|
667
|
+
# @param JobSet: 任务列表
|
668
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
669
|
+
# @type JobSet: Array
|
670
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
671
|
+
# @type RequestId: String
|
672
|
+
|
673
|
+
attr_accessor :JobSet, :RequestId
|
674
|
+
|
675
|
+
def initialize(jobset=nil, requestid=nil)
|
676
|
+
@JobSet = jobset
|
677
|
+
@RequestId = requestid
|
678
|
+
end
|
679
|
+
|
680
|
+
def deserialize(params)
|
681
|
+
unless params['JobSet'].nil?
|
682
|
+
@JobSet = []
|
683
|
+
params['JobSet'].each do |i|
|
684
|
+
job_tmp = Job.new
|
685
|
+
job_tmp.deserialize(i)
|
686
|
+
@JobSet << job_tmp
|
687
|
+
end
|
688
|
+
end
|
689
|
+
@RequestId = params['RequestId']
|
690
|
+
end
|
691
|
+
end
|
692
|
+
|
251
693
|
# ListUserByProperty请求参数结构体
|
252
694
|
class ListUserByPropertyRequest < TencentCloud::Common::AbstractModel
|
253
695
|
# @param UserStoreId: 用户目录ID
|
254
696
|
# @type UserStoreId: String
|
255
|
-
# @param PropertyCode:
|
697
|
+
# @param PropertyCode: 查询的属性
|
698
|
+
|
699
|
+
# <li> **phoneNumber** </li> 手机号码
|
700
|
+
# <li> **email** </li> 邮箱
|
256
701
|
# @type PropertyCode: String
|
257
702
|
# @param PropertyValue: 属性值
|
258
703
|
# @type PropertyValue: String
|
@@ -463,6 +908,40 @@ module TencentCloud
|
|
463
908
|
end
|
464
909
|
end
|
465
910
|
|
911
|
+
# 密码盐
|
912
|
+
class Salt < TencentCloud::Common::AbstractModel
|
913
|
+
# @param SaltValue: 盐值
|
914
|
+
# @type SaltValue: String
|
915
|
+
# @param SaltLocation: 盐值位置
|
916
|
+
# @type SaltLocation: :class:`Tencentcloud::Ciam.v20220331.models.SaltLocation`
|
917
|
+
|
918
|
+
attr_accessor :SaltValue, :SaltLocation
|
919
|
+
|
920
|
+
def initialize(saltvalue=nil, saltlocation=nil)
|
921
|
+
@SaltValue = saltvalue
|
922
|
+
@SaltLocation = saltlocation
|
923
|
+
end
|
924
|
+
|
925
|
+
def deserialize(params)
|
926
|
+
@SaltValue = params['SaltValue']
|
927
|
+
unless params['SaltLocation'].nil?
|
928
|
+
@SaltLocation = SaltLocation.new
|
929
|
+
@SaltLocation.deserialize(params['SaltLocation'])
|
930
|
+
end
|
931
|
+
end
|
932
|
+
end
|
933
|
+
|
934
|
+
# 盐位
|
935
|
+
class SaltLocation < TencentCloud::Common::AbstractModel
|
936
|
+
|
937
|
+
|
938
|
+
def initialize()
|
939
|
+
end
|
940
|
+
|
941
|
+
def deserialize(params)
|
942
|
+
end
|
943
|
+
end
|
944
|
+
|
466
945
|
# SetPassword请求参数结构体
|
467
946
|
class SetPasswordRequest < TencentCloud::Common::AbstractModel
|
468
947
|
# @param UserStoreId: 用户目录ID
|
@@ -592,7 +1071,11 @@ module TencentCloud
|
|
592
1071
|
# @type UserStoreId: String
|
593
1072
|
# @param UserId: 用户ID
|
594
1073
|
# @type UserId: String
|
595
|
-
# @param Status:
|
1074
|
+
# @param Status: 用户状态
|
1075
|
+
|
1076
|
+
# <li> **NORMAL** </li> 正常
|
1077
|
+
# <li> **LOCK** </li> 锁定
|
1078
|
+
# <li> **FREEZE** </li> 冻结
|
596
1079
|
# @type Status: String
|
597
1080
|
|
598
1081
|
attr_accessor :UserStoreId, :UserId, :Status
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ciam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.335
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|