tencentcloud-sdk-ciam 3.0.604 → 3.0.606
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220331/client.rb +192 -0
- data/lib/v20220331/models.rb +524 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 007686a8bbe946f3baee05911b69b5edd5a0c2d0
|
4
|
+
data.tar.gz: 9a6fca696871d72a25fa1841714a7a6aea9adc79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 441657066a44ed6e2be6b19cad16ffa4de820d8b1e19eb03a72d804007b99d7c6f7d7aefb9d4a94fd57b40b1e1c8e9f36772fa39531229c3055eb560ce221710
|
7
|
+
data.tar.gz: f24dab4fdc5351c430956ed955a8c46401633230d8beca540b5f02cf92f8d10db2b81f16cfe8a9d3bc71b4529a9afde500abe1ba226f30baf82dfbcdafcc9ebc
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.606
|
data/lib/v20220331/client.rb
CHANGED
@@ -101,6 +101,102 @@ module TencentCloud
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
102
|
end
|
103
103
|
|
104
|
+
# 创建用户组
|
105
|
+
|
106
|
+
# @param request: Request instance for CreateUserGroup.
|
107
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::CreateUserGroupRequest`
|
108
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::CreateUserGroupResponse`
|
109
|
+
def CreateUserGroup(request)
|
110
|
+
body = send_request('CreateUserGroup', request.serialize)
|
111
|
+
response = JSON.parse(body)
|
112
|
+
if response['Response'].key?('Error') == false
|
113
|
+
model = CreateUserGroupResponse.new
|
114
|
+
model.deserialize(response['Response'])
|
115
|
+
model
|
116
|
+
else
|
117
|
+
code = response['Response']['Error']['Code']
|
118
|
+
message = response['Response']['Error']['Message']
|
119
|
+
reqid = response['Response']['RequestId']
|
120
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
121
|
+
end
|
122
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
123
|
+
raise e
|
124
|
+
rescue StandardError => e
|
125
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
|
+
end
|
127
|
+
|
128
|
+
# 创建用户目录
|
129
|
+
|
130
|
+
# @param request: Request instance for CreateUserStore.
|
131
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::CreateUserStoreRequest`
|
132
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::CreateUserStoreResponse`
|
133
|
+
def CreateUserStore(request)
|
134
|
+
body = send_request('CreateUserStore', request.serialize)
|
135
|
+
response = JSON.parse(body)
|
136
|
+
if response['Response'].key?('Error') == false
|
137
|
+
model = CreateUserStoreResponse.new
|
138
|
+
model.deserialize(response['Response'])
|
139
|
+
model
|
140
|
+
else
|
141
|
+
code = response['Response']['Error']['Code']
|
142
|
+
message = response['Response']['Error']['Message']
|
143
|
+
reqid = response['Response']['RequestId']
|
144
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
145
|
+
end
|
146
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
147
|
+
raise e
|
148
|
+
rescue StandardError => e
|
149
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
|
+
end
|
151
|
+
|
152
|
+
# 批量删除用户组
|
153
|
+
|
154
|
+
# @param request: Request instance for DeleteUserGroups.
|
155
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::DeleteUserGroupsRequest`
|
156
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::DeleteUserGroupsResponse`
|
157
|
+
def DeleteUserGroups(request)
|
158
|
+
body = send_request('DeleteUserGroups', request.serialize)
|
159
|
+
response = JSON.parse(body)
|
160
|
+
if response['Response'].key?('Error') == false
|
161
|
+
model = DeleteUserGroupsResponse.new
|
162
|
+
model.deserialize(response['Response'])
|
163
|
+
model
|
164
|
+
else
|
165
|
+
code = response['Response']['Error']['Code']
|
166
|
+
message = response['Response']['Error']['Message']
|
167
|
+
reqid = response['Response']['RequestId']
|
168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
169
|
+
end
|
170
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
171
|
+
raise e
|
172
|
+
rescue StandardError => e
|
173
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
|
+
end
|
175
|
+
|
176
|
+
# 删除用户目录
|
177
|
+
|
178
|
+
# @param request: Request instance for DeleteUserStore.
|
179
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::DeleteUserStoreRequest`
|
180
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::DeleteUserStoreResponse`
|
181
|
+
def DeleteUserStore(request)
|
182
|
+
body = send_request('DeleteUserStore', request.serialize)
|
183
|
+
response = JSON.parse(body)
|
184
|
+
if response['Response'].key?('Error') == false
|
185
|
+
model = DeleteUserStoreResponse.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
|
+
|
104
200
|
# 批量删除用户
|
105
201
|
|
106
202
|
# @param request: Request instance for DeleteUsers.
|
@@ -293,6 +389,54 @@ module TencentCloud
|
|
293
389
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
390
|
end
|
295
391
|
|
392
|
+
# 查询用户组列表
|
393
|
+
|
394
|
+
# @param request: Request instance for ListUserGroups.
|
395
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::ListUserGroupsRequest`
|
396
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::ListUserGroupsResponse`
|
397
|
+
def ListUserGroups(request)
|
398
|
+
body = send_request('ListUserGroups', request.serialize)
|
399
|
+
response = JSON.parse(body)
|
400
|
+
if response['Response'].key?('Error') == false
|
401
|
+
model = ListUserGroupsResponse.new
|
402
|
+
model.deserialize(response['Response'])
|
403
|
+
model
|
404
|
+
else
|
405
|
+
code = response['Response']['Error']['Code']
|
406
|
+
message = response['Response']['Error']['Message']
|
407
|
+
reqid = response['Response']['RequestId']
|
408
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
409
|
+
end
|
410
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
411
|
+
raise e
|
412
|
+
rescue StandardError => e
|
413
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
|
+
end
|
415
|
+
|
416
|
+
# 查询用户目录列表
|
417
|
+
|
418
|
+
# @param request: Request instance for ListUserStore.
|
419
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::ListUserStoreRequest`
|
420
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::ListUserStoreResponse`
|
421
|
+
def ListUserStore(request)
|
422
|
+
body = send_request('ListUserStore', request.serialize)
|
423
|
+
response = JSON.parse(body)
|
424
|
+
if response['Response'].key?('Error') == false
|
425
|
+
model = ListUserStoreResponse.new
|
426
|
+
model.deserialize(response['Response'])
|
427
|
+
model
|
428
|
+
else
|
429
|
+
code = response['Response']['Error']['Code']
|
430
|
+
message = response['Response']['Error']['Message']
|
431
|
+
reqid = response['Response']['RequestId']
|
432
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
433
|
+
end
|
434
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
435
|
+
raise e
|
436
|
+
rescue StandardError => e
|
437
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
|
+
end
|
439
|
+
|
296
440
|
# 重置用户密码
|
297
441
|
|
298
442
|
# @param request: Request instance for ResetPassword.
|
@@ -365,6 +509,30 @@ module TencentCloud
|
|
365
509
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
366
510
|
end
|
367
511
|
|
512
|
+
# 更新用户组
|
513
|
+
|
514
|
+
# @param request: Request instance for UpdateUserGroup.
|
515
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::UpdateUserGroupRequest`
|
516
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::UpdateUserGroupResponse`
|
517
|
+
def UpdateUserGroup(request)
|
518
|
+
body = send_request('UpdateUserGroup', request.serialize)
|
519
|
+
response = JSON.parse(body)
|
520
|
+
if response['Response'].key?('Error') == false
|
521
|
+
model = UpdateUserGroupResponse.new
|
522
|
+
model.deserialize(response['Response'])
|
523
|
+
model
|
524
|
+
else
|
525
|
+
code = response['Response']['Error']['Code']
|
526
|
+
message = response['Response']['Error']['Message']
|
527
|
+
reqid = response['Response']['RequestId']
|
528
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
529
|
+
end
|
530
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
531
|
+
raise e
|
532
|
+
rescue StandardError => e
|
533
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
|
+
end
|
535
|
+
|
368
536
|
# 更新用户状态
|
369
537
|
|
370
538
|
# @param request: Request instance for UpdateUserStatus.
|
@@ -389,6 +557,30 @@ module TencentCloud
|
|
389
557
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
558
|
end
|
391
559
|
|
560
|
+
# 更新用户目录
|
561
|
+
|
562
|
+
# @param request: Request instance for UpdateUserStore.
|
563
|
+
# @type request: :class:`Tencentcloud::ciam::V20220331::UpdateUserStoreRequest`
|
564
|
+
# @rtype: :class:`Tencentcloud::ciam::V20220331::UpdateUserStoreResponse`
|
565
|
+
def UpdateUserStore(request)
|
566
|
+
body = send_request('UpdateUserStore', request.serialize)
|
567
|
+
response = JSON.parse(body)
|
568
|
+
if response['Response'].key?('Error') == false
|
569
|
+
model = UpdateUserStoreResponse.new
|
570
|
+
model.deserialize(response['Response'])
|
571
|
+
model
|
572
|
+
else
|
573
|
+
code = response['Response']['Error']['Code']
|
574
|
+
message = response['Response']['Error']['Message']
|
575
|
+
reqid = response['Response']['RequestId']
|
576
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
577
|
+
end
|
578
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
579
|
+
raise e
|
580
|
+
rescue StandardError => e
|
581
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
|
+
end
|
583
|
+
|
392
584
|
|
393
585
|
end
|
394
586
|
end
|
data/lib/v20220331/models.rb
CHANGED
@@ -17,6 +17,33 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Ciam
|
19
19
|
module V20220331
|
20
|
+
# 用户组删除时关联的应用信息
|
21
|
+
class AppAssociatedUserGroupIds < TencentCloud::Common::AbstractModel
|
22
|
+
# @param UserGroupId: 用户组id
|
23
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24
|
+
# @type UserGroupId: String
|
25
|
+
# @param ApplicationId: 应用id
|
26
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
27
|
+
# @type ApplicationId: String
|
28
|
+
# @param ApplicationName: 应用名称
|
29
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
30
|
+
# @type ApplicationName: String
|
31
|
+
|
32
|
+
attr_accessor :UserGroupId, :ApplicationId, :ApplicationName
|
33
|
+
|
34
|
+
def initialize(usergroupid=nil, applicationid=nil, applicationname=nil)
|
35
|
+
@UserGroupId = usergroupid
|
36
|
+
@ApplicationId = applicationid
|
37
|
+
@ApplicationName = applicationname
|
38
|
+
end
|
39
|
+
|
40
|
+
def deserialize(params)
|
41
|
+
@UserGroupId = params['UserGroupId']
|
42
|
+
@ApplicationId = params['ApplicationId']
|
43
|
+
@ApplicationName = params['ApplicationName']
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
20
47
|
# CreateApiImportUserJob请求参数结构体
|
21
48
|
class CreateApiImportUserJobRequest < TencentCloud::Common::AbstractModel
|
22
49
|
# @param UserStoreId: 用户目录ID
|
@@ -138,6 +165,46 @@ module TencentCloud
|
|
138
165
|
end
|
139
166
|
end
|
140
167
|
|
168
|
+
# CreateUserGroup请求参数结构体
|
169
|
+
class CreateUserGroupRequest < TencentCloud::Common::AbstractModel
|
170
|
+
# @param DisplayName: 用户组名称
|
171
|
+
# @type DisplayName: String
|
172
|
+
# @param UserStoreId: 用户目录ID
|
173
|
+
# @type UserStoreId: String
|
174
|
+
# @param Description: 用户组描述
|
175
|
+
# @type Description: String
|
176
|
+
|
177
|
+
attr_accessor :DisplayName, :UserStoreId, :Description
|
178
|
+
|
179
|
+
def initialize(displayname=nil, userstoreid=nil, description=nil)
|
180
|
+
@DisplayName = displayname
|
181
|
+
@UserStoreId = userstoreid
|
182
|
+
@Description = description
|
183
|
+
end
|
184
|
+
|
185
|
+
def deserialize(params)
|
186
|
+
@DisplayName = params['DisplayName']
|
187
|
+
@UserStoreId = params['UserStoreId']
|
188
|
+
@Description = params['Description']
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
# CreateUserGroup返回参数结构体
|
193
|
+
class CreateUserGroupResponse < TencentCloud::Common::AbstractModel
|
194
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
195
|
+
# @type RequestId: String
|
196
|
+
|
197
|
+
attr_accessor :RequestId
|
198
|
+
|
199
|
+
def initialize(requestid=nil)
|
200
|
+
@RequestId = requestid
|
201
|
+
end
|
202
|
+
|
203
|
+
def deserialize(params)
|
204
|
+
@RequestId = params['RequestId']
|
205
|
+
end
|
206
|
+
end
|
207
|
+
|
141
208
|
# CreateUser请求参数结构体
|
142
209
|
class CreateUserRequest < TencentCloud::Common::AbstractModel
|
143
210
|
# @param UserStoreId: 用户目录ID
|
@@ -241,6 +308,122 @@ module TencentCloud
|
|
241
308
|
end
|
242
309
|
end
|
243
310
|
|
311
|
+
# CreateUserStore请求参数结构体
|
312
|
+
class CreateUserStoreRequest < TencentCloud::Common::AbstractModel
|
313
|
+
# @param UserPoolName: 用户池名字
|
314
|
+
# @type UserPoolName: String
|
315
|
+
# @param UserPoolDesc: 用户池描述
|
316
|
+
# @type UserPoolDesc: String
|
317
|
+
# @param UserPoolLogo: 用户池logo
|
318
|
+
# @type UserPoolLogo: String
|
319
|
+
|
320
|
+
attr_accessor :UserPoolName, :UserPoolDesc, :UserPoolLogo
|
321
|
+
|
322
|
+
def initialize(userpoolname=nil, userpooldesc=nil, userpoollogo=nil)
|
323
|
+
@UserPoolName = userpoolname
|
324
|
+
@UserPoolDesc = userpooldesc
|
325
|
+
@UserPoolLogo = userpoollogo
|
326
|
+
end
|
327
|
+
|
328
|
+
def deserialize(params)
|
329
|
+
@UserPoolName = params['UserPoolName']
|
330
|
+
@UserPoolDesc = params['UserPoolDesc']
|
331
|
+
@UserPoolLogo = params['UserPoolLogo']
|
332
|
+
end
|
333
|
+
end
|
334
|
+
|
335
|
+
# CreateUserStore返回参数结构体
|
336
|
+
class CreateUserStoreResponse < TencentCloud::Common::AbstractModel
|
337
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
338
|
+
# @type RequestId: String
|
339
|
+
|
340
|
+
attr_accessor :RequestId
|
341
|
+
|
342
|
+
def initialize(requestid=nil)
|
343
|
+
@RequestId = requestid
|
344
|
+
end
|
345
|
+
|
346
|
+
def deserialize(params)
|
347
|
+
@RequestId = params['RequestId']
|
348
|
+
end
|
349
|
+
end
|
350
|
+
|
351
|
+
# DeleteUserGroups请求参数结构体
|
352
|
+
class DeleteUserGroupsRequest < TencentCloud::Common::AbstractModel
|
353
|
+
# @param UserGroupIds: 用户组ID数组
|
354
|
+
# @type UserGroupIds: Array
|
355
|
+
# @param UserStoreId: 用户目录ID
|
356
|
+
# @type UserStoreId: String
|
357
|
+
|
358
|
+
attr_accessor :UserGroupIds, :UserStoreId
|
359
|
+
|
360
|
+
def initialize(usergroupids=nil, userstoreid=nil)
|
361
|
+
@UserGroupIds = usergroupids
|
362
|
+
@UserStoreId = userstoreid
|
363
|
+
end
|
364
|
+
|
365
|
+
def deserialize(params)
|
366
|
+
@UserGroupIds = params['UserGroupIds']
|
367
|
+
@UserStoreId = params['UserStoreId']
|
368
|
+
end
|
369
|
+
end
|
370
|
+
|
371
|
+
# DeleteUserGroups返回参数结构体
|
372
|
+
class DeleteUserGroupsResponse < TencentCloud::Common::AbstractModel
|
373
|
+
# @param UserGroupDeletedInfo: 删除的用户组关联的应用信息
|
374
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
375
|
+
# @type UserGroupDeletedInfo: :class:`Tencentcloud::Ciam.v20220331.models.UserGroupDeleteResp`
|
376
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
377
|
+
# @type RequestId: String
|
378
|
+
|
379
|
+
attr_accessor :UserGroupDeletedInfo, :RequestId
|
380
|
+
|
381
|
+
def initialize(usergroupdeletedinfo=nil, requestid=nil)
|
382
|
+
@UserGroupDeletedInfo = usergroupdeletedinfo
|
383
|
+
@RequestId = requestid
|
384
|
+
end
|
385
|
+
|
386
|
+
def deserialize(params)
|
387
|
+
unless params['UserGroupDeletedInfo'].nil?
|
388
|
+
@UserGroupDeletedInfo = UserGroupDeleteResp.new
|
389
|
+
@UserGroupDeletedInfo.deserialize(params['UserGroupDeletedInfo'])
|
390
|
+
end
|
391
|
+
@RequestId = params['RequestId']
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
395
|
+
# DeleteUserStore请求参数结构体
|
396
|
+
class DeleteUserStoreRequest < TencentCloud::Common::AbstractModel
|
397
|
+
# @param UserPoolId: 用户池ID
|
398
|
+
# @type UserPoolId: String
|
399
|
+
|
400
|
+
attr_accessor :UserPoolId
|
401
|
+
|
402
|
+
def initialize(userpoolid=nil)
|
403
|
+
@UserPoolId = userpoolid
|
404
|
+
end
|
405
|
+
|
406
|
+
def deserialize(params)
|
407
|
+
@UserPoolId = params['UserPoolId']
|
408
|
+
end
|
409
|
+
end
|
410
|
+
|
411
|
+
# DeleteUserStore返回参数结构体
|
412
|
+
class DeleteUserStoreResponse < TencentCloud::Common::AbstractModel
|
413
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
414
|
+
# @type RequestId: String
|
415
|
+
|
416
|
+
attr_accessor :RequestId
|
417
|
+
|
418
|
+
def initialize(requestid=nil)
|
419
|
+
@RequestId = requestid
|
420
|
+
end
|
421
|
+
|
422
|
+
def deserialize(params)
|
423
|
+
@RequestId = params['RequestId']
|
424
|
+
end
|
425
|
+
end
|
426
|
+
|
244
427
|
# DeleteUsers请求参数结构体
|
245
428
|
class DeleteUsersRequest < TencentCloud::Common::AbstractModel
|
246
429
|
# @param UserStoreId: 用户目录ID
|
@@ -959,6 +1142,83 @@ module TencentCloud
|
|
959
1142
|
end
|
960
1143
|
end
|
961
1144
|
|
1145
|
+
# ListUserGroups请求参数结构体
|
1146
|
+
class ListUserGroupsRequest < TencentCloud::Common::AbstractModel
|
1147
|
+
# @param UserStoreId: 用户目录ID
|
1148
|
+
# @type UserStoreId: String
|
1149
|
+
# @param Pageable: 分页数据
|
1150
|
+
# @type Pageable: :class:`Tencentcloud::Ciam.v20220331.models.Pageable`
|
1151
|
+
# @param Filters: Key可选值为condition
|
1152
|
+
|
1153
|
+
# <li> **condition** </li> Values = 查询条件,用户组ID或用户组名称
|
1154
|
+
# @type Filters: Array
|
1155
|
+
|
1156
|
+
attr_accessor :UserStoreId, :Pageable, :Filters
|
1157
|
+
|
1158
|
+
def initialize(userstoreid=nil, pageable=nil, filters=nil)
|
1159
|
+
@UserStoreId = userstoreid
|
1160
|
+
@Pageable = pageable
|
1161
|
+
@Filters = filters
|
1162
|
+
end
|
1163
|
+
|
1164
|
+
def deserialize(params)
|
1165
|
+
@UserStoreId = params['UserStoreId']
|
1166
|
+
unless params['Pageable'].nil?
|
1167
|
+
@Pageable = Pageable.new
|
1168
|
+
@Pageable.deserialize(params['Pageable'])
|
1169
|
+
end
|
1170
|
+
unless params['Filters'].nil?
|
1171
|
+
@Filters = []
|
1172
|
+
params['Filters'].each do |i|
|
1173
|
+
filter_tmp = Filter.new
|
1174
|
+
filter_tmp.deserialize(i)
|
1175
|
+
@Filters << filter_tmp
|
1176
|
+
end
|
1177
|
+
end
|
1178
|
+
end
|
1179
|
+
end
|
1180
|
+
|
1181
|
+
# ListUserGroups返回参数结构体
|
1182
|
+
class ListUserGroupsResponse < TencentCloud::Common::AbstractModel
|
1183
|
+
# @param Content: 用户组列表
|
1184
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1185
|
+
# @type Content: Array
|
1186
|
+
# @param Total: 总条数
|
1187
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1188
|
+
# @type Total: Integer
|
1189
|
+
# @param Pageable: 分页
|
1190
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1191
|
+
# @type Pageable: :class:`Tencentcloud::Ciam.v20220331.models.Pageable`
|
1192
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1193
|
+
# @type RequestId: String
|
1194
|
+
|
1195
|
+
attr_accessor :Content, :Total, :Pageable, :RequestId
|
1196
|
+
|
1197
|
+
def initialize(content=nil, total=nil, pageable=nil, requestid=nil)
|
1198
|
+
@Content = content
|
1199
|
+
@Total = total
|
1200
|
+
@Pageable = pageable
|
1201
|
+
@RequestId = requestid
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
def deserialize(params)
|
1205
|
+
unless params['Content'].nil?
|
1206
|
+
@Content = []
|
1207
|
+
params['Content'].each do |i|
|
1208
|
+
usergroup_tmp = UserGroup.new
|
1209
|
+
usergroup_tmp.deserialize(i)
|
1210
|
+
@Content << usergroup_tmp
|
1211
|
+
end
|
1212
|
+
end
|
1213
|
+
@Total = params['Total']
|
1214
|
+
unless params['Pageable'].nil?
|
1215
|
+
@Pageable = Pageable.new
|
1216
|
+
@Pageable.deserialize(params['Pageable'])
|
1217
|
+
end
|
1218
|
+
@RequestId = params['RequestId']
|
1219
|
+
end
|
1220
|
+
end
|
1221
|
+
|
962
1222
|
# ListUser请求参数结构体
|
963
1223
|
class ListUserRequest < TencentCloud::Common::AbstractModel
|
964
1224
|
# @param UserStoreId: 用户目录ID
|
@@ -1041,6 +1301,45 @@ module TencentCloud
|
|
1041
1301
|
end
|
1042
1302
|
end
|
1043
1303
|
|
1304
|
+
# ListUserStore请求参数结构体
|
1305
|
+
class ListUserStoreRequest < TencentCloud::Common::AbstractModel
|
1306
|
+
|
1307
|
+
|
1308
|
+
def initialize()
|
1309
|
+
end
|
1310
|
+
|
1311
|
+
def deserialize(params)
|
1312
|
+
end
|
1313
|
+
end
|
1314
|
+
|
1315
|
+
# ListUserStore返回参数结构体
|
1316
|
+
class ListUserStoreResponse < TencentCloud::Common::AbstractModel
|
1317
|
+
# @param UserStoreSet: 用户目录列表
|
1318
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1319
|
+
# @type UserStoreSet: Array
|
1320
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1321
|
+
# @type RequestId: String
|
1322
|
+
|
1323
|
+
attr_accessor :UserStoreSet, :RequestId
|
1324
|
+
|
1325
|
+
def initialize(userstoreset=nil, requestid=nil)
|
1326
|
+
@UserStoreSet = userstoreset
|
1327
|
+
@RequestId = requestid
|
1328
|
+
end
|
1329
|
+
|
1330
|
+
def deserialize(params)
|
1331
|
+
unless params['UserStoreSet'].nil?
|
1332
|
+
@UserStoreSet = []
|
1333
|
+
params['UserStoreSet'].each do |i|
|
1334
|
+
userstore_tmp = UserStore.new
|
1335
|
+
userstore_tmp.deserialize(i)
|
1336
|
+
@UserStoreSet << userstore_tmp
|
1337
|
+
end
|
1338
|
+
end
|
1339
|
+
@RequestId = params['RequestId']
|
1340
|
+
end
|
1341
|
+
end
|
1342
|
+
|
1044
1343
|
# 日志详情
|
1045
1344
|
class LogMessage < TencentCloud::Common::AbstractModel
|
1046
1345
|
# @param LogId: 日志标识
|
@@ -1375,6 +1674,50 @@ module TencentCloud
|
|
1375
1674
|
end
|
1376
1675
|
end
|
1377
1676
|
|
1677
|
+
# UpdateUserGroup请求参数结构体
|
1678
|
+
class UpdateUserGroupRequest < TencentCloud::Common::AbstractModel
|
1679
|
+
# @param UserGroupId: 用户组ID
|
1680
|
+
# @type UserGroupId: String
|
1681
|
+
# @param DisplayName: 用户组名称
|
1682
|
+
# @type DisplayName: String
|
1683
|
+
# @param UserStoreId: 用户目录ID
|
1684
|
+
# @type UserStoreId: String
|
1685
|
+
# @param Description: 用户组描述
|
1686
|
+
# @type Description: String
|
1687
|
+
|
1688
|
+
attr_accessor :UserGroupId, :DisplayName, :UserStoreId, :Description
|
1689
|
+
|
1690
|
+
def initialize(usergroupid=nil, displayname=nil, userstoreid=nil, description=nil)
|
1691
|
+
@UserGroupId = usergroupid
|
1692
|
+
@DisplayName = displayname
|
1693
|
+
@UserStoreId = userstoreid
|
1694
|
+
@Description = description
|
1695
|
+
end
|
1696
|
+
|
1697
|
+
def deserialize(params)
|
1698
|
+
@UserGroupId = params['UserGroupId']
|
1699
|
+
@DisplayName = params['DisplayName']
|
1700
|
+
@UserStoreId = params['UserStoreId']
|
1701
|
+
@Description = params['Description']
|
1702
|
+
end
|
1703
|
+
end
|
1704
|
+
|
1705
|
+
# UpdateUserGroup返回参数结构体
|
1706
|
+
class UpdateUserGroupResponse < TencentCloud::Common::AbstractModel
|
1707
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1708
|
+
# @type RequestId: String
|
1709
|
+
|
1710
|
+
attr_accessor :RequestId
|
1711
|
+
|
1712
|
+
def initialize(requestid=nil)
|
1713
|
+
@RequestId = requestid
|
1714
|
+
end
|
1715
|
+
|
1716
|
+
def deserialize(params)
|
1717
|
+
@RequestId = params['RequestId']
|
1718
|
+
end
|
1719
|
+
end
|
1720
|
+
|
1378
1721
|
# UpdateUser请求参数结构体
|
1379
1722
|
class UpdateUserRequest < TencentCloud::Common::AbstractModel
|
1380
1723
|
# @param UserId: 用户ID
|
@@ -1522,6 +1865,50 @@ module TencentCloud
|
|
1522
1865
|
end
|
1523
1866
|
end
|
1524
1867
|
|
1868
|
+
# UpdateUserStore请求参数结构体
|
1869
|
+
class UpdateUserStoreRequest < TencentCloud::Common::AbstractModel
|
1870
|
+
# @param UserPoolId: 用户池ID
|
1871
|
+
# @type UserPoolId: String
|
1872
|
+
# @param UserPoolName: 用户池名字
|
1873
|
+
# @type UserPoolName: String
|
1874
|
+
# @param UserPoolDesc: 用户池描述
|
1875
|
+
# @type UserPoolDesc: String
|
1876
|
+
# @param UserPoolLogo: 用户池logo
|
1877
|
+
# @type UserPoolLogo: String
|
1878
|
+
|
1879
|
+
attr_accessor :UserPoolId, :UserPoolName, :UserPoolDesc, :UserPoolLogo
|
1880
|
+
|
1881
|
+
def initialize(userpoolid=nil, userpoolname=nil, userpooldesc=nil, userpoollogo=nil)
|
1882
|
+
@UserPoolId = userpoolid
|
1883
|
+
@UserPoolName = userpoolname
|
1884
|
+
@UserPoolDesc = userpooldesc
|
1885
|
+
@UserPoolLogo = userpoollogo
|
1886
|
+
end
|
1887
|
+
|
1888
|
+
def deserialize(params)
|
1889
|
+
@UserPoolId = params['UserPoolId']
|
1890
|
+
@UserPoolName = params['UserPoolName']
|
1891
|
+
@UserPoolDesc = params['UserPoolDesc']
|
1892
|
+
@UserPoolLogo = params['UserPoolLogo']
|
1893
|
+
end
|
1894
|
+
end
|
1895
|
+
|
1896
|
+
# UpdateUserStore返回参数结构体
|
1897
|
+
class UpdateUserStoreResponse < TencentCloud::Common::AbstractModel
|
1898
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1899
|
+
# @type RequestId: String
|
1900
|
+
|
1901
|
+
attr_accessor :RequestId
|
1902
|
+
|
1903
|
+
def initialize(requestid=nil)
|
1904
|
+
@RequestId = requestid
|
1905
|
+
end
|
1906
|
+
|
1907
|
+
def deserialize(params)
|
1908
|
+
@RequestId = params['RequestId']
|
1909
|
+
end
|
1910
|
+
end
|
1911
|
+
|
1525
1912
|
# 用户信息
|
1526
1913
|
class User < TencentCloud::Common::AbstractModel
|
1527
1914
|
# @param UserId: 用户ID
|
@@ -1742,6 +2129,143 @@ module TencentCloud
|
|
1742
2129
|
end
|
1743
2130
|
end
|
1744
2131
|
|
2132
|
+
# 用户组
|
2133
|
+
class UserGroup < TencentCloud::Common::AbstractModel
|
2134
|
+
# @param UserGroupId: 用户组ID
|
2135
|
+
# @type UserGroupId: String
|
2136
|
+
# @param DisplayName: 用户组名称
|
2137
|
+
# @type DisplayName: String
|
2138
|
+
# @param Description: 用户组描述
|
2139
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2140
|
+
# @type Description: String
|
2141
|
+
# @param UserStoreId: 用户目录ID
|
2142
|
+
# @type UserStoreId: String
|
2143
|
+
# @param TenantId: 租户ID
|
2144
|
+
# @type TenantId: String
|
2145
|
+
# @param CreatedDate: 创建时间
|
2146
|
+
# @type CreatedDate: Integer
|
2147
|
+
# @param LastModifyDate: 最近更新时间
|
2148
|
+
# @type LastModifyDate: Integer
|
2149
|
+
|
2150
|
+
attr_accessor :UserGroupId, :DisplayName, :Description, :UserStoreId, :TenantId, :CreatedDate, :LastModifyDate
|
2151
|
+
|
2152
|
+
def initialize(usergroupid=nil, displayname=nil, description=nil, userstoreid=nil, tenantid=nil, createddate=nil, lastmodifydate=nil)
|
2153
|
+
@UserGroupId = usergroupid
|
2154
|
+
@DisplayName = displayname
|
2155
|
+
@Description = description
|
2156
|
+
@UserStoreId = userstoreid
|
2157
|
+
@TenantId = tenantid
|
2158
|
+
@CreatedDate = createddate
|
2159
|
+
@LastModifyDate = lastmodifydate
|
2160
|
+
end
|
2161
|
+
|
2162
|
+
def deserialize(params)
|
2163
|
+
@UserGroupId = params['UserGroupId']
|
2164
|
+
@DisplayName = params['DisplayName']
|
2165
|
+
@Description = params['Description']
|
2166
|
+
@UserStoreId = params['UserStoreId']
|
2167
|
+
@TenantId = params['TenantId']
|
2168
|
+
@CreatedDate = params['CreatedDate']
|
2169
|
+
@LastModifyDate = params['LastModifyDate']
|
2170
|
+
end
|
2171
|
+
end
|
2172
|
+
|
2173
|
+
# 删除用户组信息时返回的详情
|
2174
|
+
class UserGroupDeleteResp < TencentCloud::Common::AbstractModel
|
2175
|
+
# @param ErrorMessage: 错误详情
|
2176
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2177
|
+
# @type ErrorMessage: String
|
2178
|
+
# @param AppAssociatedUserGroupIds: 用户组关联的应用信息
|
2179
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2180
|
+
# @type AppAssociatedUserGroupIds: Array
|
2181
|
+
|
2182
|
+
attr_accessor :ErrorMessage, :AppAssociatedUserGroupIds
|
2183
|
+
|
2184
|
+
def initialize(errormessage=nil, appassociatedusergroupids=nil)
|
2185
|
+
@ErrorMessage = errormessage
|
2186
|
+
@AppAssociatedUserGroupIds = appassociatedusergroupids
|
2187
|
+
end
|
2188
|
+
|
2189
|
+
def deserialize(params)
|
2190
|
+
@ErrorMessage = params['ErrorMessage']
|
2191
|
+
unless params['AppAssociatedUserGroupIds'].nil?
|
2192
|
+
@AppAssociatedUserGroupIds = []
|
2193
|
+
params['AppAssociatedUserGroupIds'].each do |i|
|
2194
|
+
appassociatedusergroupids_tmp = AppAssociatedUserGroupIds.new
|
2195
|
+
appassociatedusergroupids_tmp.deserialize(i)
|
2196
|
+
@AppAssociatedUserGroupIds << appassociatedusergroupids_tmp
|
2197
|
+
end
|
2198
|
+
end
|
2199
|
+
end
|
2200
|
+
end
|
2201
|
+
|
2202
|
+
# 用户池
|
2203
|
+
class UserStore < TencentCloud::Common::AbstractModel
|
2204
|
+
# @param TenantId: 租户ID
|
2205
|
+
# @type TenantId: String
|
2206
|
+
# @param UserStoreLogo: 用户池logo
|
2207
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2208
|
+
# @type UserStoreLogo: String
|
2209
|
+
# @param UserStoreDesc: 用户池描述
|
2210
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2211
|
+
# @type UserStoreDesc: String
|
2212
|
+
# @param UserStoreName: 用户池名称
|
2213
|
+
# @type UserStoreName: String
|
2214
|
+
# @param UserNum: 用户数量
|
2215
|
+
# @type UserNum: Integer
|
2216
|
+
# @param UserStoreId: 用户池ID
|
2217
|
+
# @type UserStoreId: String
|
2218
|
+
# @param AppNum: 应用数量
|
2219
|
+
# @type AppNum: Integer
|
2220
|
+
# @param LastStatus: 上次切换的用户池
|
2221
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2222
|
+
# @type LastStatus: Boolean
|
2223
|
+
# @param DefaultStatus: 默认用户池
|
2224
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2225
|
+
# @type DefaultStatus: Boolean
|
2226
|
+
# @param CreateDate: 创建时间
|
2227
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2228
|
+
# @type CreateDate: Integer
|
2229
|
+
# @param LastStatusTime: 上次切换时间
|
2230
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2231
|
+
# @type LastStatusTime: Integer
|
2232
|
+
# @param UserStoreProtocolHost: 用户目录域名
|
2233
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2234
|
+
# @type UserStoreProtocolHost: String
|
2235
|
+
|
2236
|
+
attr_accessor :TenantId, :UserStoreLogo, :UserStoreDesc, :UserStoreName, :UserNum, :UserStoreId, :AppNum, :LastStatus, :DefaultStatus, :CreateDate, :LastStatusTime, :UserStoreProtocolHost
|
2237
|
+
|
2238
|
+
def initialize(tenantid=nil, userstorelogo=nil, userstoredesc=nil, userstorename=nil, usernum=nil, userstoreid=nil, appnum=nil, laststatus=nil, defaultstatus=nil, createdate=nil, laststatustime=nil, userstoreprotocolhost=nil)
|
2239
|
+
@TenantId = tenantid
|
2240
|
+
@UserStoreLogo = userstorelogo
|
2241
|
+
@UserStoreDesc = userstoredesc
|
2242
|
+
@UserStoreName = userstorename
|
2243
|
+
@UserNum = usernum
|
2244
|
+
@UserStoreId = userstoreid
|
2245
|
+
@AppNum = appnum
|
2246
|
+
@LastStatus = laststatus
|
2247
|
+
@DefaultStatus = defaultstatus
|
2248
|
+
@CreateDate = createdate
|
2249
|
+
@LastStatusTime = laststatustime
|
2250
|
+
@UserStoreProtocolHost = userstoreprotocolhost
|
2251
|
+
end
|
2252
|
+
|
2253
|
+
def deserialize(params)
|
2254
|
+
@TenantId = params['TenantId']
|
2255
|
+
@UserStoreLogo = params['UserStoreLogo']
|
2256
|
+
@UserStoreDesc = params['UserStoreDesc']
|
2257
|
+
@UserStoreName = params['UserStoreName']
|
2258
|
+
@UserNum = params['UserNum']
|
2259
|
+
@UserStoreId = params['UserStoreId']
|
2260
|
+
@AppNum = params['AppNum']
|
2261
|
+
@LastStatus = params['LastStatus']
|
2262
|
+
@DefaultStatus = params['DefaultStatus']
|
2263
|
+
@CreateDate = params['CreateDate']
|
2264
|
+
@LastStatusTime = params['LastStatusTime']
|
2265
|
+
@UserStoreProtocolHost = params['UserStoreProtocolHost']
|
2266
|
+
end
|
2267
|
+
end
|
2268
|
+
|
1745
2269
|
end
|
1746
2270
|
end
|
1747
2271
|
end
|
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: 3.0.
|
4
|
+
version: 3.0.606
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,9 +33,9 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/tencentcloud-sdk-ciam.rb
|
37
|
-
- lib/v20220331/models.rb
|
38
36
|
- lib/v20220331/client.rb
|
37
|
+
- lib/v20220331/models.rb
|
38
|
+
- lib/tencentcloud-sdk-ciam.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|