tencentcloud-sdk-cam 1.0.200
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-cam.rb +11 -0
- data/lib/v20190116/client.rb +1693 -0
- data/lib/v20190116/models.rb +4084 -0
- metadata +66 -0
@@ -0,0 +1,4084 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
module TencentCloud
|
18
|
+
module Cam
|
19
|
+
module V20190116
|
20
|
+
# 访问密钥列表
|
21
|
+
class AccessKey < TencentCloud::Common::AbstractModel
|
22
|
+
# @param AccessKeyId: 访问密钥标识
|
23
|
+
# @type AccessKeyId: String
|
24
|
+
# @param Status: 密钥状态,激活(Active)或未激活(Inactive)
|
25
|
+
# @type Status: String
|
26
|
+
# @param CreateTime: 创建时间
|
27
|
+
# @type CreateTime: String
|
28
|
+
|
29
|
+
attr_accessor :AccessKeyId, :Status, :CreateTime
|
30
|
+
|
31
|
+
def initialize(accesskeyid=nil, status=nil, createtime=nil)
|
32
|
+
@AccessKeyId = accesskeyid
|
33
|
+
@Status = status
|
34
|
+
@CreateTime = createtime
|
35
|
+
end
|
36
|
+
|
37
|
+
def deserialize(params)
|
38
|
+
@AccessKeyId = params['AccessKeyId']
|
39
|
+
@Status = params['Status']
|
40
|
+
@CreateTime = params['CreateTime']
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# AddUser请求参数结构体
|
45
|
+
class AddUserRequest < TencentCloud::Common::AbstractModel
|
46
|
+
# @param Name: 子用户用户名
|
47
|
+
# @type Name: String
|
48
|
+
# @param Remark: 子用户备注
|
49
|
+
# @type Remark: String
|
50
|
+
# @param ConsoleLogin: 子用户是否可以登录控制台。传0子用户无法登录控制台,传1子用户可以登录控制台。
|
51
|
+
# @type ConsoleLogin: Integer
|
52
|
+
# @param UseApi: 是否生成子用户密钥。传0不生成子用户密钥,传1生成子用户密钥。
|
53
|
+
# @type UseApi: Integer
|
54
|
+
# @param Password: 子用户控制台登录密码,若未进行密码规则设置则默认密码规则为8位以上同时包含大小写字母、数字和特殊字符。只有可以登录控制台时才有效,如果传空并且上面指定允许登录控制台,则自动生成随机密码,随机密码规则为32位包含大小写字母、数字和特殊字符。
|
55
|
+
# @type Password: String
|
56
|
+
# @param NeedResetPassword: 子用户是否要在下次登录时重置密码。传0子用户下次登录控制台不需重置密码,传1子用户下次登录控制台需要重置密码。
|
57
|
+
# @type NeedResetPassword: Integer
|
58
|
+
# @param PhoneNum: 手机号
|
59
|
+
# @type PhoneNum: String
|
60
|
+
# @param CountryCode: 区号
|
61
|
+
# @type CountryCode: String
|
62
|
+
# @param Email: 邮箱
|
63
|
+
# @type Email: String
|
64
|
+
|
65
|
+
attr_accessor :Name, :Remark, :ConsoleLogin, :UseApi, :Password, :NeedResetPassword, :PhoneNum, :CountryCode, :Email
|
66
|
+
|
67
|
+
def initialize(name=nil, remark=nil, consolelogin=nil, useapi=nil, password=nil, needresetpassword=nil, phonenum=nil, countrycode=nil, email=nil)
|
68
|
+
@Name = name
|
69
|
+
@Remark = remark
|
70
|
+
@ConsoleLogin = consolelogin
|
71
|
+
@UseApi = useapi
|
72
|
+
@Password = password
|
73
|
+
@NeedResetPassword = needresetpassword
|
74
|
+
@PhoneNum = phonenum
|
75
|
+
@CountryCode = countrycode
|
76
|
+
@Email = email
|
77
|
+
end
|
78
|
+
|
79
|
+
def deserialize(params)
|
80
|
+
@Name = params['Name']
|
81
|
+
@Remark = params['Remark']
|
82
|
+
@ConsoleLogin = params['ConsoleLogin']
|
83
|
+
@UseApi = params['UseApi']
|
84
|
+
@Password = params['Password']
|
85
|
+
@NeedResetPassword = params['NeedResetPassword']
|
86
|
+
@PhoneNum = params['PhoneNum']
|
87
|
+
@CountryCode = params['CountryCode']
|
88
|
+
@Email = params['Email']
|
89
|
+
end
|
90
|
+
end
|
91
|
+
|
92
|
+
# AddUser返回参数结构体
|
93
|
+
class AddUserResponse < TencentCloud::Common::AbstractModel
|
94
|
+
# @param Uin: 子用户 UIN
|
95
|
+
# @type Uin: Integer
|
96
|
+
# @param Name: 子用户用户名
|
97
|
+
# @type Name: String
|
98
|
+
# @param Password: 如果输入参数组合为自动生成随机密码,则返回生成的密码
|
99
|
+
# @type Password: String
|
100
|
+
# @param SecretId: 子用户密钥 ID
|
101
|
+
# @type SecretId: String
|
102
|
+
# @param SecretKey: 子用户密钥 Key
|
103
|
+
# @type SecretKey: String
|
104
|
+
# @param Uid: 子用户 UID
|
105
|
+
# @type Uid: Integer
|
106
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
107
|
+
# @type RequestId: String
|
108
|
+
|
109
|
+
attr_accessor :Uin, :Name, :Password, :SecretId, :SecretKey, :Uid, :RequestId
|
110
|
+
|
111
|
+
def initialize(uin=nil, name=nil, password=nil, secretid=nil, secretkey=nil, uid=nil, requestid=nil)
|
112
|
+
@Uin = uin
|
113
|
+
@Name = name
|
114
|
+
@Password = password
|
115
|
+
@SecretId = secretid
|
116
|
+
@SecretKey = secretkey
|
117
|
+
@Uid = uid
|
118
|
+
@RequestId = requestid
|
119
|
+
end
|
120
|
+
|
121
|
+
def deserialize(params)
|
122
|
+
@Uin = params['Uin']
|
123
|
+
@Name = params['Name']
|
124
|
+
@Password = params['Password']
|
125
|
+
@SecretId = params['SecretId']
|
126
|
+
@SecretKey = params['SecretKey']
|
127
|
+
@Uid = params['Uid']
|
128
|
+
@RequestId = params['RequestId']
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# AddUserToGroup请求参数结构体
|
133
|
+
class AddUserToGroupRequest < TencentCloud::Common::AbstractModel
|
134
|
+
# @param Info: 添加的子用户 UIN/UID 和用户组 ID 关联关系
|
135
|
+
# @type Info: Array
|
136
|
+
|
137
|
+
attr_accessor :Info
|
138
|
+
|
139
|
+
def initialize(info=nil)
|
140
|
+
@Info = info
|
141
|
+
end
|
142
|
+
|
143
|
+
def deserialize(params)
|
144
|
+
unless params['Info'].nil?
|
145
|
+
@Info = []
|
146
|
+
params['Info'].each do |i|
|
147
|
+
groupidofuidinfo_tmp = GroupIdOfUidInfo.new
|
148
|
+
groupidofuidinfo_tmp.deserialize(i)
|
149
|
+
@Info << groupidofuidinfo_tmp
|
150
|
+
end
|
151
|
+
end
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
# AddUserToGroup返回参数结构体
|
156
|
+
class AddUserToGroupResponse < TencentCloud::Common::AbstractModel
|
157
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
158
|
+
# @type RequestId: String
|
159
|
+
|
160
|
+
attr_accessor :RequestId
|
161
|
+
|
162
|
+
def initialize(requestid=nil)
|
163
|
+
@RequestId = requestid
|
164
|
+
end
|
165
|
+
|
166
|
+
def deserialize(params)
|
167
|
+
@RequestId = params['RequestId']
|
168
|
+
end
|
169
|
+
end
|
170
|
+
|
171
|
+
# 策略关联的实体信息
|
172
|
+
class AttachEntityOfPolicy < TencentCloud::Common::AbstractModel
|
173
|
+
# @param Id: 实体ID
|
174
|
+
# @type Id: String
|
175
|
+
# @param Name: 实体名称
|
176
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
177
|
+
# @type Name: String
|
178
|
+
# @param Uin: 实体Uin
|
179
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
180
|
+
# @type Uin: Integer
|
181
|
+
# @param RelatedType: 关联类型。1 用户关联 ; 2 用户组关联
|
182
|
+
# @type RelatedType: Integer
|
183
|
+
# @param AttachmentTime: 策略关联时间
|
184
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
185
|
+
# @type AttachmentTime: String
|
186
|
+
|
187
|
+
attr_accessor :Id, :Name, :Uin, :RelatedType, :AttachmentTime
|
188
|
+
|
189
|
+
def initialize(id=nil, name=nil, uin=nil, relatedtype=nil, attachmenttime=nil)
|
190
|
+
@Id = id
|
191
|
+
@Name = name
|
192
|
+
@Uin = uin
|
193
|
+
@RelatedType = relatedtype
|
194
|
+
@AttachmentTime = attachmenttime
|
195
|
+
end
|
196
|
+
|
197
|
+
def deserialize(params)
|
198
|
+
@Id = params['Id']
|
199
|
+
@Name = params['Name']
|
200
|
+
@Uin = params['Uin']
|
201
|
+
@RelatedType = params['RelatedType']
|
202
|
+
@AttachmentTime = params['AttachmentTime']
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
# AttachGroupPolicy请求参数结构体
|
207
|
+
class AttachGroupPolicyRequest < TencentCloud::Common::AbstractModel
|
208
|
+
# @param PolicyId: 策略 id
|
209
|
+
# @type PolicyId: Integer
|
210
|
+
# @param AttachGroupId: 用户组 id
|
211
|
+
# @type AttachGroupId: Integer
|
212
|
+
|
213
|
+
attr_accessor :PolicyId, :AttachGroupId
|
214
|
+
|
215
|
+
def initialize(policyid=nil, attachgroupid=nil)
|
216
|
+
@PolicyId = policyid
|
217
|
+
@AttachGroupId = attachgroupid
|
218
|
+
end
|
219
|
+
|
220
|
+
def deserialize(params)
|
221
|
+
@PolicyId = params['PolicyId']
|
222
|
+
@AttachGroupId = params['AttachGroupId']
|
223
|
+
end
|
224
|
+
end
|
225
|
+
|
226
|
+
# AttachGroupPolicy返回参数结构体
|
227
|
+
class AttachGroupPolicyResponse < TencentCloud::Common::AbstractModel
|
228
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
229
|
+
# @type RequestId: String
|
230
|
+
|
231
|
+
attr_accessor :RequestId
|
232
|
+
|
233
|
+
def initialize(requestid=nil)
|
234
|
+
@RequestId = requestid
|
235
|
+
end
|
236
|
+
|
237
|
+
def deserialize(params)
|
238
|
+
@RequestId = params['RequestId']
|
239
|
+
end
|
240
|
+
end
|
241
|
+
|
242
|
+
# 关联策略信息
|
243
|
+
class AttachPolicyInfo < TencentCloud::Common::AbstractModel
|
244
|
+
# @param PolicyId: 策略id
|
245
|
+
# @type PolicyId: Integer
|
246
|
+
# @param PolicyName: 策略名称
|
247
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
248
|
+
# @type PolicyName: String
|
249
|
+
# @param AddTime: 创建时间
|
250
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
251
|
+
# @type AddTime: String
|
252
|
+
# @param CreateMode: 创建来源,1 通过控制台创建, 2 通过策略语法创建。
|
253
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
254
|
+
# @type CreateMode: Integer
|
255
|
+
# @param PolicyType: 取值为user和QCS
|
256
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
257
|
+
# @type PolicyType: String
|
258
|
+
# @param Remark: 策略备注
|
259
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
260
|
+
# @type Remark: String
|
261
|
+
# @param OperateOwnerUin: 策略关联操作者主帐号
|
262
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
263
|
+
# @type OperateOwnerUin: String
|
264
|
+
# @param OperateUin: 策略关联操作者ID,如果UinType为0表示子帐号Uin,如果UinType为1表示角色ID
|
265
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
266
|
+
# @type OperateUin: String
|
267
|
+
# @param OperateUinType: UinType为0表示OperateUin字段是子帐号Uin,如果UinType为1表示OperateUin字段是角色ID
|
268
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
269
|
+
# @type OperateUinType: Integer
|
270
|
+
# @param Deactived: 是否已下线
|
271
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
272
|
+
# @type Deactived: Integer
|
273
|
+
# @param DeactivedDetail: 已下线的产品列表
|
274
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
275
|
+
# @type DeactivedDetail: Array
|
276
|
+
|
277
|
+
attr_accessor :PolicyId, :PolicyName, :AddTime, :CreateMode, :PolicyType, :Remark, :OperateOwnerUin, :OperateUin, :OperateUinType, :Deactived, :DeactivedDetail
|
278
|
+
|
279
|
+
def initialize(policyid=nil, policyname=nil, addtime=nil, createmode=nil, policytype=nil, remark=nil, operateowneruin=nil, operateuin=nil, operateuintype=nil, deactived=nil, deactiveddetail=nil)
|
280
|
+
@PolicyId = policyid
|
281
|
+
@PolicyName = policyname
|
282
|
+
@AddTime = addtime
|
283
|
+
@CreateMode = createmode
|
284
|
+
@PolicyType = policytype
|
285
|
+
@Remark = remark
|
286
|
+
@OperateOwnerUin = operateowneruin
|
287
|
+
@OperateUin = operateuin
|
288
|
+
@OperateUinType = operateuintype
|
289
|
+
@Deactived = deactived
|
290
|
+
@DeactivedDetail = deactiveddetail
|
291
|
+
end
|
292
|
+
|
293
|
+
def deserialize(params)
|
294
|
+
@PolicyId = params['PolicyId']
|
295
|
+
@PolicyName = params['PolicyName']
|
296
|
+
@AddTime = params['AddTime']
|
297
|
+
@CreateMode = params['CreateMode']
|
298
|
+
@PolicyType = params['PolicyType']
|
299
|
+
@Remark = params['Remark']
|
300
|
+
@OperateOwnerUin = params['OperateOwnerUin']
|
301
|
+
@OperateUin = params['OperateUin']
|
302
|
+
@OperateUinType = params['OperateUinType']
|
303
|
+
@Deactived = params['Deactived']
|
304
|
+
@DeactivedDetail = params['DeactivedDetail']
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
308
|
+
# AttachRolePolicy请求参数结构体
|
309
|
+
class AttachRolePolicyRequest < TencentCloud::Common::AbstractModel
|
310
|
+
# @param PolicyId: 策略ID,入参PolicyId与PolicyName二选一
|
311
|
+
# @type PolicyId: Integer
|
312
|
+
# @param AttachRoleId: 角色ID,用于指定角色,入参 AttachRoleId 与 AttachRoleName 二选一
|
313
|
+
# @type AttachRoleId: String
|
314
|
+
# @param AttachRoleName: 角色名称,用于指定角色,入参 AttachRoleId 与 AttachRoleName 二选一
|
315
|
+
# @type AttachRoleName: String
|
316
|
+
# @param PolicyName: 策略名,入参PolicyId与PolicyName二选一
|
317
|
+
# @type PolicyName: String
|
318
|
+
|
319
|
+
attr_accessor :PolicyId, :AttachRoleId, :AttachRoleName, :PolicyName
|
320
|
+
|
321
|
+
def initialize(policyid=nil, attachroleid=nil, attachrolename=nil, policyname=nil)
|
322
|
+
@PolicyId = policyid
|
323
|
+
@AttachRoleId = attachroleid
|
324
|
+
@AttachRoleName = attachrolename
|
325
|
+
@PolicyName = policyname
|
326
|
+
end
|
327
|
+
|
328
|
+
def deserialize(params)
|
329
|
+
@PolicyId = params['PolicyId']
|
330
|
+
@AttachRoleId = params['AttachRoleId']
|
331
|
+
@AttachRoleName = params['AttachRoleName']
|
332
|
+
@PolicyName = params['PolicyName']
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
336
|
+
# AttachRolePolicy返回参数结构体
|
337
|
+
class AttachRolePolicyResponse < TencentCloud::Common::AbstractModel
|
338
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
339
|
+
# @type RequestId: String
|
340
|
+
|
341
|
+
attr_accessor :RequestId
|
342
|
+
|
343
|
+
def initialize(requestid=nil)
|
344
|
+
@RequestId = requestid
|
345
|
+
end
|
346
|
+
|
347
|
+
def deserialize(params)
|
348
|
+
@RequestId = params['RequestId']
|
349
|
+
end
|
350
|
+
end
|
351
|
+
|
352
|
+
# AttachUserPolicy请求参数结构体
|
353
|
+
class AttachUserPolicyRequest < TencentCloud::Common::AbstractModel
|
354
|
+
# @param PolicyId: 策略 id
|
355
|
+
# @type PolicyId: Integer
|
356
|
+
# @param AttachUin: 子账号 uin
|
357
|
+
# @type AttachUin: Integer
|
358
|
+
|
359
|
+
attr_accessor :PolicyId, :AttachUin
|
360
|
+
|
361
|
+
def initialize(policyid=nil, attachuin=nil)
|
362
|
+
@PolicyId = policyid
|
363
|
+
@AttachUin = attachuin
|
364
|
+
end
|
365
|
+
|
366
|
+
def deserialize(params)
|
367
|
+
@PolicyId = params['PolicyId']
|
368
|
+
@AttachUin = params['AttachUin']
|
369
|
+
end
|
370
|
+
end
|
371
|
+
|
372
|
+
# AttachUserPolicy返回参数结构体
|
373
|
+
class AttachUserPolicyResponse < TencentCloud::Common::AbstractModel
|
374
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
375
|
+
# @type RequestId: String
|
376
|
+
|
377
|
+
attr_accessor :RequestId
|
378
|
+
|
379
|
+
def initialize(requestid=nil)
|
380
|
+
@RequestId = requestid
|
381
|
+
end
|
382
|
+
|
383
|
+
def deserialize(params)
|
384
|
+
@RequestId = params['RequestId']
|
385
|
+
end
|
386
|
+
end
|
387
|
+
|
388
|
+
# 角色关联的策略信息
|
389
|
+
class AttachedPolicyOfRole < TencentCloud::Common::AbstractModel
|
390
|
+
# @param PolicyId: 策略ID
|
391
|
+
# @type PolicyId: Integer
|
392
|
+
# @param PolicyName: 策略名称
|
393
|
+
# @type PolicyName: String
|
394
|
+
# @param AddTime: 绑定时间
|
395
|
+
# @type AddTime: String
|
396
|
+
# @param PolicyType: 策略类型,User表示自定义策略,QCS表示预设策略
|
397
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
398
|
+
# @type PolicyType: String
|
399
|
+
# @param CreateMode: 策略创建方式,1表示按产品功能或项目权限创建,其他表示按策略语法创建
|
400
|
+
# @type CreateMode: Integer
|
401
|
+
# @param Deactived: 是否已下线(0:否 1:是)
|
402
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
403
|
+
# @type Deactived: Integer
|
404
|
+
# @param DeactivedDetail: 已下线的产品列表
|
405
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
406
|
+
# @type DeactivedDetail: Array
|
407
|
+
# @param Description: 策略描述
|
408
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
409
|
+
# @type Description: String
|
410
|
+
|
411
|
+
attr_accessor :PolicyId, :PolicyName, :AddTime, :PolicyType, :CreateMode, :Deactived, :DeactivedDetail, :Description
|
412
|
+
|
413
|
+
def initialize(policyid=nil, policyname=nil, addtime=nil, policytype=nil, createmode=nil, deactived=nil, deactiveddetail=nil, description=nil)
|
414
|
+
@PolicyId = policyid
|
415
|
+
@PolicyName = policyname
|
416
|
+
@AddTime = addtime
|
417
|
+
@PolicyType = policytype
|
418
|
+
@CreateMode = createmode
|
419
|
+
@Deactived = deactived
|
420
|
+
@DeactivedDetail = deactiveddetail
|
421
|
+
@Description = description
|
422
|
+
end
|
423
|
+
|
424
|
+
def deserialize(params)
|
425
|
+
@PolicyId = params['PolicyId']
|
426
|
+
@PolicyName = params['PolicyName']
|
427
|
+
@AddTime = params['AddTime']
|
428
|
+
@PolicyType = params['PolicyType']
|
429
|
+
@CreateMode = params['CreateMode']
|
430
|
+
@Deactived = params['Deactived']
|
431
|
+
@DeactivedDetail = params['DeactivedDetail']
|
432
|
+
@Description = params['Description']
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
# ConsumeCustomMFAToken请求参数结构体
|
437
|
+
class ConsumeCustomMFATokenRequest < TencentCloud::Common::AbstractModel
|
438
|
+
# @param MFAToken: 自定义多因子验证Token
|
439
|
+
# @type MFAToken: String
|
440
|
+
|
441
|
+
attr_accessor :MFAToken
|
442
|
+
|
443
|
+
def initialize(mfatoken=nil)
|
444
|
+
@MFAToken = mfatoken
|
445
|
+
end
|
446
|
+
|
447
|
+
def deserialize(params)
|
448
|
+
@MFAToken = params['MFAToken']
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
452
|
+
# ConsumeCustomMFAToken返回参数结构体
|
453
|
+
class ConsumeCustomMFATokenResponse < TencentCloud::Common::AbstractModel
|
454
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
455
|
+
# @type RequestId: String
|
456
|
+
|
457
|
+
attr_accessor :RequestId
|
458
|
+
|
459
|
+
def initialize(requestid=nil)
|
460
|
+
@RequestId = requestid
|
461
|
+
end
|
462
|
+
|
463
|
+
def deserialize(params)
|
464
|
+
@RequestId = params['RequestId']
|
465
|
+
end
|
466
|
+
end
|
467
|
+
|
468
|
+
# CreateGroup请求参数结构体
|
469
|
+
class CreateGroupRequest < TencentCloud::Common::AbstractModel
|
470
|
+
# @param GroupName: 用户组名
|
471
|
+
# @type GroupName: String
|
472
|
+
# @param Remark: 用户组描述
|
473
|
+
# @type Remark: String
|
474
|
+
|
475
|
+
attr_accessor :GroupName, :Remark
|
476
|
+
|
477
|
+
def initialize(groupname=nil, remark=nil)
|
478
|
+
@GroupName = groupname
|
479
|
+
@Remark = remark
|
480
|
+
end
|
481
|
+
|
482
|
+
def deserialize(params)
|
483
|
+
@GroupName = params['GroupName']
|
484
|
+
@Remark = params['Remark']
|
485
|
+
end
|
486
|
+
end
|
487
|
+
|
488
|
+
# CreateGroup返回参数结构体
|
489
|
+
class CreateGroupResponse < TencentCloud::Common::AbstractModel
|
490
|
+
# @param GroupId: 用户组 ID
|
491
|
+
# @type GroupId: Integer
|
492
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
493
|
+
# @type RequestId: String
|
494
|
+
|
495
|
+
attr_accessor :GroupId, :RequestId
|
496
|
+
|
497
|
+
def initialize(groupid=nil, requestid=nil)
|
498
|
+
@GroupId = groupid
|
499
|
+
@RequestId = requestid
|
500
|
+
end
|
501
|
+
|
502
|
+
def deserialize(params)
|
503
|
+
@GroupId = params['GroupId']
|
504
|
+
@RequestId = params['RequestId']
|
505
|
+
end
|
506
|
+
end
|
507
|
+
|
508
|
+
# CreatePolicy请求参数结构体
|
509
|
+
class CreatePolicyRequest < TencentCloud::Common::AbstractModel
|
510
|
+
# @param PolicyName: 策略名
|
511
|
+
# @type PolicyName: String
|
512
|
+
# @param PolicyDocument: 策略文档,示例:{"version":"2.0","statement":[{"action":"name/sts:AssumeRole","effect":"allow","principal":{"service":["cloudaudit.cloud.tencent.com","cls.cloud.tencent.com"]}}]},principal用于指定角色的授权对象。获取该参数可参阅 获取角色详情(https://cloud.tencent.com/document/product/598/36221) 输出参数RoleInfo
|
513
|
+
# @type PolicyDocument: String
|
514
|
+
# @param Description: 策略描述
|
515
|
+
# @type Description: String
|
516
|
+
|
517
|
+
attr_accessor :PolicyName, :PolicyDocument, :Description
|
518
|
+
|
519
|
+
def initialize(policyname=nil, policydocument=nil, description=nil)
|
520
|
+
@PolicyName = policyname
|
521
|
+
@PolicyDocument = policydocument
|
522
|
+
@Description = description
|
523
|
+
end
|
524
|
+
|
525
|
+
def deserialize(params)
|
526
|
+
@PolicyName = params['PolicyName']
|
527
|
+
@PolicyDocument = params['PolicyDocument']
|
528
|
+
@Description = params['Description']
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
532
|
+
# CreatePolicy返回参数结构体
|
533
|
+
class CreatePolicyResponse < TencentCloud::Common::AbstractModel
|
534
|
+
# @param PolicyId: 新增策略ID
|
535
|
+
# @type PolicyId: Integer
|
536
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
537
|
+
# @type RequestId: String
|
538
|
+
|
539
|
+
attr_accessor :PolicyId, :RequestId
|
540
|
+
|
541
|
+
def initialize(policyid=nil, requestid=nil)
|
542
|
+
@PolicyId = policyid
|
543
|
+
@RequestId = requestid
|
544
|
+
end
|
545
|
+
|
546
|
+
def deserialize(params)
|
547
|
+
@PolicyId = params['PolicyId']
|
548
|
+
@RequestId = params['RequestId']
|
549
|
+
end
|
550
|
+
end
|
551
|
+
|
552
|
+
# CreatePolicyVersion请求参数结构体
|
553
|
+
class CreatePolicyVersionRequest < TencentCloud::Common::AbstractModel
|
554
|
+
# @param PolicyId: 策略ID
|
555
|
+
# @type PolicyId: Integer
|
556
|
+
# @param PolicyDocument: 策略文本信息
|
557
|
+
# @type PolicyDocument: String
|
558
|
+
# @param SetAsDefault: 是否设置为当前策略的版本
|
559
|
+
# @type SetAsDefault: Boolean
|
560
|
+
|
561
|
+
attr_accessor :PolicyId, :PolicyDocument, :SetAsDefault
|
562
|
+
|
563
|
+
def initialize(policyid=nil, policydocument=nil, setasdefault=nil)
|
564
|
+
@PolicyId = policyid
|
565
|
+
@PolicyDocument = policydocument
|
566
|
+
@SetAsDefault = setasdefault
|
567
|
+
end
|
568
|
+
|
569
|
+
def deserialize(params)
|
570
|
+
@PolicyId = params['PolicyId']
|
571
|
+
@PolicyDocument = params['PolicyDocument']
|
572
|
+
@SetAsDefault = params['SetAsDefault']
|
573
|
+
end
|
574
|
+
end
|
575
|
+
|
576
|
+
# CreatePolicyVersion返回参数结构体
|
577
|
+
class CreatePolicyVersionResponse < TencentCloud::Common::AbstractModel
|
578
|
+
# @param VersionId: 策略版本号
|
579
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
580
|
+
# @type VersionId: Integer
|
581
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
582
|
+
# @type RequestId: String
|
583
|
+
|
584
|
+
attr_accessor :VersionId, :RequestId
|
585
|
+
|
586
|
+
def initialize(versionid=nil, requestid=nil)
|
587
|
+
@VersionId = versionid
|
588
|
+
@RequestId = requestid
|
589
|
+
end
|
590
|
+
|
591
|
+
def deserialize(params)
|
592
|
+
@VersionId = params['VersionId']
|
593
|
+
@RequestId = params['RequestId']
|
594
|
+
end
|
595
|
+
end
|
596
|
+
|
597
|
+
# CreateRole请求参数结构体
|
598
|
+
class CreateRoleRequest < TencentCloud::Common::AbstractModel
|
599
|
+
# @param RoleName: 角色名称
|
600
|
+
# @type RoleName: String
|
601
|
+
# @param PolicyDocument: 策略文档,示例:{"version":"2.0","statement":[{"action":"name/sts:AssumeRole","effect":"allow","principal":{"service":["cloudaudit.cloud.tencent.com","cls.cloud.tencent.com"]}}]},principal用于指定角色的授权对象。获取该参数可参阅 获取角色详情(https://cloud.tencent.com/document/product/598/36221) 输出参数RoleInfo
|
602
|
+
# @type PolicyDocument: String
|
603
|
+
# @param Description: 角色描述
|
604
|
+
# @type Description: String
|
605
|
+
# @param ConsoleLogin: 是否允许登录 1 为允许 0 为不允许
|
606
|
+
# @type ConsoleLogin: Integer
|
607
|
+
# @param SessionDuration: 申请角色临时密钥的最长有效期限制(范围:0~43200)
|
608
|
+
# @type SessionDuration: Integer
|
609
|
+
|
610
|
+
attr_accessor :RoleName, :PolicyDocument, :Description, :ConsoleLogin, :SessionDuration
|
611
|
+
|
612
|
+
def initialize(rolename=nil, policydocument=nil, description=nil, consolelogin=nil, sessionduration=nil)
|
613
|
+
@RoleName = rolename
|
614
|
+
@PolicyDocument = policydocument
|
615
|
+
@Description = description
|
616
|
+
@ConsoleLogin = consolelogin
|
617
|
+
@SessionDuration = sessionduration
|
618
|
+
end
|
619
|
+
|
620
|
+
def deserialize(params)
|
621
|
+
@RoleName = params['RoleName']
|
622
|
+
@PolicyDocument = params['PolicyDocument']
|
623
|
+
@Description = params['Description']
|
624
|
+
@ConsoleLogin = params['ConsoleLogin']
|
625
|
+
@SessionDuration = params['SessionDuration']
|
626
|
+
end
|
627
|
+
end
|
628
|
+
|
629
|
+
# CreateRole返回参数结构体
|
630
|
+
class CreateRoleResponse < TencentCloud::Common::AbstractModel
|
631
|
+
# @param RoleId: 角色ID
|
632
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
633
|
+
# @type RoleId: String
|
634
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
635
|
+
# @type RequestId: String
|
636
|
+
|
637
|
+
attr_accessor :RoleId, :RequestId
|
638
|
+
|
639
|
+
def initialize(roleid=nil, requestid=nil)
|
640
|
+
@RoleId = roleid
|
641
|
+
@RequestId = requestid
|
642
|
+
end
|
643
|
+
|
644
|
+
def deserialize(params)
|
645
|
+
@RoleId = params['RoleId']
|
646
|
+
@RequestId = params['RequestId']
|
647
|
+
end
|
648
|
+
end
|
649
|
+
|
650
|
+
# CreateSAMLProvider请求参数结构体
|
651
|
+
class CreateSAMLProviderRequest < TencentCloud::Common::AbstractModel
|
652
|
+
# @param Name: SAML身份提供商名称
|
653
|
+
# @type Name: String
|
654
|
+
# @param Description: SAML身份提供商描述
|
655
|
+
# @type Description: String
|
656
|
+
# @param SAMLMetadataDocument: SAML身份提供商Base64编码的元数据文档
|
657
|
+
# @type SAMLMetadataDocument: String
|
658
|
+
|
659
|
+
attr_accessor :Name, :Description, :SAMLMetadataDocument
|
660
|
+
|
661
|
+
def initialize(name=nil, description=nil, samlmetadatadocument=nil)
|
662
|
+
@Name = name
|
663
|
+
@Description = description
|
664
|
+
@SAMLMetadataDocument = samlmetadatadocument
|
665
|
+
end
|
666
|
+
|
667
|
+
def deserialize(params)
|
668
|
+
@Name = params['Name']
|
669
|
+
@Description = params['Description']
|
670
|
+
@SAMLMetadataDocument = params['SAMLMetadataDocument']
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
674
|
+
# CreateSAMLProvider返回参数结构体
|
675
|
+
class CreateSAMLProviderResponse < TencentCloud::Common::AbstractModel
|
676
|
+
# @param ProviderArn: SAML身份提供商资源描述符
|
677
|
+
# @type ProviderArn: String
|
678
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
679
|
+
# @type RequestId: String
|
680
|
+
|
681
|
+
attr_accessor :ProviderArn, :RequestId
|
682
|
+
|
683
|
+
def initialize(providerarn=nil, requestid=nil)
|
684
|
+
@ProviderArn = providerarn
|
685
|
+
@RequestId = requestid
|
686
|
+
end
|
687
|
+
|
688
|
+
def deserialize(params)
|
689
|
+
@ProviderArn = params['ProviderArn']
|
690
|
+
@RequestId = params['RequestId']
|
691
|
+
end
|
692
|
+
end
|
693
|
+
|
694
|
+
# CreateServiceLinkedRole请求参数结构体
|
695
|
+
class CreateServiceLinkedRoleRequest < TencentCloud::Common::AbstractModel
|
696
|
+
# @param QCSServiceName: 授权服务,附加了此角色的腾讯云服务主体。
|
697
|
+
# @type QCSServiceName: Array
|
698
|
+
# @param CustomSuffix: 自定义后缀,根据您提供的字符串,与服务提供的前缀组合在一起以形成完整的角色名称。
|
699
|
+
# @type CustomSuffix: String
|
700
|
+
# @param Description: 角色说明。
|
701
|
+
# @type Description: String
|
702
|
+
|
703
|
+
attr_accessor :QCSServiceName, :CustomSuffix, :Description
|
704
|
+
|
705
|
+
def initialize(qcsservicename=nil, customsuffix=nil, description=nil)
|
706
|
+
@QCSServiceName = qcsservicename
|
707
|
+
@CustomSuffix = customsuffix
|
708
|
+
@Description = description
|
709
|
+
end
|
710
|
+
|
711
|
+
def deserialize(params)
|
712
|
+
@QCSServiceName = params['QCSServiceName']
|
713
|
+
@CustomSuffix = params['CustomSuffix']
|
714
|
+
@Description = params['Description']
|
715
|
+
end
|
716
|
+
end
|
717
|
+
|
718
|
+
# CreateServiceLinkedRole返回参数结构体
|
719
|
+
class CreateServiceLinkedRoleResponse < TencentCloud::Common::AbstractModel
|
720
|
+
# @param RoleId: 角色ID
|
721
|
+
# @type RoleId: String
|
722
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
723
|
+
# @type RequestId: String
|
724
|
+
|
725
|
+
attr_accessor :RoleId, :RequestId
|
726
|
+
|
727
|
+
def initialize(roleid=nil, requestid=nil)
|
728
|
+
@RoleId = roleid
|
729
|
+
@RequestId = requestid
|
730
|
+
end
|
731
|
+
|
732
|
+
def deserialize(params)
|
733
|
+
@RoleId = params['RoleId']
|
734
|
+
@RequestId = params['RequestId']
|
735
|
+
end
|
736
|
+
end
|
737
|
+
|
738
|
+
# CreateUserSAMLConfig请求参数结构体
|
739
|
+
class CreateUserSAMLConfigRequest < TencentCloud::Common::AbstractModel
|
740
|
+
# @param SAMLMetadataDocument: SAML元数据文档,需要base64 encode
|
741
|
+
# @type SAMLMetadataDocument: String
|
742
|
+
|
743
|
+
attr_accessor :SAMLMetadataDocument
|
744
|
+
|
745
|
+
def initialize(samlmetadatadocument=nil)
|
746
|
+
@SAMLMetadataDocument = samlmetadatadocument
|
747
|
+
end
|
748
|
+
|
749
|
+
def deserialize(params)
|
750
|
+
@SAMLMetadataDocument = params['SAMLMetadataDocument']
|
751
|
+
end
|
752
|
+
end
|
753
|
+
|
754
|
+
# CreateUserSAMLConfig返回参数结构体
|
755
|
+
class CreateUserSAMLConfigResponse < TencentCloud::Common::AbstractModel
|
756
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
757
|
+
# @type RequestId: String
|
758
|
+
|
759
|
+
attr_accessor :RequestId
|
760
|
+
|
761
|
+
def initialize(requestid=nil)
|
762
|
+
@RequestId = requestid
|
763
|
+
end
|
764
|
+
|
765
|
+
def deserialize(params)
|
766
|
+
@RequestId = params['RequestId']
|
767
|
+
end
|
768
|
+
end
|
769
|
+
|
770
|
+
# DeleteGroup请求参数结构体
|
771
|
+
class DeleteGroupRequest < TencentCloud::Common::AbstractModel
|
772
|
+
# @param GroupId: 用户组 ID
|
773
|
+
# @type GroupId: Integer
|
774
|
+
|
775
|
+
attr_accessor :GroupId
|
776
|
+
|
777
|
+
def initialize(groupid=nil)
|
778
|
+
@GroupId = groupid
|
779
|
+
end
|
780
|
+
|
781
|
+
def deserialize(params)
|
782
|
+
@GroupId = params['GroupId']
|
783
|
+
end
|
784
|
+
end
|
785
|
+
|
786
|
+
# DeleteGroup返回参数结构体
|
787
|
+
class DeleteGroupResponse < TencentCloud::Common::AbstractModel
|
788
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
789
|
+
# @type RequestId: String
|
790
|
+
|
791
|
+
attr_accessor :RequestId
|
792
|
+
|
793
|
+
def initialize(requestid=nil)
|
794
|
+
@RequestId = requestid
|
795
|
+
end
|
796
|
+
|
797
|
+
def deserialize(params)
|
798
|
+
@RequestId = params['RequestId']
|
799
|
+
end
|
800
|
+
end
|
801
|
+
|
802
|
+
# DeletePolicy请求参数结构体
|
803
|
+
class DeletePolicyRequest < TencentCloud::Common::AbstractModel
|
804
|
+
# @param PolicyId: 数组,数组成员是策略 id,支持批量删除策略
|
805
|
+
# @type PolicyId: Array
|
806
|
+
|
807
|
+
attr_accessor :PolicyId
|
808
|
+
|
809
|
+
def initialize(policyid=nil)
|
810
|
+
@PolicyId = policyid
|
811
|
+
end
|
812
|
+
|
813
|
+
def deserialize(params)
|
814
|
+
@PolicyId = params['PolicyId']
|
815
|
+
end
|
816
|
+
end
|
817
|
+
|
818
|
+
# DeletePolicy返回参数结构体
|
819
|
+
class DeletePolicyResponse < TencentCloud::Common::AbstractModel
|
820
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
821
|
+
# @type RequestId: String
|
822
|
+
|
823
|
+
attr_accessor :RequestId
|
824
|
+
|
825
|
+
def initialize(requestid=nil)
|
826
|
+
@RequestId = requestid
|
827
|
+
end
|
828
|
+
|
829
|
+
def deserialize(params)
|
830
|
+
@RequestId = params['RequestId']
|
831
|
+
end
|
832
|
+
end
|
833
|
+
|
834
|
+
# DeletePolicyVersion请求参数结构体
|
835
|
+
class DeletePolicyVersionRequest < TencentCloud::Common::AbstractModel
|
836
|
+
# @param PolicyId: 策略ID
|
837
|
+
# @type PolicyId: Integer
|
838
|
+
# @param VersionId: 策略版本号
|
839
|
+
# @type VersionId: Array
|
840
|
+
|
841
|
+
attr_accessor :PolicyId, :VersionId
|
842
|
+
|
843
|
+
def initialize(policyid=nil, versionid=nil)
|
844
|
+
@PolicyId = policyid
|
845
|
+
@VersionId = versionid
|
846
|
+
end
|
847
|
+
|
848
|
+
def deserialize(params)
|
849
|
+
@PolicyId = params['PolicyId']
|
850
|
+
@VersionId = params['VersionId']
|
851
|
+
end
|
852
|
+
end
|
853
|
+
|
854
|
+
# DeletePolicyVersion返回参数结构体
|
855
|
+
class DeletePolicyVersionResponse < TencentCloud::Common::AbstractModel
|
856
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
857
|
+
# @type RequestId: String
|
858
|
+
|
859
|
+
attr_accessor :RequestId
|
860
|
+
|
861
|
+
def initialize(requestid=nil)
|
862
|
+
@RequestId = requestid
|
863
|
+
end
|
864
|
+
|
865
|
+
def deserialize(params)
|
866
|
+
@RequestId = params['RequestId']
|
867
|
+
end
|
868
|
+
end
|
869
|
+
|
870
|
+
# DeleteRolePermissionsBoundary请求参数结构体
|
871
|
+
class DeleteRolePermissionsBoundaryRequest < TencentCloud::Common::AbstractModel
|
872
|
+
# @param RoleId: 角色ID(与角色名至少填一个)
|
873
|
+
# @type RoleId: String
|
874
|
+
# @param RoleName: 角色名(与角色ID至少填一个)
|
875
|
+
# @type RoleName: String
|
876
|
+
|
877
|
+
attr_accessor :RoleId, :RoleName
|
878
|
+
|
879
|
+
def initialize(roleid=nil, rolename=nil)
|
880
|
+
@RoleId = roleid
|
881
|
+
@RoleName = rolename
|
882
|
+
end
|
883
|
+
|
884
|
+
def deserialize(params)
|
885
|
+
@RoleId = params['RoleId']
|
886
|
+
@RoleName = params['RoleName']
|
887
|
+
end
|
888
|
+
end
|
889
|
+
|
890
|
+
# DeleteRolePermissionsBoundary返回参数结构体
|
891
|
+
class DeleteRolePermissionsBoundaryResponse < TencentCloud::Common::AbstractModel
|
892
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
893
|
+
# @type RequestId: String
|
894
|
+
|
895
|
+
attr_accessor :RequestId
|
896
|
+
|
897
|
+
def initialize(requestid=nil)
|
898
|
+
@RequestId = requestid
|
899
|
+
end
|
900
|
+
|
901
|
+
def deserialize(params)
|
902
|
+
@RequestId = params['RequestId']
|
903
|
+
end
|
904
|
+
end
|
905
|
+
|
906
|
+
# DeleteRole请求参数结构体
|
907
|
+
class DeleteRoleRequest < TencentCloud::Common::AbstractModel
|
908
|
+
# @param RoleId: 角色ID,用于指定角色,入参 RoleId 与 RoleName 二选一
|
909
|
+
# @type RoleId: String
|
910
|
+
# @param RoleName: 角色名称,用于指定角色,入参 RoleId 与 RoleName 二选一
|
911
|
+
# @type RoleName: String
|
912
|
+
|
913
|
+
attr_accessor :RoleId, :RoleName
|
914
|
+
|
915
|
+
def initialize(roleid=nil, rolename=nil)
|
916
|
+
@RoleId = roleid
|
917
|
+
@RoleName = rolename
|
918
|
+
end
|
919
|
+
|
920
|
+
def deserialize(params)
|
921
|
+
@RoleId = params['RoleId']
|
922
|
+
@RoleName = params['RoleName']
|
923
|
+
end
|
924
|
+
end
|
925
|
+
|
926
|
+
# DeleteRole返回参数结构体
|
927
|
+
class DeleteRoleResponse < TencentCloud::Common::AbstractModel
|
928
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
929
|
+
# @type RequestId: String
|
930
|
+
|
931
|
+
attr_accessor :RequestId
|
932
|
+
|
933
|
+
def initialize(requestid=nil)
|
934
|
+
@RequestId = requestid
|
935
|
+
end
|
936
|
+
|
937
|
+
def deserialize(params)
|
938
|
+
@RequestId = params['RequestId']
|
939
|
+
end
|
940
|
+
end
|
941
|
+
|
942
|
+
# DeleteSAMLProvider请求参数结构体
|
943
|
+
class DeleteSAMLProviderRequest < TencentCloud::Common::AbstractModel
|
944
|
+
# @param Name: SAML身份提供商名称
|
945
|
+
# @type Name: String
|
946
|
+
|
947
|
+
attr_accessor :Name
|
948
|
+
|
949
|
+
def initialize(name=nil)
|
950
|
+
@Name = name
|
951
|
+
end
|
952
|
+
|
953
|
+
def deserialize(params)
|
954
|
+
@Name = params['Name']
|
955
|
+
end
|
956
|
+
end
|
957
|
+
|
958
|
+
# DeleteSAMLProvider返回参数结构体
|
959
|
+
class DeleteSAMLProviderResponse < TencentCloud::Common::AbstractModel
|
960
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
961
|
+
# @type RequestId: String
|
962
|
+
|
963
|
+
attr_accessor :RequestId
|
964
|
+
|
965
|
+
def initialize(requestid=nil)
|
966
|
+
@RequestId = requestid
|
967
|
+
end
|
968
|
+
|
969
|
+
def deserialize(params)
|
970
|
+
@RequestId = params['RequestId']
|
971
|
+
end
|
972
|
+
end
|
973
|
+
|
974
|
+
# DeleteServiceLinkedRole请求参数结构体
|
975
|
+
class DeleteServiceLinkedRoleRequest < TencentCloud::Common::AbstractModel
|
976
|
+
# @param RoleName: 要删除的服务相关角色的名称。
|
977
|
+
# @type RoleName: String
|
978
|
+
|
979
|
+
attr_accessor :RoleName
|
980
|
+
|
981
|
+
def initialize(rolename=nil)
|
982
|
+
@RoleName = rolename
|
983
|
+
end
|
984
|
+
|
985
|
+
def deserialize(params)
|
986
|
+
@RoleName = params['RoleName']
|
987
|
+
end
|
988
|
+
end
|
989
|
+
|
990
|
+
# DeleteServiceLinkedRole返回参数结构体
|
991
|
+
class DeleteServiceLinkedRoleResponse < TencentCloud::Common::AbstractModel
|
992
|
+
# @param DeletionTaskId: 删除任务ID,可用于检查删除服务相关角色状态。
|
993
|
+
# @type DeletionTaskId: String
|
994
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
995
|
+
# @type RequestId: String
|
996
|
+
|
997
|
+
attr_accessor :DeletionTaskId, :RequestId
|
998
|
+
|
999
|
+
def initialize(deletiontaskid=nil, requestid=nil)
|
1000
|
+
@DeletionTaskId = deletiontaskid
|
1001
|
+
@RequestId = requestid
|
1002
|
+
end
|
1003
|
+
|
1004
|
+
def deserialize(params)
|
1005
|
+
@DeletionTaskId = params['DeletionTaskId']
|
1006
|
+
@RequestId = params['RequestId']
|
1007
|
+
end
|
1008
|
+
end
|
1009
|
+
|
1010
|
+
# DeleteUserPermissionsBoundary请求参数结构体
|
1011
|
+
class DeleteUserPermissionsBoundaryRequest < TencentCloud::Common::AbstractModel
|
1012
|
+
# @param TargetUin: 子账号Uin
|
1013
|
+
# @type TargetUin: Integer
|
1014
|
+
|
1015
|
+
attr_accessor :TargetUin
|
1016
|
+
|
1017
|
+
def initialize(targetuin=nil)
|
1018
|
+
@TargetUin = targetuin
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
def deserialize(params)
|
1022
|
+
@TargetUin = params['TargetUin']
|
1023
|
+
end
|
1024
|
+
end
|
1025
|
+
|
1026
|
+
# DeleteUserPermissionsBoundary返回参数结构体
|
1027
|
+
class DeleteUserPermissionsBoundaryResponse < TencentCloud::Common::AbstractModel
|
1028
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1029
|
+
# @type RequestId: String
|
1030
|
+
|
1031
|
+
attr_accessor :RequestId
|
1032
|
+
|
1033
|
+
def initialize(requestid=nil)
|
1034
|
+
@RequestId = requestid
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
def deserialize(params)
|
1038
|
+
@RequestId = params['RequestId']
|
1039
|
+
end
|
1040
|
+
end
|
1041
|
+
|
1042
|
+
# DeleteUser请求参数结构体
|
1043
|
+
class DeleteUserRequest < TencentCloud::Common::AbstractModel
|
1044
|
+
# @param Name: 子用户用户名
|
1045
|
+
# @type Name: String
|
1046
|
+
# @param Force: 是否强制删除该子用户,默认入参为0。0:若该用户存在未删除API密钥,则不删除用户;1:若该用户存在未删除API密钥,则先删除密钥后删除用户。删除密钥需要您拥有cam:DeleteApiKey权限,您将可以删除该用户下启用或禁用状态的所有密钥,无权限则删除密钥和用户失败
|
1047
|
+
# @type Force: Integer
|
1048
|
+
|
1049
|
+
attr_accessor :Name, :Force
|
1050
|
+
|
1051
|
+
def initialize(name=nil, force=nil)
|
1052
|
+
@Name = name
|
1053
|
+
@Force = force
|
1054
|
+
end
|
1055
|
+
|
1056
|
+
def deserialize(params)
|
1057
|
+
@Name = params['Name']
|
1058
|
+
@Force = params['Force']
|
1059
|
+
end
|
1060
|
+
end
|
1061
|
+
|
1062
|
+
# DeleteUser返回参数结构体
|
1063
|
+
class DeleteUserResponse < TencentCloud::Common::AbstractModel
|
1064
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1065
|
+
# @type RequestId: String
|
1066
|
+
|
1067
|
+
attr_accessor :RequestId
|
1068
|
+
|
1069
|
+
def initialize(requestid=nil)
|
1070
|
+
@RequestId = requestid
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
def deserialize(params)
|
1074
|
+
@RequestId = params['RequestId']
|
1075
|
+
end
|
1076
|
+
end
|
1077
|
+
|
1078
|
+
# DescribeRoleList请求参数结构体
|
1079
|
+
class DescribeRoleListRequest < TencentCloud::Common::AbstractModel
|
1080
|
+
# @param Page: 页码,从1开始
|
1081
|
+
# @type Page: Integer
|
1082
|
+
# @param Rp: 每页行数,不能大于200
|
1083
|
+
# @type Rp: Integer
|
1084
|
+
|
1085
|
+
attr_accessor :Page, :Rp
|
1086
|
+
|
1087
|
+
def initialize(page=nil, rp=nil)
|
1088
|
+
@Page = page
|
1089
|
+
@Rp = rp
|
1090
|
+
end
|
1091
|
+
|
1092
|
+
def deserialize(params)
|
1093
|
+
@Page = params['Page']
|
1094
|
+
@Rp = params['Rp']
|
1095
|
+
end
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
# DescribeRoleList返回参数结构体
|
1099
|
+
class DescribeRoleListResponse < TencentCloud::Common::AbstractModel
|
1100
|
+
# @param List: 角色详情列表。
|
1101
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1102
|
+
# @type List: Array
|
1103
|
+
# @param TotalNum: 角色总数
|
1104
|
+
# @type TotalNum: Integer
|
1105
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1106
|
+
# @type RequestId: String
|
1107
|
+
|
1108
|
+
attr_accessor :List, :TotalNum, :RequestId
|
1109
|
+
|
1110
|
+
def initialize(list=nil, totalnum=nil, requestid=nil)
|
1111
|
+
@List = list
|
1112
|
+
@TotalNum = totalnum
|
1113
|
+
@RequestId = requestid
|
1114
|
+
end
|
1115
|
+
|
1116
|
+
def deserialize(params)
|
1117
|
+
unless params['List'].nil?
|
1118
|
+
@List = []
|
1119
|
+
params['List'].each do |i|
|
1120
|
+
roleinfo_tmp = RoleInfo.new
|
1121
|
+
roleinfo_tmp.deserialize(i)
|
1122
|
+
@List << roleinfo_tmp
|
1123
|
+
end
|
1124
|
+
end
|
1125
|
+
@TotalNum = params['TotalNum']
|
1126
|
+
@RequestId = params['RequestId']
|
1127
|
+
end
|
1128
|
+
end
|
1129
|
+
|
1130
|
+
# DescribeSafeAuthFlagColl请求参数结构体
|
1131
|
+
class DescribeSafeAuthFlagCollRequest < TencentCloud::Common::AbstractModel
|
1132
|
+
# @param SubUin: 子账号
|
1133
|
+
# @type SubUin: Integer
|
1134
|
+
|
1135
|
+
attr_accessor :SubUin
|
1136
|
+
|
1137
|
+
def initialize(subuin=nil)
|
1138
|
+
@SubUin = subuin
|
1139
|
+
end
|
1140
|
+
|
1141
|
+
def deserialize(params)
|
1142
|
+
@SubUin = params['SubUin']
|
1143
|
+
end
|
1144
|
+
end
|
1145
|
+
|
1146
|
+
# DescribeSafeAuthFlagColl返回参数结构体
|
1147
|
+
class DescribeSafeAuthFlagCollResponse < TencentCloud::Common::AbstractModel
|
1148
|
+
# @param LoginFlag: 登录保护设置
|
1149
|
+
# @type LoginFlag: :class:`Tencentcloud::Cam.v20190116.models.LoginActionFlag`
|
1150
|
+
# @param ActionFlag: 敏感操作保护设置
|
1151
|
+
# @type ActionFlag: :class:`Tencentcloud::Cam.v20190116.models.LoginActionFlag`
|
1152
|
+
# @param OffsiteFlag: 异地登录保护设置
|
1153
|
+
# @type OffsiteFlag: :class:`Tencentcloud::Cam.v20190116.models.OffsiteFlag`
|
1154
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1155
|
+
# @type RequestId: String
|
1156
|
+
|
1157
|
+
attr_accessor :LoginFlag, :ActionFlag, :OffsiteFlag, :RequestId
|
1158
|
+
|
1159
|
+
def initialize(loginflag=nil, actionflag=nil, offsiteflag=nil, requestid=nil)
|
1160
|
+
@LoginFlag = loginflag
|
1161
|
+
@ActionFlag = actionflag
|
1162
|
+
@OffsiteFlag = offsiteflag
|
1163
|
+
@RequestId = requestid
|
1164
|
+
end
|
1165
|
+
|
1166
|
+
def deserialize(params)
|
1167
|
+
unless params['LoginFlag'].nil?
|
1168
|
+
@LoginFlag = LoginActionFlag.new
|
1169
|
+
@LoginFlag.deserialize(params['LoginFlag'])
|
1170
|
+
end
|
1171
|
+
unless params['ActionFlag'].nil?
|
1172
|
+
@ActionFlag = LoginActionFlag.new
|
1173
|
+
@ActionFlag.deserialize(params['ActionFlag'])
|
1174
|
+
end
|
1175
|
+
unless params['OffsiteFlag'].nil?
|
1176
|
+
@OffsiteFlag = OffsiteFlag.new
|
1177
|
+
@OffsiteFlag.deserialize(params['OffsiteFlag'])
|
1178
|
+
end
|
1179
|
+
@RequestId = params['RequestId']
|
1180
|
+
end
|
1181
|
+
end
|
1182
|
+
|
1183
|
+
# DescribeSafeAuthFlagIntl请求参数结构体
|
1184
|
+
class DescribeSafeAuthFlagIntlRequest < TencentCloud::Common::AbstractModel
|
1185
|
+
|
1186
|
+
|
1187
|
+
def initialize()
|
1188
|
+
end
|
1189
|
+
|
1190
|
+
def deserialize(params)
|
1191
|
+
end
|
1192
|
+
end
|
1193
|
+
|
1194
|
+
# DescribeSafeAuthFlagIntl返回参数结构体
|
1195
|
+
class DescribeSafeAuthFlagIntlResponse < TencentCloud::Common::AbstractModel
|
1196
|
+
# @param LoginFlag: 登录保护设置
|
1197
|
+
# @type LoginFlag: :class:`Tencentcloud::Cam.v20190116.models.LoginActionFlagIntl`
|
1198
|
+
# @param ActionFlag: 敏感操作保护设置
|
1199
|
+
# @type ActionFlag: :class:`Tencentcloud::Cam.v20190116.models.LoginActionFlagIntl`
|
1200
|
+
# @param OffsiteFlag: 异地登录保护设置
|
1201
|
+
# @type OffsiteFlag: :class:`Tencentcloud::Cam.v20190116.models.OffsiteFlag`
|
1202
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1203
|
+
# @type RequestId: String
|
1204
|
+
|
1205
|
+
attr_accessor :LoginFlag, :ActionFlag, :OffsiteFlag, :RequestId
|
1206
|
+
|
1207
|
+
def initialize(loginflag=nil, actionflag=nil, offsiteflag=nil, requestid=nil)
|
1208
|
+
@LoginFlag = loginflag
|
1209
|
+
@ActionFlag = actionflag
|
1210
|
+
@OffsiteFlag = offsiteflag
|
1211
|
+
@RequestId = requestid
|
1212
|
+
end
|
1213
|
+
|
1214
|
+
def deserialize(params)
|
1215
|
+
unless params['LoginFlag'].nil?
|
1216
|
+
@LoginFlag = LoginActionFlagIntl.new
|
1217
|
+
@LoginFlag.deserialize(params['LoginFlag'])
|
1218
|
+
end
|
1219
|
+
unless params['ActionFlag'].nil?
|
1220
|
+
@ActionFlag = LoginActionFlagIntl.new
|
1221
|
+
@ActionFlag.deserialize(params['ActionFlag'])
|
1222
|
+
end
|
1223
|
+
unless params['OffsiteFlag'].nil?
|
1224
|
+
@OffsiteFlag = OffsiteFlag.new
|
1225
|
+
@OffsiteFlag.deserialize(params['OffsiteFlag'])
|
1226
|
+
end
|
1227
|
+
@RequestId = params['RequestId']
|
1228
|
+
end
|
1229
|
+
end
|
1230
|
+
|
1231
|
+
# DescribeSafeAuthFlag请求参数结构体
|
1232
|
+
class DescribeSafeAuthFlagRequest < TencentCloud::Common::AbstractModel
|
1233
|
+
|
1234
|
+
|
1235
|
+
def initialize()
|
1236
|
+
end
|
1237
|
+
|
1238
|
+
def deserialize(params)
|
1239
|
+
end
|
1240
|
+
end
|
1241
|
+
|
1242
|
+
# DescribeSafeAuthFlag返回参数结构体
|
1243
|
+
class DescribeSafeAuthFlagResponse < TencentCloud::Common::AbstractModel
|
1244
|
+
# @param LoginFlag: 登录保护设置
|
1245
|
+
# @type LoginFlag: :class:`Tencentcloud::Cam.v20190116.models.LoginActionFlag`
|
1246
|
+
# @param ActionFlag: 敏感操作保护设置
|
1247
|
+
# @type ActionFlag: :class:`Tencentcloud::Cam.v20190116.models.LoginActionFlag`
|
1248
|
+
# @param OffsiteFlag: 异地登录保护设置
|
1249
|
+
# @type OffsiteFlag: :class:`Tencentcloud::Cam.v20190116.models.OffsiteFlag`
|
1250
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1251
|
+
# @type RequestId: String
|
1252
|
+
|
1253
|
+
attr_accessor :LoginFlag, :ActionFlag, :OffsiteFlag, :RequestId
|
1254
|
+
|
1255
|
+
def initialize(loginflag=nil, actionflag=nil, offsiteflag=nil, requestid=nil)
|
1256
|
+
@LoginFlag = loginflag
|
1257
|
+
@ActionFlag = actionflag
|
1258
|
+
@OffsiteFlag = offsiteflag
|
1259
|
+
@RequestId = requestid
|
1260
|
+
end
|
1261
|
+
|
1262
|
+
def deserialize(params)
|
1263
|
+
unless params['LoginFlag'].nil?
|
1264
|
+
@LoginFlag = LoginActionFlag.new
|
1265
|
+
@LoginFlag.deserialize(params['LoginFlag'])
|
1266
|
+
end
|
1267
|
+
unless params['ActionFlag'].nil?
|
1268
|
+
@ActionFlag = LoginActionFlag.new
|
1269
|
+
@ActionFlag.deserialize(params['ActionFlag'])
|
1270
|
+
end
|
1271
|
+
unless params['OffsiteFlag'].nil?
|
1272
|
+
@OffsiteFlag = OffsiteFlag.new
|
1273
|
+
@OffsiteFlag.deserialize(params['OffsiteFlag'])
|
1274
|
+
end
|
1275
|
+
@RequestId = params['RequestId']
|
1276
|
+
end
|
1277
|
+
end
|
1278
|
+
|
1279
|
+
# DescribeSubAccounts请求参数结构体
|
1280
|
+
class DescribeSubAccountsRequest < TencentCloud::Common::AbstractModel
|
1281
|
+
# @param FilterSubAccountUin: 子用户UIN列表,最多支持50个UIN
|
1282
|
+
# @type FilterSubAccountUin: Array
|
1283
|
+
|
1284
|
+
attr_accessor :FilterSubAccountUin
|
1285
|
+
|
1286
|
+
def initialize(filtersubaccountuin=nil)
|
1287
|
+
@FilterSubAccountUin = filtersubaccountuin
|
1288
|
+
end
|
1289
|
+
|
1290
|
+
def deserialize(params)
|
1291
|
+
@FilterSubAccountUin = params['FilterSubAccountUin']
|
1292
|
+
end
|
1293
|
+
end
|
1294
|
+
|
1295
|
+
# DescribeSubAccounts返回参数结构体
|
1296
|
+
class DescribeSubAccountsResponse < TencentCloud::Common::AbstractModel
|
1297
|
+
# @param SubAccounts: 子用户列表
|
1298
|
+
# @type SubAccounts: Array
|
1299
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1300
|
+
# @type RequestId: String
|
1301
|
+
|
1302
|
+
attr_accessor :SubAccounts, :RequestId
|
1303
|
+
|
1304
|
+
def initialize(subaccounts=nil, requestid=nil)
|
1305
|
+
@SubAccounts = subaccounts
|
1306
|
+
@RequestId = requestid
|
1307
|
+
end
|
1308
|
+
|
1309
|
+
def deserialize(params)
|
1310
|
+
unless params['SubAccounts'].nil?
|
1311
|
+
@SubAccounts = []
|
1312
|
+
params['SubAccounts'].each do |i|
|
1313
|
+
subaccountuser_tmp = SubAccountUser.new
|
1314
|
+
subaccountuser_tmp.deserialize(i)
|
1315
|
+
@SubAccounts << subaccountuser_tmp
|
1316
|
+
end
|
1317
|
+
end
|
1318
|
+
@RequestId = params['RequestId']
|
1319
|
+
end
|
1320
|
+
end
|
1321
|
+
|
1322
|
+
# DescribeUserSAMLConfig请求参数结构体
|
1323
|
+
class DescribeUserSAMLConfigRequest < TencentCloud::Common::AbstractModel
|
1324
|
+
|
1325
|
+
|
1326
|
+
def initialize()
|
1327
|
+
end
|
1328
|
+
|
1329
|
+
def deserialize(params)
|
1330
|
+
end
|
1331
|
+
end
|
1332
|
+
|
1333
|
+
# DescribeUserSAMLConfig返回参数结构体
|
1334
|
+
class DescribeUserSAMLConfigResponse < TencentCloud::Common::AbstractModel
|
1335
|
+
# @param SAMLMetadata: SAML元数据文档
|
1336
|
+
# @type SAMLMetadata: String
|
1337
|
+
# @param Status: 状态:0:未设置,11:已开启,2:已禁用
|
1338
|
+
# @type Status: Integer
|
1339
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1340
|
+
# @type RequestId: String
|
1341
|
+
|
1342
|
+
attr_accessor :SAMLMetadata, :Status, :RequestId
|
1343
|
+
|
1344
|
+
def initialize(samlmetadata=nil, status=nil, requestid=nil)
|
1345
|
+
@SAMLMetadata = samlmetadata
|
1346
|
+
@Status = status
|
1347
|
+
@RequestId = requestid
|
1348
|
+
end
|
1349
|
+
|
1350
|
+
def deserialize(params)
|
1351
|
+
@SAMLMetadata = params['SAMLMetadata']
|
1352
|
+
@Status = params['Status']
|
1353
|
+
@RequestId = params['RequestId']
|
1354
|
+
end
|
1355
|
+
end
|
1356
|
+
|
1357
|
+
# DetachGroupPolicy请求参数结构体
|
1358
|
+
class DetachGroupPolicyRequest < TencentCloud::Common::AbstractModel
|
1359
|
+
# @param PolicyId: 策略 id
|
1360
|
+
# @type PolicyId: Integer
|
1361
|
+
# @param DetachGroupId: 用户组 id
|
1362
|
+
# @type DetachGroupId: Integer
|
1363
|
+
|
1364
|
+
attr_accessor :PolicyId, :DetachGroupId
|
1365
|
+
|
1366
|
+
def initialize(policyid=nil, detachgroupid=nil)
|
1367
|
+
@PolicyId = policyid
|
1368
|
+
@DetachGroupId = detachgroupid
|
1369
|
+
end
|
1370
|
+
|
1371
|
+
def deserialize(params)
|
1372
|
+
@PolicyId = params['PolicyId']
|
1373
|
+
@DetachGroupId = params['DetachGroupId']
|
1374
|
+
end
|
1375
|
+
end
|
1376
|
+
|
1377
|
+
# DetachGroupPolicy返回参数结构体
|
1378
|
+
class DetachGroupPolicyResponse < TencentCloud::Common::AbstractModel
|
1379
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1380
|
+
# @type RequestId: String
|
1381
|
+
|
1382
|
+
attr_accessor :RequestId
|
1383
|
+
|
1384
|
+
def initialize(requestid=nil)
|
1385
|
+
@RequestId = requestid
|
1386
|
+
end
|
1387
|
+
|
1388
|
+
def deserialize(params)
|
1389
|
+
@RequestId = params['RequestId']
|
1390
|
+
end
|
1391
|
+
end
|
1392
|
+
|
1393
|
+
# DetachRolePolicy请求参数结构体
|
1394
|
+
class DetachRolePolicyRequest < TencentCloud::Common::AbstractModel
|
1395
|
+
# @param PolicyId: 策略ID,入参PolicyId与PolicyName二选一
|
1396
|
+
# @type PolicyId: Integer
|
1397
|
+
# @param DetachRoleId: 角色ID,用于指定角色,入参 AttachRoleId 与 AttachRoleName 二选一
|
1398
|
+
# @type DetachRoleId: String
|
1399
|
+
# @param DetachRoleName: 角色名称,用于指定角色,入参 AttachRoleId 与 AttachRoleName 二选一
|
1400
|
+
# @type DetachRoleName: String
|
1401
|
+
# @param PolicyName: 策略名,入参PolicyId与PolicyName二选一
|
1402
|
+
# @type PolicyName: String
|
1403
|
+
|
1404
|
+
attr_accessor :PolicyId, :DetachRoleId, :DetachRoleName, :PolicyName
|
1405
|
+
|
1406
|
+
def initialize(policyid=nil, detachroleid=nil, detachrolename=nil, policyname=nil)
|
1407
|
+
@PolicyId = policyid
|
1408
|
+
@DetachRoleId = detachroleid
|
1409
|
+
@DetachRoleName = detachrolename
|
1410
|
+
@PolicyName = policyname
|
1411
|
+
end
|
1412
|
+
|
1413
|
+
def deserialize(params)
|
1414
|
+
@PolicyId = params['PolicyId']
|
1415
|
+
@DetachRoleId = params['DetachRoleId']
|
1416
|
+
@DetachRoleName = params['DetachRoleName']
|
1417
|
+
@PolicyName = params['PolicyName']
|
1418
|
+
end
|
1419
|
+
end
|
1420
|
+
|
1421
|
+
# DetachRolePolicy返回参数结构体
|
1422
|
+
class DetachRolePolicyResponse < TencentCloud::Common::AbstractModel
|
1423
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1424
|
+
# @type RequestId: String
|
1425
|
+
|
1426
|
+
attr_accessor :RequestId
|
1427
|
+
|
1428
|
+
def initialize(requestid=nil)
|
1429
|
+
@RequestId = requestid
|
1430
|
+
end
|
1431
|
+
|
1432
|
+
def deserialize(params)
|
1433
|
+
@RequestId = params['RequestId']
|
1434
|
+
end
|
1435
|
+
end
|
1436
|
+
|
1437
|
+
# DetachUserPolicy请求参数结构体
|
1438
|
+
class DetachUserPolicyRequest < TencentCloud::Common::AbstractModel
|
1439
|
+
# @param PolicyId: 策略 id
|
1440
|
+
# @type PolicyId: Integer
|
1441
|
+
# @param DetachUin: 子账号 uin
|
1442
|
+
# @type DetachUin: Integer
|
1443
|
+
|
1444
|
+
attr_accessor :PolicyId, :DetachUin
|
1445
|
+
|
1446
|
+
def initialize(policyid=nil, detachuin=nil)
|
1447
|
+
@PolicyId = policyid
|
1448
|
+
@DetachUin = detachuin
|
1449
|
+
end
|
1450
|
+
|
1451
|
+
def deserialize(params)
|
1452
|
+
@PolicyId = params['PolicyId']
|
1453
|
+
@DetachUin = params['DetachUin']
|
1454
|
+
end
|
1455
|
+
end
|
1456
|
+
|
1457
|
+
# DetachUserPolicy返回参数结构体
|
1458
|
+
class DetachUserPolicyResponse < TencentCloud::Common::AbstractModel
|
1459
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1460
|
+
# @type RequestId: String
|
1461
|
+
|
1462
|
+
attr_accessor :RequestId
|
1463
|
+
|
1464
|
+
def initialize(requestid=nil)
|
1465
|
+
@RequestId = requestid
|
1466
|
+
end
|
1467
|
+
|
1468
|
+
def deserialize(params)
|
1469
|
+
@RequestId = params['RequestId']
|
1470
|
+
end
|
1471
|
+
end
|
1472
|
+
|
1473
|
+
# GetAccountSummary请求参数结构体
|
1474
|
+
class GetAccountSummaryRequest < TencentCloud::Common::AbstractModel
|
1475
|
+
|
1476
|
+
|
1477
|
+
def initialize()
|
1478
|
+
end
|
1479
|
+
|
1480
|
+
def deserialize(params)
|
1481
|
+
end
|
1482
|
+
end
|
1483
|
+
|
1484
|
+
# GetAccountSummary返回参数结构体
|
1485
|
+
class GetAccountSummaryResponse < TencentCloud::Common::AbstractModel
|
1486
|
+
# @param Policies: 策略数
|
1487
|
+
# @type Policies: Integer
|
1488
|
+
# @param Roles: 角色数
|
1489
|
+
# @type Roles: Integer
|
1490
|
+
# @param Idps: 身份提供商数
|
1491
|
+
# @type Idps: Integer
|
1492
|
+
# @param User: 子账户数
|
1493
|
+
# @type User: Integer
|
1494
|
+
# @param Group: 分组数
|
1495
|
+
# @type Group: Integer
|
1496
|
+
# @param Member: 分组用户总数
|
1497
|
+
# @type Member: Integer
|
1498
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1499
|
+
# @type RequestId: String
|
1500
|
+
|
1501
|
+
attr_accessor :Policies, :Roles, :Idps, :User, :Group, :Member, :RequestId
|
1502
|
+
|
1503
|
+
def initialize(policies=nil, roles=nil, idps=nil, user=nil, group=nil, member=nil, requestid=nil)
|
1504
|
+
@Policies = policies
|
1505
|
+
@Roles = roles
|
1506
|
+
@Idps = idps
|
1507
|
+
@User = user
|
1508
|
+
@Group = group
|
1509
|
+
@Member = member
|
1510
|
+
@RequestId = requestid
|
1511
|
+
end
|
1512
|
+
|
1513
|
+
def deserialize(params)
|
1514
|
+
@Policies = params['Policies']
|
1515
|
+
@Roles = params['Roles']
|
1516
|
+
@Idps = params['Idps']
|
1517
|
+
@User = params['User']
|
1518
|
+
@Group = params['Group']
|
1519
|
+
@Member = params['Member']
|
1520
|
+
@RequestId = params['RequestId']
|
1521
|
+
end
|
1522
|
+
end
|
1523
|
+
|
1524
|
+
# GetCustomMFATokenInfo请求参数结构体
|
1525
|
+
class GetCustomMFATokenInfoRequest < TencentCloud::Common::AbstractModel
|
1526
|
+
# @param MFAToken: 自定义多因子验证Token
|
1527
|
+
# @type MFAToken: String
|
1528
|
+
|
1529
|
+
attr_accessor :MFAToken
|
1530
|
+
|
1531
|
+
def initialize(mfatoken=nil)
|
1532
|
+
@MFAToken = mfatoken
|
1533
|
+
end
|
1534
|
+
|
1535
|
+
def deserialize(params)
|
1536
|
+
@MFAToken = params['MFAToken']
|
1537
|
+
end
|
1538
|
+
end
|
1539
|
+
|
1540
|
+
# GetCustomMFATokenInfo返回参数结构体
|
1541
|
+
class GetCustomMFATokenInfoResponse < TencentCloud::Common::AbstractModel
|
1542
|
+
# @param Uin: 自定义多因子验证Token对应的帐号Id
|
1543
|
+
# @type Uin: Integer
|
1544
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1545
|
+
# @type RequestId: String
|
1546
|
+
|
1547
|
+
attr_accessor :Uin, :RequestId
|
1548
|
+
|
1549
|
+
def initialize(uin=nil, requestid=nil)
|
1550
|
+
@Uin = uin
|
1551
|
+
@RequestId = requestid
|
1552
|
+
end
|
1553
|
+
|
1554
|
+
def deserialize(params)
|
1555
|
+
@Uin = params['Uin']
|
1556
|
+
@RequestId = params['RequestId']
|
1557
|
+
end
|
1558
|
+
end
|
1559
|
+
|
1560
|
+
# GetGroup请求参数结构体
|
1561
|
+
class GetGroupRequest < TencentCloud::Common::AbstractModel
|
1562
|
+
# @param GroupId: 用户组 ID
|
1563
|
+
# @type GroupId: Integer
|
1564
|
+
|
1565
|
+
attr_accessor :GroupId
|
1566
|
+
|
1567
|
+
def initialize(groupid=nil)
|
1568
|
+
@GroupId = groupid
|
1569
|
+
end
|
1570
|
+
|
1571
|
+
def deserialize(params)
|
1572
|
+
@GroupId = params['GroupId']
|
1573
|
+
end
|
1574
|
+
end
|
1575
|
+
|
1576
|
+
# GetGroup返回参数结构体
|
1577
|
+
class GetGroupResponse < TencentCloud::Common::AbstractModel
|
1578
|
+
# @param GroupId: 用户组 ID
|
1579
|
+
# @type GroupId: Integer
|
1580
|
+
# @param GroupName: 用户组名称
|
1581
|
+
# @type GroupName: String
|
1582
|
+
# @param GroupNum: 用户组成员数量
|
1583
|
+
# @type GroupNum: Integer
|
1584
|
+
# @param Remark: 用户组描述
|
1585
|
+
# @type Remark: String
|
1586
|
+
# @param CreateTime: 用户组创建时间
|
1587
|
+
# @type CreateTime: String
|
1588
|
+
# @param UserInfo: 用户组成员信息
|
1589
|
+
# @type UserInfo: Array
|
1590
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1591
|
+
# @type RequestId: String
|
1592
|
+
|
1593
|
+
attr_accessor :GroupId, :GroupName, :GroupNum, :Remark, :CreateTime, :UserInfo, :RequestId
|
1594
|
+
|
1595
|
+
def initialize(groupid=nil, groupname=nil, groupnum=nil, remark=nil, createtime=nil, userinfo=nil, requestid=nil)
|
1596
|
+
@GroupId = groupid
|
1597
|
+
@GroupName = groupname
|
1598
|
+
@GroupNum = groupnum
|
1599
|
+
@Remark = remark
|
1600
|
+
@CreateTime = createtime
|
1601
|
+
@UserInfo = userinfo
|
1602
|
+
@RequestId = requestid
|
1603
|
+
end
|
1604
|
+
|
1605
|
+
def deserialize(params)
|
1606
|
+
@GroupId = params['GroupId']
|
1607
|
+
@GroupName = params['GroupName']
|
1608
|
+
@GroupNum = params['GroupNum']
|
1609
|
+
@Remark = params['Remark']
|
1610
|
+
@CreateTime = params['CreateTime']
|
1611
|
+
unless params['UserInfo'].nil?
|
1612
|
+
@UserInfo = []
|
1613
|
+
params['UserInfo'].each do |i|
|
1614
|
+
groupmemberinfo_tmp = GroupMemberInfo.new
|
1615
|
+
groupmemberinfo_tmp.deserialize(i)
|
1616
|
+
@UserInfo << groupmemberinfo_tmp
|
1617
|
+
end
|
1618
|
+
end
|
1619
|
+
@RequestId = params['RequestId']
|
1620
|
+
end
|
1621
|
+
end
|
1622
|
+
|
1623
|
+
# GetPolicy请求参数结构体
|
1624
|
+
class GetPolicyRequest < TencentCloud::Common::AbstractModel
|
1625
|
+
# @param PolicyId: 策略Id
|
1626
|
+
# @type PolicyId: Integer
|
1627
|
+
|
1628
|
+
attr_accessor :PolicyId
|
1629
|
+
|
1630
|
+
def initialize(policyid=nil)
|
1631
|
+
@PolicyId = policyid
|
1632
|
+
end
|
1633
|
+
|
1634
|
+
def deserialize(params)
|
1635
|
+
@PolicyId = params['PolicyId']
|
1636
|
+
end
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
# GetPolicy返回参数结构体
|
1640
|
+
class GetPolicyResponse < TencentCloud::Common::AbstractModel
|
1641
|
+
# @param PolicyName: 策略名
|
1642
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1643
|
+
# @type PolicyName: String
|
1644
|
+
# @param Description: 策略描述
|
1645
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1646
|
+
# @type Description: String
|
1647
|
+
# @param Type: 1 表示自定义策略,2 表示预设策略
|
1648
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1649
|
+
# @type Type: Integer
|
1650
|
+
# @param AddTime: 创建时间
|
1651
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1652
|
+
# @type AddTime: String
|
1653
|
+
# @param UpdateTime: 最近更新时间
|
1654
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1655
|
+
# @type UpdateTime: String
|
1656
|
+
# @param PolicyDocument: 策略文档
|
1657
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1658
|
+
# @type PolicyDocument: String
|
1659
|
+
# @param PresetAlias: 备注
|
1660
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1661
|
+
# @type PresetAlias: String
|
1662
|
+
# @param IsServiceLinkedRolePolicy: 是否服务相关策略
|
1663
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1664
|
+
# @type IsServiceLinkedRolePolicy: Integer
|
1665
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1666
|
+
# @type RequestId: String
|
1667
|
+
|
1668
|
+
attr_accessor :PolicyName, :Description, :Type, :AddTime, :UpdateTime, :PolicyDocument, :PresetAlias, :IsServiceLinkedRolePolicy, :RequestId
|
1669
|
+
|
1670
|
+
def initialize(policyname=nil, description=nil, type=nil, addtime=nil, updatetime=nil, policydocument=nil, presetalias=nil, isservicelinkedrolepolicy=nil, requestid=nil)
|
1671
|
+
@PolicyName = policyname
|
1672
|
+
@Description = description
|
1673
|
+
@Type = type
|
1674
|
+
@AddTime = addtime
|
1675
|
+
@UpdateTime = updatetime
|
1676
|
+
@PolicyDocument = policydocument
|
1677
|
+
@PresetAlias = presetalias
|
1678
|
+
@IsServiceLinkedRolePolicy = isservicelinkedrolepolicy
|
1679
|
+
@RequestId = requestid
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
def deserialize(params)
|
1683
|
+
@PolicyName = params['PolicyName']
|
1684
|
+
@Description = params['Description']
|
1685
|
+
@Type = params['Type']
|
1686
|
+
@AddTime = params['AddTime']
|
1687
|
+
@UpdateTime = params['UpdateTime']
|
1688
|
+
@PolicyDocument = params['PolicyDocument']
|
1689
|
+
@PresetAlias = params['PresetAlias']
|
1690
|
+
@IsServiceLinkedRolePolicy = params['IsServiceLinkedRolePolicy']
|
1691
|
+
@RequestId = params['RequestId']
|
1692
|
+
end
|
1693
|
+
end
|
1694
|
+
|
1695
|
+
# GetPolicyVersion请求参数结构体
|
1696
|
+
class GetPolicyVersionRequest < TencentCloud::Common::AbstractModel
|
1697
|
+
# @param PolicyId: 策略ID
|
1698
|
+
# @type PolicyId: Integer
|
1699
|
+
# @param VersionId: 策略版本号
|
1700
|
+
# @type VersionId: Integer
|
1701
|
+
|
1702
|
+
attr_accessor :PolicyId, :VersionId
|
1703
|
+
|
1704
|
+
def initialize(policyid=nil, versionid=nil)
|
1705
|
+
@PolicyId = policyid
|
1706
|
+
@VersionId = versionid
|
1707
|
+
end
|
1708
|
+
|
1709
|
+
def deserialize(params)
|
1710
|
+
@PolicyId = params['PolicyId']
|
1711
|
+
@VersionId = params['VersionId']
|
1712
|
+
end
|
1713
|
+
end
|
1714
|
+
|
1715
|
+
# GetPolicyVersion返回参数结构体
|
1716
|
+
class GetPolicyVersionResponse < TencentCloud::Common::AbstractModel
|
1717
|
+
# @param PolicyVersion: 策略版本详情
|
1718
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1719
|
+
# @type PolicyVersion: :class:`Tencentcloud::Cam.v20190116.models.PolicyVersionDetail`
|
1720
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1721
|
+
# @type RequestId: String
|
1722
|
+
|
1723
|
+
attr_accessor :PolicyVersion, :RequestId
|
1724
|
+
|
1725
|
+
def initialize(policyversion=nil, requestid=nil)
|
1726
|
+
@PolicyVersion = policyversion
|
1727
|
+
@RequestId = requestid
|
1728
|
+
end
|
1729
|
+
|
1730
|
+
def deserialize(params)
|
1731
|
+
unless params['PolicyVersion'].nil?
|
1732
|
+
@PolicyVersion = PolicyVersionDetail.new
|
1733
|
+
@PolicyVersion.deserialize(params['PolicyVersion'])
|
1734
|
+
end
|
1735
|
+
@RequestId = params['RequestId']
|
1736
|
+
end
|
1737
|
+
end
|
1738
|
+
|
1739
|
+
# GetRole请求参数结构体
|
1740
|
+
class GetRoleRequest < TencentCloud::Common::AbstractModel
|
1741
|
+
# @param RoleId: 角色 ID,用于指定角色,入参 RoleId 与 RoleName 二选一
|
1742
|
+
# @type RoleId: String
|
1743
|
+
# @param RoleName: 角色名,用于指定角色,入参 RoleId 与 RoleName 二选一
|
1744
|
+
# @type RoleName: String
|
1745
|
+
|
1746
|
+
attr_accessor :RoleId, :RoleName
|
1747
|
+
|
1748
|
+
def initialize(roleid=nil, rolename=nil)
|
1749
|
+
@RoleId = roleid
|
1750
|
+
@RoleName = rolename
|
1751
|
+
end
|
1752
|
+
|
1753
|
+
def deserialize(params)
|
1754
|
+
@RoleId = params['RoleId']
|
1755
|
+
@RoleName = params['RoleName']
|
1756
|
+
end
|
1757
|
+
end
|
1758
|
+
|
1759
|
+
# GetRole返回参数结构体
|
1760
|
+
class GetRoleResponse < TencentCloud::Common::AbstractModel
|
1761
|
+
# @param RoleInfo: 角色详情
|
1762
|
+
# @type RoleInfo: :class:`Tencentcloud::Cam.v20190116.models.RoleInfo`
|
1763
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1764
|
+
# @type RequestId: String
|
1765
|
+
|
1766
|
+
attr_accessor :RoleInfo, :RequestId
|
1767
|
+
|
1768
|
+
def initialize(roleinfo=nil, requestid=nil)
|
1769
|
+
@RoleInfo = roleinfo
|
1770
|
+
@RequestId = requestid
|
1771
|
+
end
|
1772
|
+
|
1773
|
+
def deserialize(params)
|
1774
|
+
unless params['RoleInfo'].nil?
|
1775
|
+
@RoleInfo = RoleInfo.new
|
1776
|
+
@RoleInfo.deserialize(params['RoleInfo'])
|
1777
|
+
end
|
1778
|
+
@RequestId = params['RequestId']
|
1779
|
+
end
|
1780
|
+
end
|
1781
|
+
|
1782
|
+
# GetSAMLProvider请求参数结构体
|
1783
|
+
class GetSAMLProviderRequest < TencentCloud::Common::AbstractModel
|
1784
|
+
# @param Name: SAML身份提供商名称
|
1785
|
+
# @type Name: String
|
1786
|
+
|
1787
|
+
attr_accessor :Name
|
1788
|
+
|
1789
|
+
def initialize(name=nil)
|
1790
|
+
@Name = name
|
1791
|
+
end
|
1792
|
+
|
1793
|
+
def deserialize(params)
|
1794
|
+
@Name = params['Name']
|
1795
|
+
end
|
1796
|
+
end
|
1797
|
+
|
1798
|
+
# GetSAMLProvider返回参数结构体
|
1799
|
+
class GetSAMLProviderResponse < TencentCloud::Common::AbstractModel
|
1800
|
+
# @param Name: SAML身份提供商名称
|
1801
|
+
# @type Name: String
|
1802
|
+
# @param Description: SAML身份提供商描述
|
1803
|
+
# @type Description: String
|
1804
|
+
# @param CreateTime: SAML身份提供商创建时间
|
1805
|
+
# @type CreateTime: String
|
1806
|
+
# @param ModifyTime: SAML身份提供商上次修改时间
|
1807
|
+
# @type ModifyTime: String
|
1808
|
+
# @param SAMLMetadata: SAML身份提供商元数据文档
|
1809
|
+
# @type SAMLMetadata: String
|
1810
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1811
|
+
# @type RequestId: String
|
1812
|
+
|
1813
|
+
attr_accessor :Name, :Description, :CreateTime, :ModifyTime, :SAMLMetadata, :RequestId
|
1814
|
+
|
1815
|
+
def initialize(name=nil, description=nil, createtime=nil, modifytime=nil, samlmetadata=nil, requestid=nil)
|
1816
|
+
@Name = name
|
1817
|
+
@Description = description
|
1818
|
+
@CreateTime = createtime
|
1819
|
+
@ModifyTime = modifytime
|
1820
|
+
@SAMLMetadata = samlmetadata
|
1821
|
+
@RequestId = requestid
|
1822
|
+
end
|
1823
|
+
|
1824
|
+
def deserialize(params)
|
1825
|
+
@Name = params['Name']
|
1826
|
+
@Description = params['Description']
|
1827
|
+
@CreateTime = params['CreateTime']
|
1828
|
+
@ModifyTime = params['ModifyTime']
|
1829
|
+
@SAMLMetadata = params['SAMLMetadata']
|
1830
|
+
@RequestId = params['RequestId']
|
1831
|
+
end
|
1832
|
+
end
|
1833
|
+
|
1834
|
+
# GetSecurityLastUsed请求参数结构体
|
1835
|
+
class GetSecurityLastUsedRequest < TencentCloud::Common::AbstractModel
|
1836
|
+
# @param SecretIdList: 查询密钥ID列表
|
1837
|
+
# @type SecretIdList: Array
|
1838
|
+
|
1839
|
+
attr_accessor :SecretIdList
|
1840
|
+
|
1841
|
+
def initialize(secretidlist=nil)
|
1842
|
+
@SecretIdList = secretidlist
|
1843
|
+
end
|
1844
|
+
|
1845
|
+
def deserialize(params)
|
1846
|
+
@SecretIdList = params['SecretIdList']
|
1847
|
+
end
|
1848
|
+
end
|
1849
|
+
|
1850
|
+
# GetSecurityLastUsed返回参数结构体
|
1851
|
+
class GetSecurityLastUsedResponse < TencentCloud::Common::AbstractModel
|
1852
|
+
# @param SecretIdLastUsedRows: 密钥ID最近访问列表
|
1853
|
+
# @type SecretIdLastUsedRows: Array
|
1854
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1855
|
+
# @type RequestId: String
|
1856
|
+
|
1857
|
+
attr_accessor :SecretIdLastUsedRows, :RequestId
|
1858
|
+
|
1859
|
+
def initialize(secretidlastusedrows=nil, requestid=nil)
|
1860
|
+
@SecretIdLastUsedRows = secretidlastusedrows
|
1861
|
+
@RequestId = requestid
|
1862
|
+
end
|
1863
|
+
|
1864
|
+
def deserialize(params)
|
1865
|
+
unless params['SecretIdLastUsedRows'].nil?
|
1866
|
+
@SecretIdLastUsedRows = []
|
1867
|
+
params['SecretIdLastUsedRows'].each do |i|
|
1868
|
+
secretidlastused_tmp = SecretIdLastUsed.new
|
1869
|
+
secretidlastused_tmp.deserialize(i)
|
1870
|
+
@SecretIdLastUsedRows << secretidlastused_tmp
|
1871
|
+
end
|
1872
|
+
end
|
1873
|
+
@RequestId = params['RequestId']
|
1874
|
+
end
|
1875
|
+
end
|
1876
|
+
|
1877
|
+
# GetServiceLinkedRoleDeletionStatus请求参数结构体
|
1878
|
+
class GetServiceLinkedRoleDeletionStatusRequest < TencentCloud::Common::AbstractModel
|
1879
|
+
# @param DeletionTaskId: 删除任务ID
|
1880
|
+
# @type DeletionTaskId: String
|
1881
|
+
|
1882
|
+
attr_accessor :DeletionTaskId
|
1883
|
+
|
1884
|
+
def initialize(deletiontaskid=nil)
|
1885
|
+
@DeletionTaskId = deletiontaskid
|
1886
|
+
end
|
1887
|
+
|
1888
|
+
def deserialize(params)
|
1889
|
+
@DeletionTaskId = params['DeletionTaskId']
|
1890
|
+
end
|
1891
|
+
end
|
1892
|
+
|
1893
|
+
# GetServiceLinkedRoleDeletionStatus返回参数结构体
|
1894
|
+
class GetServiceLinkedRoleDeletionStatusResponse < TencentCloud::Common::AbstractModel
|
1895
|
+
# @param Status: 状态:NOT_STARTED,IN_PROGRESS,SUCCEEDED,FAILED
|
1896
|
+
# @type Status: String
|
1897
|
+
# @param Reason: 失败原因
|
1898
|
+
# @type Reason: String
|
1899
|
+
# @param ServiceType: 服务类型
|
1900
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1901
|
+
# @type ServiceType: String
|
1902
|
+
# @param ServiceName: 服务名称
|
1903
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1904
|
+
# @type ServiceName: String
|
1905
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1906
|
+
# @type RequestId: String
|
1907
|
+
|
1908
|
+
attr_accessor :Status, :Reason, :ServiceType, :ServiceName, :RequestId
|
1909
|
+
|
1910
|
+
def initialize(status=nil, reason=nil, servicetype=nil, servicename=nil, requestid=nil)
|
1911
|
+
@Status = status
|
1912
|
+
@Reason = reason
|
1913
|
+
@ServiceType = servicetype
|
1914
|
+
@ServiceName = servicename
|
1915
|
+
@RequestId = requestid
|
1916
|
+
end
|
1917
|
+
|
1918
|
+
def deserialize(params)
|
1919
|
+
@Status = params['Status']
|
1920
|
+
@Reason = params['Reason']
|
1921
|
+
@ServiceType = params['ServiceType']
|
1922
|
+
@ServiceName = params['ServiceName']
|
1923
|
+
@RequestId = params['RequestId']
|
1924
|
+
end
|
1925
|
+
end
|
1926
|
+
|
1927
|
+
# GetUser请求参数结构体
|
1928
|
+
class GetUserRequest < TencentCloud::Common::AbstractModel
|
1929
|
+
# @param Name: 子用户用户名
|
1930
|
+
# @type Name: String
|
1931
|
+
|
1932
|
+
attr_accessor :Name
|
1933
|
+
|
1934
|
+
def initialize(name=nil)
|
1935
|
+
@Name = name
|
1936
|
+
end
|
1937
|
+
|
1938
|
+
def deserialize(params)
|
1939
|
+
@Name = params['Name']
|
1940
|
+
end
|
1941
|
+
end
|
1942
|
+
|
1943
|
+
# GetUser返回参数结构体
|
1944
|
+
class GetUserResponse < TencentCloud::Common::AbstractModel
|
1945
|
+
# @param Uin: 子用户用户 UIN
|
1946
|
+
# @type Uin: Integer
|
1947
|
+
# @param Name: 子用户用户名
|
1948
|
+
# @type Name: String
|
1949
|
+
# @param Uid: 子用户 UID
|
1950
|
+
# @type Uid: Integer
|
1951
|
+
# @param Remark: 子用户备注
|
1952
|
+
# @type Remark: String
|
1953
|
+
# @param ConsoleLogin: 子用户能否登录控制台
|
1954
|
+
# @type ConsoleLogin: Integer
|
1955
|
+
# @param PhoneNum: 手机号
|
1956
|
+
# @type PhoneNum: String
|
1957
|
+
# @param CountryCode: 区号
|
1958
|
+
# @type CountryCode: String
|
1959
|
+
# @param Email: 邮箱
|
1960
|
+
# @type Email: String
|
1961
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1962
|
+
# @type RequestId: String
|
1963
|
+
|
1964
|
+
attr_accessor :Uin, :Name, :Uid, :Remark, :ConsoleLogin, :PhoneNum, :CountryCode, :Email, :RequestId
|
1965
|
+
|
1966
|
+
def initialize(uin=nil, name=nil, uid=nil, remark=nil, consolelogin=nil, phonenum=nil, countrycode=nil, email=nil, requestid=nil)
|
1967
|
+
@Uin = uin
|
1968
|
+
@Name = name
|
1969
|
+
@Uid = uid
|
1970
|
+
@Remark = remark
|
1971
|
+
@ConsoleLogin = consolelogin
|
1972
|
+
@PhoneNum = phonenum
|
1973
|
+
@CountryCode = countrycode
|
1974
|
+
@Email = email
|
1975
|
+
@RequestId = requestid
|
1976
|
+
end
|
1977
|
+
|
1978
|
+
def deserialize(params)
|
1979
|
+
@Uin = params['Uin']
|
1980
|
+
@Name = params['Name']
|
1981
|
+
@Uid = params['Uid']
|
1982
|
+
@Remark = params['Remark']
|
1983
|
+
@ConsoleLogin = params['ConsoleLogin']
|
1984
|
+
@PhoneNum = params['PhoneNum']
|
1985
|
+
@CountryCode = params['CountryCode']
|
1986
|
+
@Email = params['Email']
|
1987
|
+
@RequestId = params['RequestId']
|
1988
|
+
end
|
1989
|
+
end
|
1990
|
+
|
1991
|
+
# 子用户和用户组关联信息
|
1992
|
+
class GroupIdOfUidInfo < TencentCloud::Common::AbstractModel
|
1993
|
+
# @param GroupId: 用户组 ID
|
1994
|
+
# @type GroupId: Integer
|
1995
|
+
# @param Uid: 子用户 UID
|
1996
|
+
# @type Uid: Integer
|
1997
|
+
# @param Uin: 子用户 Uin,Uid和Uin至少有一个必填
|
1998
|
+
# @type Uin: Integer
|
1999
|
+
|
2000
|
+
attr_accessor :GroupId, :Uid, :Uin
|
2001
|
+
|
2002
|
+
def initialize(groupid=nil, uid=nil, uin=nil)
|
2003
|
+
@GroupId = groupid
|
2004
|
+
@Uid = uid
|
2005
|
+
@Uin = uin
|
2006
|
+
end
|
2007
|
+
|
2008
|
+
def deserialize(params)
|
2009
|
+
@GroupId = params['GroupId']
|
2010
|
+
@Uid = params['Uid']
|
2011
|
+
@Uin = params['Uin']
|
2012
|
+
end
|
2013
|
+
end
|
2014
|
+
|
2015
|
+
# 用户组信息
|
2016
|
+
class GroupInfo < TencentCloud::Common::AbstractModel
|
2017
|
+
# @param GroupId: 用户组 ID。
|
2018
|
+
# @type GroupId: Integer
|
2019
|
+
# @param GroupName: 用户组名称。
|
2020
|
+
# @type GroupName: String
|
2021
|
+
# @param CreateTime: 用户组创建时间。
|
2022
|
+
# @type CreateTime: String
|
2023
|
+
# @param Remark: 用户组描述。
|
2024
|
+
# @type Remark: String
|
2025
|
+
|
2026
|
+
attr_accessor :GroupId, :GroupName, :CreateTime, :Remark
|
2027
|
+
|
2028
|
+
def initialize(groupid=nil, groupname=nil, createtime=nil, remark=nil)
|
2029
|
+
@GroupId = groupid
|
2030
|
+
@GroupName = groupname
|
2031
|
+
@CreateTime = createtime
|
2032
|
+
@Remark = remark
|
2033
|
+
end
|
2034
|
+
|
2035
|
+
def deserialize(params)
|
2036
|
+
@GroupId = params['GroupId']
|
2037
|
+
@GroupName = params['GroupName']
|
2038
|
+
@CreateTime = params['CreateTime']
|
2039
|
+
@Remark = params['Remark']
|
2040
|
+
end
|
2041
|
+
end
|
2042
|
+
|
2043
|
+
# 用户组用户信息
|
2044
|
+
class GroupMemberInfo < TencentCloud::Common::AbstractModel
|
2045
|
+
# @param Uid: 子用户 Uid。
|
2046
|
+
# @type Uid: Integer
|
2047
|
+
# @param Uin: 子用户 Uin。
|
2048
|
+
# @type Uin: Integer
|
2049
|
+
# @param Name: 子用户名称。
|
2050
|
+
# @type Name: String
|
2051
|
+
# @param PhoneNum: 手机号。
|
2052
|
+
# @type PhoneNum: String
|
2053
|
+
# @param CountryCode: 手机区域代码。
|
2054
|
+
# @type CountryCode: String
|
2055
|
+
# @param PhoneFlag: 是否已验证手机。
|
2056
|
+
# @type PhoneFlag: Integer
|
2057
|
+
# @param Email: 邮箱地址。
|
2058
|
+
# @type Email: String
|
2059
|
+
# @param EmailFlag: 是否已验证邮箱。
|
2060
|
+
# @type EmailFlag: Integer
|
2061
|
+
# @param UserType: 用户类型。
|
2062
|
+
# @type UserType: Integer
|
2063
|
+
# @param CreateTime: 创建时间。
|
2064
|
+
# @type CreateTime: String
|
2065
|
+
# @param IsReceiverOwner: 是否为主消息接收人。
|
2066
|
+
# @type IsReceiverOwner: Integer
|
2067
|
+
|
2068
|
+
attr_accessor :Uid, :Uin, :Name, :PhoneNum, :CountryCode, :PhoneFlag, :Email, :EmailFlag, :UserType, :CreateTime, :IsReceiverOwner
|
2069
|
+
|
2070
|
+
def initialize(uid=nil, uin=nil, name=nil, phonenum=nil, countrycode=nil, phoneflag=nil, email=nil, emailflag=nil, usertype=nil, createtime=nil, isreceiverowner=nil)
|
2071
|
+
@Uid = uid
|
2072
|
+
@Uin = uin
|
2073
|
+
@Name = name
|
2074
|
+
@PhoneNum = phonenum
|
2075
|
+
@CountryCode = countrycode
|
2076
|
+
@PhoneFlag = phoneflag
|
2077
|
+
@Email = email
|
2078
|
+
@EmailFlag = emailflag
|
2079
|
+
@UserType = usertype
|
2080
|
+
@CreateTime = createtime
|
2081
|
+
@IsReceiverOwner = isreceiverowner
|
2082
|
+
end
|
2083
|
+
|
2084
|
+
def deserialize(params)
|
2085
|
+
@Uid = params['Uid']
|
2086
|
+
@Uin = params['Uin']
|
2087
|
+
@Name = params['Name']
|
2088
|
+
@PhoneNum = params['PhoneNum']
|
2089
|
+
@CountryCode = params['CountryCode']
|
2090
|
+
@PhoneFlag = params['PhoneFlag']
|
2091
|
+
@Email = params['Email']
|
2092
|
+
@EmailFlag = params['EmailFlag']
|
2093
|
+
@UserType = params['UserType']
|
2094
|
+
@CreateTime = params['CreateTime']
|
2095
|
+
@IsReceiverOwner = params['IsReceiverOwner']
|
2096
|
+
end
|
2097
|
+
end
|
2098
|
+
|
2099
|
+
# ListAccessKeys请求参数结构体
|
2100
|
+
class ListAccessKeysRequest < TencentCloud::Common::AbstractModel
|
2101
|
+
# @param TargetUin: 指定用户Uin,不填默认列出当前用户访问密钥
|
2102
|
+
# @type TargetUin: Integer
|
2103
|
+
|
2104
|
+
attr_accessor :TargetUin
|
2105
|
+
|
2106
|
+
def initialize(targetuin=nil)
|
2107
|
+
@TargetUin = targetuin
|
2108
|
+
end
|
2109
|
+
|
2110
|
+
def deserialize(params)
|
2111
|
+
@TargetUin = params['TargetUin']
|
2112
|
+
end
|
2113
|
+
end
|
2114
|
+
|
2115
|
+
# ListAccessKeys返回参数结构体
|
2116
|
+
class ListAccessKeysResponse < TencentCloud::Common::AbstractModel
|
2117
|
+
# @param AccessKeys: 访问密钥列表
|
2118
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2119
|
+
# @type AccessKeys: Array
|
2120
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2121
|
+
# @type RequestId: String
|
2122
|
+
|
2123
|
+
attr_accessor :AccessKeys, :RequestId
|
2124
|
+
|
2125
|
+
def initialize(accesskeys=nil, requestid=nil)
|
2126
|
+
@AccessKeys = accesskeys
|
2127
|
+
@RequestId = requestid
|
2128
|
+
end
|
2129
|
+
|
2130
|
+
def deserialize(params)
|
2131
|
+
unless params['AccessKeys'].nil?
|
2132
|
+
@AccessKeys = []
|
2133
|
+
params['AccessKeys'].each do |i|
|
2134
|
+
accesskey_tmp = AccessKey.new
|
2135
|
+
accesskey_tmp.deserialize(i)
|
2136
|
+
@AccessKeys << accesskey_tmp
|
2137
|
+
end
|
2138
|
+
end
|
2139
|
+
@RequestId = params['RequestId']
|
2140
|
+
end
|
2141
|
+
end
|
2142
|
+
|
2143
|
+
# ListAttachedGroupPolicies请求参数结构体
|
2144
|
+
class ListAttachedGroupPoliciesRequest < TencentCloud::Common::AbstractModel
|
2145
|
+
# @param TargetGroupId: 用户组ID
|
2146
|
+
# @type TargetGroupId: Integer
|
2147
|
+
# @param Page: 页码,默认值是 1,从 1 开始
|
2148
|
+
# @type Page: Integer
|
2149
|
+
# @param Rp: 每页大小,默认值是 20
|
2150
|
+
# @type Rp: Integer
|
2151
|
+
# @param Keyword: 搜索关键字
|
2152
|
+
# @type Keyword: String
|
2153
|
+
|
2154
|
+
attr_accessor :TargetGroupId, :Page, :Rp, :Keyword
|
2155
|
+
|
2156
|
+
def initialize(targetgroupid=nil, page=nil, rp=nil, keyword=nil)
|
2157
|
+
@TargetGroupId = targetgroupid
|
2158
|
+
@Page = page
|
2159
|
+
@Rp = rp
|
2160
|
+
@Keyword = keyword
|
2161
|
+
end
|
2162
|
+
|
2163
|
+
def deserialize(params)
|
2164
|
+
@TargetGroupId = params['TargetGroupId']
|
2165
|
+
@Page = params['Page']
|
2166
|
+
@Rp = params['Rp']
|
2167
|
+
@Keyword = params['Keyword']
|
2168
|
+
end
|
2169
|
+
end
|
2170
|
+
|
2171
|
+
# ListAttachedGroupPolicies返回参数结构体
|
2172
|
+
class ListAttachedGroupPoliciesResponse < TencentCloud::Common::AbstractModel
|
2173
|
+
# @param TotalNum: 策略总数
|
2174
|
+
# @type TotalNum: Integer
|
2175
|
+
# @param List: 策略列表
|
2176
|
+
# @type List: Array
|
2177
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2178
|
+
# @type RequestId: String
|
2179
|
+
|
2180
|
+
attr_accessor :TotalNum, :List, :RequestId
|
2181
|
+
|
2182
|
+
def initialize(totalnum=nil, list=nil, requestid=nil)
|
2183
|
+
@TotalNum = totalnum
|
2184
|
+
@List = list
|
2185
|
+
@RequestId = requestid
|
2186
|
+
end
|
2187
|
+
|
2188
|
+
def deserialize(params)
|
2189
|
+
@TotalNum = params['TotalNum']
|
2190
|
+
unless params['List'].nil?
|
2191
|
+
@List = []
|
2192
|
+
params['List'].each do |i|
|
2193
|
+
attachpolicyinfo_tmp = AttachPolicyInfo.new
|
2194
|
+
attachpolicyinfo_tmp.deserialize(i)
|
2195
|
+
@List << attachpolicyinfo_tmp
|
2196
|
+
end
|
2197
|
+
end
|
2198
|
+
@RequestId = params['RequestId']
|
2199
|
+
end
|
2200
|
+
end
|
2201
|
+
|
2202
|
+
# ListAttachedRolePolicies请求参数结构体
|
2203
|
+
class ListAttachedRolePoliciesRequest < TencentCloud::Common::AbstractModel
|
2204
|
+
# @param Page: 页码,从 1 开始
|
2205
|
+
# @type Page: Integer
|
2206
|
+
# @param Rp: 每页行数,不能大于200
|
2207
|
+
# @type Rp: Integer
|
2208
|
+
# @param RoleId: 角色 ID。用于指定角色,入参 RoleId 与 RoleName 二选一
|
2209
|
+
# @type RoleId: String
|
2210
|
+
# @param RoleName: 角色名。用于指定角色,入参 RoleId 与 RoleName 二选一
|
2211
|
+
# @type RoleName: String
|
2212
|
+
# @param PolicyType: 按策略类型过滤,User表示仅查询自定义策略,QCS表示仅查询预设策略
|
2213
|
+
# @type PolicyType: String
|
2214
|
+
# @param Keyword: 搜索关键字
|
2215
|
+
# @type Keyword: String
|
2216
|
+
|
2217
|
+
attr_accessor :Page, :Rp, :RoleId, :RoleName, :PolicyType, :Keyword
|
2218
|
+
|
2219
|
+
def initialize(page=nil, rp=nil, roleid=nil, rolename=nil, policytype=nil, keyword=nil)
|
2220
|
+
@Page = page
|
2221
|
+
@Rp = rp
|
2222
|
+
@RoleId = roleid
|
2223
|
+
@RoleName = rolename
|
2224
|
+
@PolicyType = policytype
|
2225
|
+
@Keyword = keyword
|
2226
|
+
end
|
2227
|
+
|
2228
|
+
def deserialize(params)
|
2229
|
+
@Page = params['Page']
|
2230
|
+
@Rp = params['Rp']
|
2231
|
+
@RoleId = params['RoleId']
|
2232
|
+
@RoleName = params['RoleName']
|
2233
|
+
@PolicyType = params['PolicyType']
|
2234
|
+
@Keyword = params['Keyword']
|
2235
|
+
end
|
2236
|
+
end
|
2237
|
+
|
2238
|
+
# ListAttachedRolePolicies返回参数结构体
|
2239
|
+
class ListAttachedRolePoliciesResponse < TencentCloud::Common::AbstractModel
|
2240
|
+
# @param List: 角色关联的策略列表
|
2241
|
+
# @type List: Array
|
2242
|
+
# @param TotalNum: 角色关联的策略总数
|
2243
|
+
# @type TotalNum: Integer
|
2244
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2245
|
+
# @type RequestId: String
|
2246
|
+
|
2247
|
+
attr_accessor :List, :TotalNum, :RequestId
|
2248
|
+
|
2249
|
+
def initialize(list=nil, totalnum=nil, requestid=nil)
|
2250
|
+
@List = list
|
2251
|
+
@TotalNum = totalnum
|
2252
|
+
@RequestId = requestid
|
2253
|
+
end
|
2254
|
+
|
2255
|
+
def deserialize(params)
|
2256
|
+
unless params['List'].nil?
|
2257
|
+
@List = []
|
2258
|
+
params['List'].each do |i|
|
2259
|
+
attachedpolicyofrole_tmp = AttachedPolicyOfRole.new
|
2260
|
+
attachedpolicyofrole_tmp.deserialize(i)
|
2261
|
+
@List << attachedpolicyofrole_tmp
|
2262
|
+
end
|
2263
|
+
end
|
2264
|
+
@TotalNum = params['TotalNum']
|
2265
|
+
@RequestId = params['RequestId']
|
2266
|
+
end
|
2267
|
+
end
|
2268
|
+
|
2269
|
+
# ListAttachedUserPolicies请求参数结构体
|
2270
|
+
class ListAttachedUserPoliciesRequest < TencentCloud::Common::AbstractModel
|
2271
|
+
# @param TargetUin: 子账号 uin
|
2272
|
+
# @type TargetUin: Integer
|
2273
|
+
# @param Page: 页码,默认值是 1,从 1 开始
|
2274
|
+
# @type Page: Integer
|
2275
|
+
# @param Rp: 每页大小,默认值是 20
|
2276
|
+
# @type Rp: Integer
|
2277
|
+
|
2278
|
+
attr_accessor :TargetUin, :Page, :Rp
|
2279
|
+
|
2280
|
+
def initialize(targetuin=nil, page=nil, rp=nil)
|
2281
|
+
@TargetUin = targetuin
|
2282
|
+
@Page = page
|
2283
|
+
@Rp = rp
|
2284
|
+
end
|
2285
|
+
|
2286
|
+
def deserialize(params)
|
2287
|
+
@TargetUin = params['TargetUin']
|
2288
|
+
@Page = params['Page']
|
2289
|
+
@Rp = params['Rp']
|
2290
|
+
end
|
2291
|
+
end
|
2292
|
+
|
2293
|
+
# ListAttachedUserPolicies返回参数结构体
|
2294
|
+
class ListAttachedUserPoliciesResponse < TencentCloud::Common::AbstractModel
|
2295
|
+
# @param TotalNum: 策略总数
|
2296
|
+
# @type TotalNum: Integer
|
2297
|
+
# @param List: 策略列表
|
2298
|
+
# @type List: Array
|
2299
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2300
|
+
# @type RequestId: String
|
2301
|
+
|
2302
|
+
attr_accessor :TotalNum, :List, :RequestId
|
2303
|
+
|
2304
|
+
def initialize(totalnum=nil, list=nil, requestid=nil)
|
2305
|
+
@TotalNum = totalnum
|
2306
|
+
@List = list
|
2307
|
+
@RequestId = requestid
|
2308
|
+
end
|
2309
|
+
|
2310
|
+
def deserialize(params)
|
2311
|
+
@TotalNum = params['TotalNum']
|
2312
|
+
unless params['List'].nil?
|
2313
|
+
@List = []
|
2314
|
+
params['List'].each do |i|
|
2315
|
+
attachpolicyinfo_tmp = AttachPolicyInfo.new
|
2316
|
+
attachpolicyinfo_tmp.deserialize(i)
|
2317
|
+
@List << attachpolicyinfo_tmp
|
2318
|
+
end
|
2319
|
+
end
|
2320
|
+
@RequestId = params['RequestId']
|
2321
|
+
end
|
2322
|
+
end
|
2323
|
+
|
2324
|
+
# ListCollaborators请求参数结构体
|
2325
|
+
class ListCollaboratorsRequest < TencentCloud::Common::AbstractModel
|
2326
|
+
# @param Limit: 分页条数,缺省为20
|
2327
|
+
# @type Limit: Integer
|
2328
|
+
# @param Offset: 分页起始值,缺省为0
|
2329
|
+
# @type Offset: Integer
|
2330
|
+
|
2331
|
+
attr_accessor :Limit, :Offset
|
2332
|
+
|
2333
|
+
def initialize(limit=nil, offset=nil)
|
2334
|
+
@Limit = limit
|
2335
|
+
@Offset = offset
|
2336
|
+
end
|
2337
|
+
|
2338
|
+
def deserialize(params)
|
2339
|
+
@Limit = params['Limit']
|
2340
|
+
@Offset = params['Offset']
|
2341
|
+
end
|
2342
|
+
end
|
2343
|
+
|
2344
|
+
# ListCollaborators返回参数结构体
|
2345
|
+
class ListCollaboratorsResponse < TencentCloud::Common::AbstractModel
|
2346
|
+
# @param TotalNum: 总数
|
2347
|
+
# @type TotalNum: Integer
|
2348
|
+
# @param Data: 协作者信息
|
2349
|
+
# @type Data: Array
|
2350
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2351
|
+
# @type RequestId: String
|
2352
|
+
|
2353
|
+
attr_accessor :TotalNum, :Data, :RequestId
|
2354
|
+
|
2355
|
+
def initialize(totalnum=nil, data=nil, requestid=nil)
|
2356
|
+
@TotalNum = totalnum
|
2357
|
+
@Data = data
|
2358
|
+
@RequestId = requestid
|
2359
|
+
end
|
2360
|
+
|
2361
|
+
def deserialize(params)
|
2362
|
+
@TotalNum = params['TotalNum']
|
2363
|
+
unless params['Data'].nil?
|
2364
|
+
@Data = []
|
2365
|
+
params['Data'].each do |i|
|
2366
|
+
subaccountinfo_tmp = SubAccountInfo.new
|
2367
|
+
subaccountinfo_tmp.deserialize(i)
|
2368
|
+
@Data << subaccountinfo_tmp
|
2369
|
+
end
|
2370
|
+
end
|
2371
|
+
@RequestId = params['RequestId']
|
2372
|
+
end
|
2373
|
+
end
|
2374
|
+
|
2375
|
+
# ListEntitiesForPolicy请求参数结构体
|
2376
|
+
class ListEntitiesForPolicyRequest < TencentCloud::Common::AbstractModel
|
2377
|
+
# @param PolicyId: 策略 id
|
2378
|
+
# @type PolicyId: Integer
|
2379
|
+
# @param Page: 页码,默认值是 1,从 1 开始
|
2380
|
+
# @type Page: Integer
|
2381
|
+
# @param Rp: 每页大小,默认值是 20
|
2382
|
+
# @type Rp: Integer
|
2383
|
+
# @param EntityFilter: 可取值 'All'、'User'、'Group' 和 'Role','All' 表示获取所有实体类型,'User' 表示只获取子账号,'Group' 表示只获取用户组,'Role' 表示只获取角色,默认取 'All'
|
2384
|
+
# @type EntityFilter: String
|
2385
|
+
|
2386
|
+
attr_accessor :PolicyId, :Page, :Rp, :EntityFilter
|
2387
|
+
|
2388
|
+
def initialize(policyid=nil, page=nil, rp=nil, entityfilter=nil)
|
2389
|
+
@PolicyId = policyid
|
2390
|
+
@Page = page
|
2391
|
+
@Rp = rp
|
2392
|
+
@EntityFilter = entityfilter
|
2393
|
+
end
|
2394
|
+
|
2395
|
+
def deserialize(params)
|
2396
|
+
@PolicyId = params['PolicyId']
|
2397
|
+
@Page = params['Page']
|
2398
|
+
@Rp = params['Rp']
|
2399
|
+
@EntityFilter = params['EntityFilter']
|
2400
|
+
end
|
2401
|
+
end
|
2402
|
+
|
2403
|
+
# ListEntitiesForPolicy返回参数结构体
|
2404
|
+
class ListEntitiesForPolicyResponse < TencentCloud::Common::AbstractModel
|
2405
|
+
# @param TotalNum: 实体总数
|
2406
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2407
|
+
# @type TotalNum: Integer
|
2408
|
+
# @param List: 实体列表
|
2409
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2410
|
+
# @type List: Array
|
2411
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2412
|
+
# @type RequestId: String
|
2413
|
+
|
2414
|
+
attr_accessor :TotalNum, :List, :RequestId
|
2415
|
+
|
2416
|
+
def initialize(totalnum=nil, list=nil, requestid=nil)
|
2417
|
+
@TotalNum = totalnum
|
2418
|
+
@List = list
|
2419
|
+
@RequestId = requestid
|
2420
|
+
end
|
2421
|
+
|
2422
|
+
def deserialize(params)
|
2423
|
+
@TotalNum = params['TotalNum']
|
2424
|
+
unless params['List'].nil?
|
2425
|
+
@List = []
|
2426
|
+
params['List'].each do |i|
|
2427
|
+
attachentityofpolicy_tmp = AttachEntityOfPolicy.new
|
2428
|
+
attachentityofpolicy_tmp.deserialize(i)
|
2429
|
+
@List << attachentityofpolicy_tmp
|
2430
|
+
end
|
2431
|
+
end
|
2432
|
+
@RequestId = params['RequestId']
|
2433
|
+
end
|
2434
|
+
end
|
2435
|
+
|
2436
|
+
# ListGrantServiceAccessAction节点
|
2437
|
+
class ListGrantServiceAccessActionNode < TencentCloud::Common::AbstractModel
|
2438
|
+
# @param Name: 接口名
|
2439
|
+
# @type Name: String
|
2440
|
+
# @param Description: 接口描述
|
2441
|
+
# @type Description: String
|
2442
|
+
|
2443
|
+
attr_accessor :Name, :Description
|
2444
|
+
|
2445
|
+
def initialize(name=nil, description=nil)
|
2446
|
+
@Name = name
|
2447
|
+
@Description = description
|
2448
|
+
end
|
2449
|
+
|
2450
|
+
def deserialize(params)
|
2451
|
+
@Name = params['Name']
|
2452
|
+
@Description = params['Description']
|
2453
|
+
end
|
2454
|
+
end
|
2455
|
+
|
2456
|
+
# 用于ListPoliciesGrantingServiceAccess接口的List节点
|
2457
|
+
class ListGrantServiceAccessNode < TencentCloud::Common::AbstractModel
|
2458
|
+
# @param Service: 服务
|
2459
|
+
# @type Service: :class:`Tencentcloud::Cam.v20190116.models.ListGrantServiceAccessService`
|
2460
|
+
# @param Action: 接口信息
|
2461
|
+
# @type Action: Array
|
2462
|
+
# @param Policy: 授权的策略
|
2463
|
+
# @type Policy: Array
|
2464
|
+
|
2465
|
+
attr_accessor :Service, :Action, :Policy
|
2466
|
+
|
2467
|
+
def initialize(service=nil, action=nil, policy=nil)
|
2468
|
+
@Service = service
|
2469
|
+
@Action = action
|
2470
|
+
@Policy = policy
|
2471
|
+
end
|
2472
|
+
|
2473
|
+
def deserialize(params)
|
2474
|
+
unless params['Service'].nil?
|
2475
|
+
@Service = ListGrantServiceAccessService.new
|
2476
|
+
@Service.deserialize(params['Service'])
|
2477
|
+
end
|
2478
|
+
unless params['Action'].nil?
|
2479
|
+
@Action = []
|
2480
|
+
params['Action'].each do |i|
|
2481
|
+
listgrantserviceaccessactionnode_tmp = ListGrantServiceAccessActionNode.new
|
2482
|
+
listgrantserviceaccessactionnode_tmp.deserialize(i)
|
2483
|
+
@Action << listgrantserviceaccessactionnode_tmp
|
2484
|
+
end
|
2485
|
+
end
|
2486
|
+
unless params['Policy'].nil?
|
2487
|
+
@Policy = []
|
2488
|
+
params['Policy'].each do |i|
|
2489
|
+
listgrantserviceaccesspolicy_tmp = ListGrantServiceAccessPolicy.new
|
2490
|
+
listgrantserviceaccesspolicy_tmp.deserialize(i)
|
2491
|
+
@Policy << listgrantserviceaccesspolicy_tmp
|
2492
|
+
end
|
2493
|
+
end
|
2494
|
+
end
|
2495
|
+
end
|
2496
|
+
|
2497
|
+
# 用于ListPoliciesGrantingServiceAccess接口的Policy节点
|
2498
|
+
class ListGrantServiceAccessPolicy < TencentCloud::Common::AbstractModel
|
2499
|
+
# @param PolicyId: 策略ID
|
2500
|
+
# @type PolicyId: String
|
2501
|
+
# @param PolicyName: 策略名
|
2502
|
+
# @type PolicyName: String
|
2503
|
+
# @param PolicyType: 策略类型: Custom自定义策略,Presetting预设策略
|
2504
|
+
# @type PolicyType: String
|
2505
|
+
# @param PolicyDescription: 策略描述
|
2506
|
+
# @type PolicyDescription: String
|
2507
|
+
|
2508
|
+
attr_accessor :PolicyId, :PolicyName, :PolicyType, :PolicyDescription
|
2509
|
+
|
2510
|
+
def initialize(policyid=nil, policyname=nil, policytype=nil, policydescription=nil)
|
2511
|
+
@PolicyId = policyid
|
2512
|
+
@PolicyName = policyname
|
2513
|
+
@PolicyType = policytype
|
2514
|
+
@PolicyDescription = policydescription
|
2515
|
+
end
|
2516
|
+
|
2517
|
+
def deserialize(params)
|
2518
|
+
@PolicyId = params['PolicyId']
|
2519
|
+
@PolicyName = params['PolicyName']
|
2520
|
+
@PolicyType = params['PolicyType']
|
2521
|
+
@PolicyDescription = params['PolicyDescription']
|
2522
|
+
end
|
2523
|
+
end
|
2524
|
+
|
2525
|
+
# 用于ListPoliciesGrantingServiceAccess接口的Service节点
|
2526
|
+
class ListGrantServiceAccessService < TencentCloud::Common::AbstractModel
|
2527
|
+
# @param ServiceType: 服务
|
2528
|
+
# @type ServiceType: String
|
2529
|
+
# @param ServiceName: 服务名
|
2530
|
+
# @type ServiceName: String
|
2531
|
+
|
2532
|
+
attr_accessor :ServiceType, :ServiceName
|
2533
|
+
|
2534
|
+
def initialize(servicetype=nil, servicename=nil)
|
2535
|
+
@ServiceType = servicetype
|
2536
|
+
@ServiceName = servicename
|
2537
|
+
end
|
2538
|
+
|
2539
|
+
def deserialize(params)
|
2540
|
+
@ServiceType = params['ServiceType']
|
2541
|
+
@ServiceName = params['ServiceName']
|
2542
|
+
end
|
2543
|
+
end
|
2544
|
+
|
2545
|
+
# ListGroupsForUser请求参数结构体
|
2546
|
+
class ListGroupsForUserRequest < TencentCloud::Common::AbstractModel
|
2547
|
+
# @param Uid: 子用户 UID
|
2548
|
+
# @type Uid: Integer
|
2549
|
+
# @param Rp: 每页数量。默认为20。
|
2550
|
+
# @type Rp: Integer
|
2551
|
+
# @param Page: 页码。默认为1。
|
2552
|
+
# @type Page: Integer
|
2553
|
+
# @param SubUin: 子账号UIN
|
2554
|
+
# @type SubUin: Integer
|
2555
|
+
|
2556
|
+
attr_accessor :Uid, :Rp, :Page, :SubUin
|
2557
|
+
|
2558
|
+
def initialize(uid=nil, rp=nil, page=nil, subuin=nil)
|
2559
|
+
@Uid = uid
|
2560
|
+
@Rp = rp
|
2561
|
+
@Page = page
|
2562
|
+
@SubUin = subuin
|
2563
|
+
end
|
2564
|
+
|
2565
|
+
def deserialize(params)
|
2566
|
+
@Uid = params['Uid']
|
2567
|
+
@Rp = params['Rp']
|
2568
|
+
@Page = params['Page']
|
2569
|
+
@SubUin = params['SubUin']
|
2570
|
+
end
|
2571
|
+
end
|
2572
|
+
|
2573
|
+
# ListGroupsForUser返回参数结构体
|
2574
|
+
class ListGroupsForUserResponse < TencentCloud::Common::AbstractModel
|
2575
|
+
# @param TotalNum: 子用户加入的用户组总数
|
2576
|
+
# @type TotalNum: Integer
|
2577
|
+
# @param GroupInfo: 用户组信息
|
2578
|
+
# @type GroupInfo: Array
|
2579
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2580
|
+
# @type RequestId: String
|
2581
|
+
|
2582
|
+
attr_accessor :TotalNum, :GroupInfo, :RequestId
|
2583
|
+
|
2584
|
+
def initialize(totalnum=nil, groupinfo=nil, requestid=nil)
|
2585
|
+
@TotalNum = totalnum
|
2586
|
+
@GroupInfo = groupinfo
|
2587
|
+
@RequestId = requestid
|
2588
|
+
end
|
2589
|
+
|
2590
|
+
def deserialize(params)
|
2591
|
+
@TotalNum = params['TotalNum']
|
2592
|
+
unless params['GroupInfo'].nil?
|
2593
|
+
@GroupInfo = []
|
2594
|
+
params['GroupInfo'].each do |i|
|
2595
|
+
groupinfo_tmp = GroupInfo.new
|
2596
|
+
groupinfo_tmp.deserialize(i)
|
2597
|
+
@GroupInfo << groupinfo_tmp
|
2598
|
+
end
|
2599
|
+
end
|
2600
|
+
@RequestId = params['RequestId']
|
2601
|
+
end
|
2602
|
+
end
|
2603
|
+
|
2604
|
+
# ListGroups请求参数结构体
|
2605
|
+
class ListGroupsRequest < TencentCloud::Common::AbstractModel
|
2606
|
+
# @param Page: 页码。默认为1。
|
2607
|
+
# @type Page: Integer
|
2608
|
+
# @param Rp: 每页数量。默认为20。
|
2609
|
+
# @type Rp: Integer
|
2610
|
+
# @param Keyword: 按用户组名称匹配。
|
2611
|
+
# @type Keyword: String
|
2612
|
+
|
2613
|
+
attr_accessor :Page, :Rp, :Keyword
|
2614
|
+
|
2615
|
+
def initialize(page=nil, rp=nil, keyword=nil)
|
2616
|
+
@Page = page
|
2617
|
+
@Rp = rp
|
2618
|
+
@Keyword = keyword
|
2619
|
+
end
|
2620
|
+
|
2621
|
+
def deserialize(params)
|
2622
|
+
@Page = params['Page']
|
2623
|
+
@Rp = params['Rp']
|
2624
|
+
@Keyword = params['Keyword']
|
2625
|
+
end
|
2626
|
+
end
|
2627
|
+
|
2628
|
+
# ListGroups返回参数结构体
|
2629
|
+
class ListGroupsResponse < TencentCloud::Common::AbstractModel
|
2630
|
+
# @param TotalNum: 用户组总数。
|
2631
|
+
# @type TotalNum: Integer
|
2632
|
+
# @param GroupInfo: 用户组数组信息。
|
2633
|
+
# @type GroupInfo: Array
|
2634
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2635
|
+
# @type RequestId: String
|
2636
|
+
|
2637
|
+
attr_accessor :TotalNum, :GroupInfo, :RequestId
|
2638
|
+
|
2639
|
+
def initialize(totalnum=nil, groupinfo=nil, requestid=nil)
|
2640
|
+
@TotalNum = totalnum
|
2641
|
+
@GroupInfo = groupinfo
|
2642
|
+
@RequestId = requestid
|
2643
|
+
end
|
2644
|
+
|
2645
|
+
def deserialize(params)
|
2646
|
+
@TotalNum = params['TotalNum']
|
2647
|
+
unless params['GroupInfo'].nil?
|
2648
|
+
@GroupInfo = []
|
2649
|
+
params['GroupInfo'].each do |i|
|
2650
|
+
groupinfo_tmp = GroupInfo.new
|
2651
|
+
groupinfo_tmp.deserialize(i)
|
2652
|
+
@GroupInfo << groupinfo_tmp
|
2653
|
+
end
|
2654
|
+
end
|
2655
|
+
@RequestId = params['RequestId']
|
2656
|
+
end
|
2657
|
+
end
|
2658
|
+
|
2659
|
+
# ListPoliciesGrantingServiceAccess请求参数结构体
|
2660
|
+
class ListPoliciesGrantingServiceAccessRequest < TencentCloud::Common::AbstractModel
|
2661
|
+
# @param TargetUin: 子账号uin,与RoleId、GroupId三选一必传
|
2662
|
+
# @type TargetUin: Integer
|
2663
|
+
# @param RoleId: 角色ID,与TargetUin、GroupId三选一必传
|
2664
|
+
# @type RoleId: Integer
|
2665
|
+
# @param GroupId: 用户组ID,与TargetUin、RoleId三选一必传
|
2666
|
+
# @type GroupId: Integer
|
2667
|
+
# @param ServiceType: 服务名,查看服务授权接口详情时需传该字段
|
2668
|
+
# @type ServiceType: String
|
2669
|
+
|
2670
|
+
attr_accessor :TargetUin, :RoleId, :GroupId, :ServiceType
|
2671
|
+
|
2672
|
+
def initialize(targetuin=nil, roleid=nil, groupid=nil, servicetype=nil)
|
2673
|
+
@TargetUin = targetuin
|
2674
|
+
@RoleId = roleid
|
2675
|
+
@GroupId = groupid
|
2676
|
+
@ServiceType = servicetype
|
2677
|
+
end
|
2678
|
+
|
2679
|
+
def deserialize(params)
|
2680
|
+
@TargetUin = params['TargetUin']
|
2681
|
+
@RoleId = params['RoleId']
|
2682
|
+
@GroupId = params['GroupId']
|
2683
|
+
@ServiceType = params['ServiceType']
|
2684
|
+
end
|
2685
|
+
end
|
2686
|
+
|
2687
|
+
# ListPoliciesGrantingServiceAccess返回参数结构体
|
2688
|
+
class ListPoliciesGrantingServiceAccessResponse < TencentCloud::Common::AbstractModel
|
2689
|
+
# @param List: 列表
|
2690
|
+
# @type List: Array
|
2691
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2692
|
+
# @type RequestId: String
|
2693
|
+
|
2694
|
+
attr_accessor :List, :RequestId
|
2695
|
+
|
2696
|
+
def initialize(list=nil, requestid=nil)
|
2697
|
+
@List = list
|
2698
|
+
@RequestId = requestid
|
2699
|
+
end
|
2700
|
+
|
2701
|
+
def deserialize(params)
|
2702
|
+
unless params['List'].nil?
|
2703
|
+
@List = []
|
2704
|
+
params['List'].each do |i|
|
2705
|
+
listgrantserviceaccessnode_tmp = ListGrantServiceAccessNode.new
|
2706
|
+
listgrantserviceaccessnode_tmp.deserialize(i)
|
2707
|
+
@List << listgrantserviceaccessnode_tmp
|
2708
|
+
end
|
2709
|
+
end
|
2710
|
+
@RequestId = params['RequestId']
|
2711
|
+
end
|
2712
|
+
end
|
2713
|
+
|
2714
|
+
# ListPolicies请求参数结构体
|
2715
|
+
class ListPoliciesRequest < TencentCloud::Common::AbstractModel
|
2716
|
+
# @param Rp: 每页数量,默认值是 20,必须大于 0 且小于或等于 200
|
2717
|
+
# @type Rp: Integer
|
2718
|
+
# @param Page: 页码,默认值是 1,从 1开始,不能大于 200
|
2719
|
+
# @type Page: Integer
|
2720
|
+
# @param Scope: 可取值 'All'、'QCS' 和 'Local','All' 获取所有策略,'QCS' 只获取预设策略,'Local' 只获取自定义策略,默认取 'All'
|
2721
|
+
# @type Scope: String
|
2722
|
+
# @param Keyword: 按策略名匹配
|
2723
|
+
# @type Keyword: String
|
2724
|
+
|
2725
|
+
attr_accessor :Rp, :Page, :Scope, :Keyword
|
2726
|
+
|
2727
|
+
def initialize(rp=nil, page=nil, scope=nil, keyword=nil)
|
2728
|
+
@Rp = rp
|
2729
|
+
@Page = page
|
2730
|
+
@Scope = scope
|
2731
|
+
@Keyword = keyword
|
2732
|
+
end
|
2733
|
+
|
2734
|
+
def deserialize(params)
|
2735
|
+
@Rp = params['Rp']
|
2736
|
+
@Page = params['Page']
|
2737
|
+
@Scope = params['Scope']
|
2738
|
+
@Keyword = params['Keyword']
|
2739
|
+
end
|
2740
|
+
end
|
2741
|
+
|
2742
|
+
# ListPolicies返回参数结构体
|
2743
|
+
class ListPoliciesResponse < TencentCloud::Common::AbstractModel
|
2744
|
+
# @param TotalNum: 策略总数
|
2745
|
+
# @type TotalNum: Integer
|
2746
|
+
# @param List: 策略数组,数组每个成员包括 policyId、policyName、addTime、type、description、 createMode 字段。其中:
|
2747
|
+
# policyId:策略 id
|
2748
|
+
# policyName:策略名
|
2749
|
+
# addTime:策略创建时间
|
2750
|
+
# type:1 表示自定义策略,2 表示预设策略
|
2751
|
+
# description:策略描述
|
2752
|
+
# createMode:1 表示按业务权限创建的策略,其他值表示可以查看策略语法和通过策略语法更新策略
|
2753
|
+
# Attachments: 关联的用户数
|
2754
|
+
# ServiceType: 策略关联的产品
|
2755
|
+
# IsAttached: 当需要查询标记实体是否已经关联策略时不为null。0表示未关联策略,1表示已关联策略
|
2756
|
+
# @type List: Array
|
2757
|
+
# @param ServiceTypeList: 保留字段
|
2758
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2759
|
+
# @type ServiceTypeList: Array
|
2760
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2761
|
+
# @type RequestId: String
|
2762
|
+
|
2763
|
+
attr_accessor :TotalNum, :List, :ServiceTypeList, :RequestId
|
2764
|
+
|
2765
|
+
def initialize(totalnum=nil, list=nil, servicetypelist=nil, requestid=nil)
|
2766
|
+
@TotalNum = totalnum
|
2767
|
+
@List = list
|
2768
|
+
@ServiceTypeList = servicetypelist
|
2769
|
+
@RequestId = requestid
|
2770
|
+
end
|
2771
|
+
|
2772
|
+
def deserialize(params)
|
2773
|
+
@TotalNum = params['TotalNum']
|
2774
|
+
unless params['List'].nil?
|
2775
|
+
@List = []
|
2776
|
+
params['List'].each do |i|
|
2777
|
+
strategyinfo_tmp = StrategyInfo.new
|
2778
|
+
strategyinfo_tmp.deserialize(i)
|
2779
|
+
@List << strategyinfo_tmp
|
2780
|
+
end
|
2781
|
+
end
|
2782
|
+
@ServiceTypeList = params['ServiceTypeList']
|
2783
|
+
@RequestId = params['RequestId']
|
2784
|
+
end
|
2785
|
+
end
|
2786
|
+
|
2787
|
+
# ListPolicyVersions请求参数结构体
|
2788
|
+
class ListPolicyVersionsRequest < TencentCloud::Common::AbstractModel
|
2789
|
+
# @param PolicyId: 策略ID
|
2790
|
+
# @type PolicyId: Integer
|
2791
|
+
|
2792
|
+
attr_accessor :PolicyId
|
2793
|
+
|
2794
|
+
def initialize(policyid=nil)
|
2795
|
+
@PolicyId = policyid
|
2796
|
+
end
|
2797
|
+
|
2798
|
+
def deserialize(params)
|
2799
|
+
@PolicyId = params['PolicyId']
|
2800
|
+
end
|
2801
|
+
end
|
2802
|
+
|
2803
|
+
# ListPolicyVersions返回参数结构体
|
2804
|
+
class ListPolicyVersionsResponse < TencentCloud::Common::AbstractModel
|
2805
|
+
# @param Versions: 策略版本列表
|
2806
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2807
|
+
# @type Versions: Array
|
2808
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2809
|
+
# @type RequestId: String
|
2810
|
+
|
2811
|
+
attr_accessor :Versions, :RequestId
|
2812
|
+
|
2813
|
+
def initialize(versions=nil, requestid=nil)
|
2814
|
+
@Versions = versions
|
2815
|
+
@RequestId = requestid
|
2816
|
+
end
|
2817
|
+
|
2818
|
+
def deserialize(params)
|
2819
|
+
unless params['Versions'].nil?
|
2820
|
+
@Versions = []
|
2821
|
+
params['Versions'].each do |i|
|
2822
|
+
policyversionitem_tmp = PolicyVersionItem.new
|
2823
|
+
policyversionitem_tmp.deserialize(i)
|
2824
|
+
@Versions << policyversionitem_tmp
|
2825
|
+
end
|
2826
|
+
end
|
2827
|
+
@RequestId = params['RequestId']
|
2828
|
+
end
|
2829
|
+
end
|
2830
|
+
|
2831
|
+
# ListSAMLProviders请求参数结构体
|
2832
|
+
class ListSAMLProvidersRequest < TencentCloud::Common::AbstractModel
|
2833
|
+
|
2834
|
+
|
2835
|
+
def initialize()
|
2836
|
+
end
|
2837
|
+
|
2838
|
+
def deserialize(params)
|
2839
|
+
end
|
2840
|
+
end
|
2841
|
+
|
2842
|
+
# ListSAMLProviders返回参数结构体
|
2843
|
+
class ListSAMLProvidersResponse < TencentCloud::Common::AbstractModel
|
2844
|
+
# @param TotalCount: SAML身份提供商总数
|
2845
|
+
# @type TotalCount: Integer
|
2846
|
+
# @param SAMLProviderSet: SAML身份提供商列表
|
2847
|
+
# @type SAMLProviderSet: Array
|
2848
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2849
|
+
# @type RequestId: String
|
2850
|
+
|
2851
|
+
attr_accessor :TotalCount, :SAMLProviderSet, :RequestId
|
2852
|
+
|
2853
|
+
def initialize(totalcount=nil, samlproviderset=nil, requestid=nil)
|
2854
|
+
@TotalCount = totalcount
|
2855
|
+
@SAMLProviderSet = samlproviderset
|
2856
|
+
@RequestId = requestid
|
2857
|
+
end
|
2858
|
+
|
2859
|
+
def deserialize(params)
|
2860
|
+
@TotalCount = params['TotalCount']
|
2861
|
+
unless params['SAMLProviderSet'].nil?
|
2862
|
+
@SAMLProviderSet = []
|
2863
|
+
params['SAMLProviderSet'].each do |i|
|
2864
|
+
samlproviderinfo_tmp = SAMLProviderInfo.new
|
2865
|
+
samlproviderinfo_tmp.deserialize(i)
|
2866
|
+
@SAMLProviderSet << samlproviderinfo_tmp
|
2867
|
+
end
|
2868
|
+
end
|
2869
|
+
@RequestId = params['RequestId']
|
2870
|
+
end
|
2871
|
+
end
|
2872
|
+
|
2873
|
+
# ListUsersForGroup请求参数结构体
|
2874
|
+
class ListUsersForGroupRequest < TencentCloud::Common::AbstractModel
|
2875
|
+
# @param GroupId: 用户组 ID。
|
2876
|
+
# @type GroupId: Integer
|
2877
|
+
# @param Page: 页码。默认为1。
|
2878
|
+
# @type Page: Integer
|
2879
|
+
# @param Rp: 每页数量。默认为20。
|
2880
|
+
# @type Rp: Integer
|
2881
|
+
|
2882
|
+
attr_accessor :GroupId, :Page, :Rp
|
2883
|
+
|
2884
|
+
def initialize(groupid=nil, page=nil, rp=nil)
|
2885
|
+
@GroupId = groupid
|
2886
|
+
@Page = page
|
2887
|
+
@Rp = rp
|
2888
|
+
end
|
2889
|
+
|
2890
|
+
def deserialize(params)
|
2891
|
+
@GroupId = params['GroupId']
|
2892
|
+
@Page = params['Page']
|
2893
|
+
@Rp = params['Rp']
|
2894
|
+
end
|
2895
|
+
end
|
2896
|
+
|
2897
|
+
# ListUsersForGroup返回参数结构体
|
2898
|
+
class ListUsersForGroupResponse < TencentCloud::Common::AbstractModel
|
2899
|
+
# @param TotalNum: 用户组关联的用户总数。
|
2900
|
+
# @type TotalNum: Integer
|
2901
|
+
# @param UserInfo: 子用户信息。
|
2902
|
+
# @type UserInfo: Array
|
2903
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2904
|
+
# @type RequestId: String
|
2905
|
+
|
2906
|
+
attr_accessor :TotalNum, :UserInfo, :RequestId
|
2907
|
+
|
2908
|
+
def initialize(totalnum=nil, userinfo=nil, requestid=nil)
|
2909
|
+
@TotalNum = totalnum
|
2910
|
+
@UserInfo = userinfo
|
2911
|
+
@RequestId = requestid
|
2912
|
+
end
|
2913
|
+
|
2914
|
+
def deserialize(params)
|
2915
|
+
@TotalNum = params['TotalNum']
|
2916
|
+
unless params['UserInfo'].nil?
|
2917
|
+
@UserInfo = []
|
2918
|
+
params['UserInfo'].each do |i|
|
2919
|
+
groupmemberinfo_tmp = GroupMemberInfo.new
|
2920
|
+
groupmemberinfo_tmp.deserialize(i)
|
2921
|
+
@UserInfo << groupmemberinfo_tmp
|
2922
|
+
end
|
2923
|
+
end
|
2924
|
+
@RequestId = params['RequestId']
|
2925
|
+
end
|
2926
|
+
end
|
2927
|
+
|
2928
|
+
# ListUsers请求参数结构体
|
2929
|
+
class ListUsersRequest < TencentCloud::Common::AbstractModel
|
2930
|
+
|
2931
|
+
|
2932
|
+
def initialize()
|
2933
|
+
end
|
2934
|
+
|
2935
|
+
def deserialize(params)
|
2936
|
+
end
|
2937
|
+
end
|
2938
|
+
|
2939
|
+
# ListUsers返回参数结构体
|
2940
|
+
class ListUsersResponse < TencentCloud::Common::AbstractModel
|
2941
|
+
# @param Data: 子用户信息
|
2942
|
+
# @type Data: Array
|
2943
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2944
|
+
# @type RequestId: String
|
2945
|
+
|
2946
|
+
attr_accessor :Data, :RequestId
|
2947
|
+
|
2948
|
+
def initialize(data=nil, requestid=nil)
|
2949
|
+
@Data = data
|
2950
|
+
@RequestId = requestid
|
2951
|
+
end
|
2952
|
+
|
2953
|
+
def deserialize(params)
|
2954
|
+
unless params['Data'].nil?
|
2955
|
+
@Data = []
|
2956
|
+
params['Data'].each do |i|
|
2957
|
+
subaccountinfo_tmp = SubAccountInfo.new
|
2958
|
+
subaccountinfo_tmp.deserialize(i)
|
2959
|
+
@Data << subaccountinfo_tmp
|
2960
|
+
end
|
2961
|
+
end
|
2962
|
+
@RequestId = params['RequestId']
|
2963
|
+
end
|
2964
|
+
end
|
2965
|
+
|
2966
|
+
# ListWeChatWorkSubAccounts请求参数结构体
|
2967
|
+
class ListWeChatWorkSubAccountsRequest < TencentCloud::Common::AbstractModel
|
2968
|
+
# @param Offset: 偏移量
|
2969
|
+
# @type Offset: Integer
|
2970
|
+
# @param Limit: 限制数目
|
2971
|
+
# @type Limit: Integer
|
2972
|
+
|
2973
|
+
attr_accessor :Offset, :Limit
|
2974
|
+
|
2975
|
+
def initialize(offset=nil, limit=nil)
|
2976
|
+
@Offset = offset
|
2977
|
+
@Limit = limit
|
2978
|
+
end
|
2979
|
+
|
2980
|
+
def deserialize(params)
|
2981
|
+
@Offset = params['Offset']
|
2982
|
+
@Limit = params['Limit']
|
2983
|
+
end
|
2984
|
+
end
|
2985
|
+
|
2986
|
+
# ListWeChatWorkSubAccounts返回参数结构体
|
2987
|
+
class ListWeChatWorkSubAccountsResponse < TencentCloud::Common::AbstractModel
|
2988
|
+
# @param Data: 企业微信子用户列表。
|
2989
|
+
# @type Data: Array
|
2990
|
+
# @param TotalCount: 总数目。
|
2991
|
+
# @type TotalCount: Integer
|
2992
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2993
|
+
# @type RequestId: String
|
2994
|
+
|
2995
|
+
attr_accessor :Data, :TotalCount, :RequestId
|
2996
|
+
|
2997
|
+
def initialize(data=nil, totalcount=nil, requestid=nil)
|
2998
|
+
@Data = data
|
2999
|
+
@TotalCount = totalcount
|
3000
|
+
@RequestId = requestid
|
3001
|
+
end
|
3002
|
+
|
3003
|
+
def deserialize(params)
|
3004
|
+
unless params['Data'].nil?
|
3005
|
+
@Data = []
|
3006
|
+
params['Data'].each do |i|
|
3007
|
+
wechatworksubaccount_tmp = WeChatWorkSubAccount.new
|
3008
|
+
wechatworksubaccount_tmp.deserialize(i)
|
3009
|
+
@Data << wechatworksubaccount_tmp
|
3010
|
+
end
|
3011
|
+
end
|
3012
|
+
@TotalCount = params['TotalCount']
|
3013
|
+
@RequestId = params['RequestId']
|
3014
|
+
end
|
3015
|
+
end
|
3016
|
+
|
3017
|
+
# 登录和敏感操作flag
|
3018
|
+
class LoginActionFlag < TencentCloud::Common::AbstractModel
|
3019
|
+
# @param Phone: 手机
|
3020
|
+
# @type Phone: Integer
|
3021
|
+
# @param Token: 硬token
|
3022
|
+
# @type Token: Integer
|
3023
|
+
# @param Stoken: 软token
|
3024
|
+
# @type Stoken: Integer
|
3025
|
+
# @param Wechat: 微信
|
3026
|
+
# @type Wechat: Integer
|
3027
|
+
# @param Custom: 自定义
|
3028
|
+
# @type Custom: Integer
|
3029
|
+
|
3030
|
+
attr_accessor :Phone, :Token, :Stoken, :Wechat, :Custom
|
3031
|
+
|
3032
|
+
def initialize(phone=nil, token=nil, stoken=nil, wechat=nil, custom=nil)
|
3033
|
+
@Phone = phone
|
3034
|
+
@Token = token
|
3035
|
+
@Stoken = stoken
|
3036
|
+
@Wechat = wechat
|
3037
|
+
@Custom = custom
|
3038
|
+
end
|
3039
|
+
|
3040
|
+
def deserialize(params)
|
3041
|
+
@Phone = params['Phone']
|
3042
|
+
@Token = params['Token']
|
3043
|
+
@Stoken = params['Stoken']
|
3044
|
+
@Wechat = params['Wechat']
|
3045
|
+
@Custom = params['Custom']
|
3046
|
+
end
|
3047
|
+
end
|
3048
|
+
|
3049
|
+
# 登录和敏感操作flag
|
3050
|
+
class LoginActionFlagIntl < TencentCloud::Common::AbstractModel
|
3051
|
+
# @param Phone: 手机
|
3052
|
+
# @type Phone: Integer
|
3053
|
+
# @param Token: 硬token
|
3054
|
+
# @type Token: Integer
|
3055
|
+
# @param Stoken: 软token
|
3056
|
+
# @type Stoken: Integer
|
3057
|
+
# @param Wechat: 微信
|
3058
|
+
# @type Wechat: Integer
|
3059
|
+
# @param Custom: 自定义
|
3060
|
+
# @type Custom: Integer
|
3061
|
+
# @param Mail: 邮件
|
3062
|
+
# @type Mail: Integer
|
3063
|
+
|
3064
|
+
attr_accessor :Phone, :Token, :Stoken, :Wechat, :Custom, :Mail
|
3065
|
+
|
3066
|
+
def initialize(phone=nil, token=nil, stoken=nil, wechat=nil, custom=nil, mail=nil)
|
3067
|
+
@Phone = phone
|
3068
|
+
@Token = token
|
3069
|
+
@Stoken = stoken
|
3070
|
+
@Wechat = wechat
|
3071
|
+
@Custom = custom
|
3072
|
+
@Mail = mail
|
3073
|
+
end
|
3074
|
+
|
3075
|
+
def deserialize(params)
|
3076
|
+
@Phone = params['Phone']
|
3077
|
+
@Token = params['Token']
|
3078
|
+
@Stoken = params['Stoken']
|
3079
|
+
@Wechat = params['Wechat']
|
3080
|
+
@Custom = params['Custom']
|
3081
|
+
@Mail = params['Mail']
|
3082
|
+
end
|
3083
|
+
end
|
3084
|
+
|
3085
|
+
# 登录和敏感操作flag
|
3086
|
+
class LoginActionMfaFlag < TencentCloud::Common::AbstractModel
|
3087
|
+
# @param Phone: 手机
|
3088
|
+
# @type Phone: Integer
|
3089
|
+
# @param Stoken: 软token
|
3090
|
+
# @type Stoken: Integer
|
3091
|
+
# @param Wechat: 微信
|
3092
|
+
# @type Wechat: Integer
|
3093
|
+
|
3094
|
+
attr_accessor :Phone, :Stoken, :Wechat
|
3095
|
+
|
3096
|
+
def initialize(phone=nil, stoken=nil, wechat=nil)
|
3097
|
+
@Phone = phone
|
3098
|
+
@Stoken = stoken
|
3099
|
+
@Wechat = wechat
|
3100
|
+
end
|
3101
|
+
|
3102
|
+
def deserialize(params)
|
3103
|
+
@Phone = params['Phone']
|
3104
|
+
@Stoken = params['Stoken']
|
3105
|
+
@Wechat = params['Wechat']
|
3106
|
+
end
|
3107
|
+
end
|
3108
|
+
|
3109
|
+
# 异地登录设置
|
3110
|
+
class OffsiteFlag < TencentCloud::Common::AbstractModel
|
3111
|
+
# @param VerifyFlag: 验证标识
|
3112
|
+
# @type VerifyFlag: Integer
|
3113
|
+
# @param NotifyPhone: 手机通知
|
3114
|
+
# @type NotifyPhone: Integer
|
3115
|
+
# @param NotifyEmail: 邮箱通知
|
3116
|
+
# @type NotifyEmail: Integer
|
3117
|
+
# @param NotifyWechat: 微信通知
|
3118
|
+
# @type NotifyWechat: Integer
|
3119
|
+
# @param Tips: 提示
|
3120
|
+
# @type Tips: Integer
|
3121
|
+
|
3122
|
+
attr_accessor :VerifyFlag, :NotifyPhone, :NotifyEmail, :NotifyWechat, :Tips
|
3123
|
+
|
3124
|
+
def initialize(verifyflag=nil, notifyphone=nil, notifyemail=nil, notifywechat=nil, tips=nil)
|
3125
|
+
@VerifyFlag = verifyflag
|
3126
|
+
@NotifyPhone = notifyphone
|
3127
|
+
@NotifyEmail = notifyemail
|
3128
|
+
@NotifyWechat = notifywechat
|
3129
|
+
@Tips = tips
|
3130
|
+
end
|
3131
|
+
|
3132
|
+
def deserialize(params)
|
3133
|
+
@VerifyFlag = params['VerifyFlag']
|
3134
|
+
@NotifyPhone = params['NotifyPhone']
|
3135
|
+
@NotifyEmail = params['NotifyEmail']
|
3136
|
+
@NotifyWechat = params['NotifyWechat']
|
3137
|
+
@Tips = params['Tips']
|
3138
|
+
end
|
3139
|
+
end
|
3140
|
+
|
3141
|
+
# 策略版本详情
|
3142
|
+
class PolicyVersionDetail < TencentCloud::Common::AbstractModel
|
3143
|
+
# @param VersionId: 策略版本号
|
3144
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3145
|
+
# @type VersionId: Integer
|
3146
|
+
# @param CreateDate: 策略版本创建时间
|
3147
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3148
|
+
# @type CreateDate: String
|
3149
|
+
# @param IsDefaultVersion: 是否是正在生效的版本。0表示不是,1表示是
|
3150
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3151
|
+
# @type IsDefaultVersion: Integer
|
3152
|
+
# @param Document: 策略语法文本
|
3153
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3154
|
+
# @type Document: String
|
3155
|
+
|
3156
|
+
attr_accessor :VersionId, :CreateDate, :IsDefaultVersion, :Document
|
3157
|
+
|
3158
|
+
def initialize(versionid=nil, createdate=nil, isdefaultversion=nil, document=nil)
|
3159
|
+
@VersionId = versionid
|
3160
|
+
@CreateDate = createdate
|
3161
|
+
@IsDefaultVersion = isdefaultversion
|
3162
|
+
@Document = document
|
3163
|
+
end
|
3164
|
+
|
3165
|
+
def deserialize(params)
|
3166
|
+
@VersionId = params['VersionId']
|
3167
|
+
@CreateDate = params['CreateDate']
|
3168
|
+
@IsDefaultVersion = params['IsDefaultVersion']
|
3169
|
+
@Document = params['Document']
|
3170
|
+
end
|
3171
|
+
end
|
3172
|
+
|
3173
|
+
# 策略版本列表元素结构
|
3174
|
+
class PolicyVersionItem < TencentCloud::Common::AbstractModel
|
3175
|
+
# @param VersionId: 策略版本号
|
3176
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3177
|
+
# @type VersionId: Integer
|
3178
|
+
# @param CreateDate: 策略版本创建时间
|
3179
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3180
|
+
# @type CreateDate: String
|
3181
|
+
# @param IsDefaultVersion: 是否是正在生效的版本。0表示不是,1表示是
|
3182
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3183
|
+
# @type IsDefaultVersion: Integer
|
3184
|
+
|
3185
|
+
attr_accessor :VersionId, :CreateDate, :IsDefaultVersion
|
3186
|
+
|
3187
|
+
def initialize(versionid=nil, createdate=nil, isdefaultversion=nil)
|
3188
|
+
@VersionId = versionid
|
3189
|
+
@CreateDate = createdate
|
3190
|
+
@IsDefaultVersion = isdefaultversion
|
3191
|
+
end
|
3192
|
+
|
3193
|
+
def deserialize(params)
|
3194
|
+
@VersionId = params['VersionId']
|
3195
|
+
@CreateDate = params['CreateDate']
|
3196
|
+
@IsDefaultVersion = params['IsDefaultVersion']
|
3197
|
+
end
|
3198
|
+
end
|
3199
|
+
|
3200
|
+
# PutRolePermissionsBoundary请求参数结构体
|
3201
|
+
class PutRolePermissionsBoundaryRequest < TencentCloud::Common::AbstractModel
|
3202
|
+
# @param PolicyId: 策略ID
|
3203
|
+
# @type PolicyId: Integer
|
3204
|
+
# @param RoleId: 角色ID(与角色名至少填一个)
|
3205
|
+
# @type RoleId: String
|
3206
|
+
# @param RoleName: 角色名(与角色ID至少填一个)
|
3207
|
+
# @type RoleName: String
|
3208
|
+
|
3209
|
+
attr_accessor :PolicyId, :RoleId, :RoleName
|
3210
|
+
|
3211
|
+
def initialize(policyid=nil, roleid=nil, rolename=nil)
|
3212
|
+
@PolicyId = policyid
|
3213
|
+
@RoleId = roleid
|
3214
|
+
@RoleName = rolename
|
3215
|
+
end
|
3216
|
+
|
3217
|
+
def deserialize(params)
|
3218
|
+
@PolicyId = params['PolicyId']
|
3219
|
+
@RoleId = params['RoleId']
|
3220
|
+
@RoleName = params['RoleName']
|
3221
|
+
end
|
3222
|
+
end
|
3223
|
+
|
3224
|
+
# PutRolePermissionsBoundary返回参数结构体
|
3225
|
+
class PutRolePermissionsBoundaryResponse < TencentCloud::Common::AbstractModel
|
3226
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3227
|
+
# @type RequestId: String
|
3228
|
+
|
3229
|
+
attr_accessor :RequestId
|
3230
|
+
|
3231
|
+
def initialize(requestid=nil)
|
3232
|
+
@RequestId = requestid
|
3233
|
+
end
|
3234
|
+
|
3235
|
+
def deserialize(params)
|
3236
|
+
@RequestId = params['RequestId']
|
3237
|
+
end
|
3238
|
+
end
|
3239
|
+
|
3240
|
+
# PutUserPermissionsBoundary请求参数结构体
|
3241
|
+
class PutUserPermissionsBoundaryRequest < TencentCloud::Common::AbstractModel
|
3242
|
+
# @param TargetUin: 子账号Uin
|
3243
|
+
# @type TargetUin: Integer
|
3244
|
+
# @param PolicyId: 策略ID
|
3245
|
+
# @type PolicyId: Integer
|
3246
|
+
|
3247
|
+
attr_accessor :TargetUin, :PolicyId
|
3248
|
+
|
3249
|
+
def initialize(targetuin=nil, policyid=nil)
|
3250
|
+
@TargetUin = targetuin
|
3251
|
+
@PolicyId = policyid
|
3252
|
+
end
|
3253
|
+
|
3254
|
+
def deserialize(params)
|
3255
|
+
@TargetUin = params['TargetUin']
|
3256
|
+
@PolicyId = params['PolicyId']
|
3257
|
+
end
|
3258
|
+
end
|
3259
|
+
|
3260
|
+
# PutUserPermissionsBoundary返回参数结构体
|
3261
|
+
class PutUserPermissionsBoundaryResponse < TencentCloud::Common::AbstractModel
|
3262
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3263
|
+
# @type RequestId: String
|
3264
|
+
|
3265
|
+
attr_accessor :RequestId
|
3266
|
+
|
3267
|
+
def initialize(requestid=nil)
|
3268
|
+
@RequestId = requestid
|
3269
|
+
end
|
3270
|
+
|
3271
|
+
def deserialize(params)
|
3272
|
+
@RequestId = params['RequestId']
|
3273
|
+
end
|
3274
|
+
end
|
3275
|
+
|
3276
|
+
# RemoveUserFromGroup请求参数结构体
|
3277
|
+
class RemoveUserFromGroupRequest < TencentCloud::Common::AbstractModel
|
3278
|
+
# @param Info: 要删除的用户 UIN/UID和用户组 ID对应数组
|
3279
|
+
# @type Info: Array
|
3280
|
+
|
3281
|
+
attr_accessor :Info
|
3282
|
+
|
3283
|
+
def initialize(info=nil)
|
3284
|
+
@Info = info
|
3285
|
+
end
|
3286
|
+
|
3287
|
+
def deserialize(params)
|
3288
|
+
unless params['Info'].nil?
|
3289
|
+
@Info = []
|
3290
|
+
params['Info'].each do |i|
|
3291
|
+
groupidofuidinfo_tmp = GroupIdOfUidInfo.new
|
3292
|
+
groupidofuidinfo_tmp.deserialize(i)
|
3293
|
+
@Info << groupidofuidinfo_tmp
|
3294
|
+
end
|
3295
|
+
end
|
3296
|
+
end
|
3297
|
+
end
|
3298
|
+
|
3299
|
+
# RemoveUserFromGroup返回参数结构体
|
3300
|
+
class RemoveUserFromGroupResponse < TencentCloud::Common::AbstractModel
|
3301
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3302
|
+
# @type RequestId: String
|
3303
|
+
|
3304
|
+
attr_accessor :RequestId
|
3305
|
+
|
3306
|
+
def initialize(requestid=nil)
|
3307
|
+
@RequestId = requestid
|
3308
|
+
end
|
3309
|
+
|
3310
|
+
def deserialize(params)
|
3311
|
+
@RequestId = params['RequestId']
|
3312
|
+
end
|
3313
|
+
end
|
3314
|
+
|
3315
|
+
# 角色详细信息
|
3316
|
+
class RoleInfo < TencentCloud::Common::AbstractModel
|
3317
|
+
# @param RoleId: 角色ID
|
3318
|
+
# @type RoleId: String
|
3319
|
+
# @param RoleName: 角色名称
|
3320
|
+
# @type RoleName: String
|
3321
|
+
# @param PolicyDocument: 角色的策略文档
|
3322
|
+
# @type PolicyDocument: String
|
3323
|
+
# @param Description: 角色描述
|
3324
|
+
# @type Description: String
|
3325
|
+
# @param AddTime: 角色的创建时间
|
3326
|
+
# @type AddTime: String
|
3327
|
+
# @param UpdateTime: 角色的最近一次时间
|
3328
|
+
# @type UpdateTime: String
|
3329
|
+
# @param ConsoleLogin: 角色是否允许登录
|
3330
|
+
# @type ConsoleLogin: Integer
|
3331
|
+
# @param RoleType: 角色类型,取user、system或service_linked
|
3332
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3333
|
+
# @type RoleType: String
|
3334
|
+
# @param SessionDuration: 有效时间
|
3335
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3336
|
+
# @type SessionDuration: Integer
|
3337
|
+
# @param DeletionTaskId: 服务相关角色删除TaskId
|
3338
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3339
|
+
# @type DeletionTaskId: String
|
3340
|
+
|
3341
|
+
attr_accessor :RoleId, :RoleName, :PolicyDocument, :Description, :AddTime, :UpdateTime, :ConsoleLogin, :RoleType, :SessionDuration, :DeletionTaskId
|
3342
|
+
|
3343
|
+
def initialize(roleid=nil, rolename=nil, policydocument=nil, description=nil, addtime=nil, updatetime=nil, consolelogin=nil, roletype=nil, sessionduration=nil, deletiontaskid=nil)
|
3344
|
+
@RoleId = roleid
|
3345
|
+
@RoleName = rolename
|
3346
|
+
@PolicyDocument = policydocument
|
3347
|
+
@Description = description
|
3348
|
+
@AddTime = addtime
|
3349
|
+
@UpdateTime = updatetime
|
3350
|
+
@ConsoleLogin = consolelogin
|
3351
|
+
@RoleType = roletype
|
3352
|
+
@SessionDuration = sessionduration
|
3353
|
+
@DeletionTaskId = deletiontaskid
|
3354
|
+
end
|
3355
|
+
|
3356
|
+
def deserialize(params)
|
3357
|
+
@RoleId = params['RoleId']
|
3358
|
+
@RoleName = params['RoleName']
|
3359
|
+
@PolicyDocument = params['PolicyDocument']
|
3360
|
+
@Description = params['Description']
|
3361
|
+
@AddTime = params['AddTime']
|
3362
|
+
@UpdateTime = params['UpdateTime']
|
3363
|
+
@ConsoleLogin = params['ConsoleLogin']
|
3364
|
+
@RoleType = params['RoleType']
|
3365
|
+
@SessionDuration = params['SessionDuration']
|
3366
|
+
@DeletionTaskId = params['DeletionTaskId']
|
3367
|
+
end
|
3368
|
+
end
|
3369
|
+
|
3370
|
+
# SAML身份提供商
|
3371
|
+
class SAMLProviderInfo < TencentCloud::Common::AbstractModel
|
3372
|
+
# @param Name: SAML身份提供商名称
|
3373
|
+
# @type Name: String
|
3374
|
+
# @param Description: SAML身份提供商描述
|
3375
|
+
# @type Description: String
|
3376
|
+
# @param CreateTime: SAML身份提供商创建时间
|
3377
|
+
# @type CreateTime: String
|
3378
|
+
# @param ModifyTime: SAML身份提供商上次修改时间
|
3379
|
+
# @type ModifyTime: String
|
3380
|
+
|
3381
|
+
attr_accessor :Name, :Description, :CreateTime, :ModifyTime
|
3382
|
+
|
3383
|
+
def initialize(name=nil, description=nil, createtime=nil, modifytime=nil)
|
3384
|
+
@Name = name
|
3385
|
+
@Description = description
|
3386
|
+
@CreateTime = createtime
|
3387
|
+
@ModifyTime = modifytime
|
3388
|
+
end
|
3389
|
+
|
3390
|
+
def deserialize(params)
|
3391
|
+
@Name = params['Name']
|
3392
|
+
@Description = params['Description']
|
3393
|
+
@CreateTime = params['CreateTime']
|
3394
|
+
@ModifyTime = params['ModifyTime']
|
3395
|
+
end
|
3396
|
+
end
|
3397
|
+
|
3398
|
+
# 密钥最后使用时间
|
3399
|
+
class SecretIdLastUsed < TencentCloud::Common::AbstractModel
|
3400
|
+
# @param SecretId: 密钥ID
|
3401
|
+
# @type SecretId: String
|
3402
|
+
# @param LastUsedDate: 最后访问日期(有1天延迟)
|
3403
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3404
|
+
# @type LastUsedDate: String
|
3405
|
+
|
3406
|
+
attr_accessor :SecretId, :LastUsedDate
|
3407
|
+
|
3408
|
+
def initialize(secretid=nil, lastuseddate=nil)
|
3409
|
+
@SecretId = secretid
|
3410
|
+
@LastUsedDate = lastuseddate
|
3411
|
+
end
|
3412
|
+
|
3413
|
+
def deserialize(params)
|
3414
|
+
@SecretId = params['SecretId']
|
3415
|
+
@LastUsedDate = params['LastUsedDate']
|
3416
|
+
end
|
3417
|
+
end
|
3418
|
+
|
3419
|
+
# SetDefaultPolicyVersion请求参数结构体
|
3420
|
+
class SetDefaultPolicyVersionRequest < TencentCloud::Common::AbstractModel
|
3421
|
+
# @param PolicyId: 策略ID
|
3422
|
+
# @type PolicyId: Integer
|
3423
|
+
# @param VersionId: 策略版本号
|
3424
|
+
# @type VersionId: Integer
|
3425
|
+
|
3426
|
+
attr_accessor :PolicyId, :VersionId
|
3427
|
+
|
3428
|
+
def initialize(policyid=nil, versionid=nil)
|
3429
|
+
@PolicyId = policyid
|
3430
|
+
@VersionId = versionid
|
3431
|
+
end
|
3432
|
+
|
3433
|
+
def deserialize(params)
|
3434
|
+
@PolicyId = params['PolicyId']
|
3435
|
+
@VersionId = params['VersionId']
|
3436
|
+
end
|
3437
|
+
end
|
3438
|
+
|
3439
|
+
# SetDefaultPolicyVersion返回参数结构体
|
3440
|
+
class SetDefaultPolicyVersionResponse < TencentCloud::Common::AbstractModel
|
3441
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3442
|
+
# @type RequestId: String
|
3443
|
+
|
3444
|
+
attr_accessor :RequestId
|
3445
|
+
|
3446
|
+
def initialize(requestid=nil)
|
3447
|
+
@RequestId = requestid
|
3448
|
+
end
|
3449
|
+
|
3450
|
+
def deserialize(params)
|
3451
|
+
@RequestId = params['RequestId']
|
3452
|
+
end
|
3453
|
+
end
|
3454
|
+
|
3455
|
+
# SetMfaFlag请求参数结构体
|
3456
|
+
class SetMfaFlagRequest < TencentCloud::Common::AbstractModel
|
3457
|
+
# @param OpUin: 设置用户的uin
|
3458
|
+
# @type OpUin: Integer
|
3459
|
+
# @param LoginFlag: 登录保护设置
|
3460
|
+
# @type LoginFlag: :class:`Tencentcloud::Cam.v20190116.models.LoginActionMfaFlag`
|
3461
|
+
# @param ActionFlag: 操作保护设置
|
3462
|
+
# @type ActionFlag: :class:`Tencentcloud::Cam.v20190116.models.LoginActionMfaFlag`
|
3463
|
+
|
3464
|
+
attr_accessor :OpUin, :LoginFlag, :ActionFlag
|
3465
|
+
|
3466
|
+
def initialize(opuin=nil, loginflag=nil, actionflag=nil)
|
3467
|
+
@OpUin = opuin
|
3468
|
+
@LoginFlag = loginflag
|
3469
|
+
@ActionFlag = actionflag
|
3470
|
+
end
|
3471
|
+
|
3472
|
+
def deserialize(params)
|
3473
|
+
@OpUin = params['OpUin']
|
3474
|
+
unless params['LoginFlag'].nil?
|
3475
|
+
@LoginFlag = LoginActionMfaFlag.new
|
3476
|
+
@LoginFlag.deserialize(params['LoginFlag'])
|
3477
|
+
end
|
3478
|
+
unless params['ActionFlag'].nil?
|
3479
|
+
@ActionFlag = LoginActionMfaFlag.new
|
3480
|
+
@ActionFlag.deserialize(params['ActionFlag'])
|
3481
|
+
end
|
3482
|
+
end
|
3483
|
+
end
|
3484
|
+
|
3485
|
+
# SetMfaFlag返回参数结构体
|
3486
|
+
class SetMfaFlagResponse < TencentCloud::Common::AbstractModel
|
3487
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3488
|
+
# @type RequestId: String
|
3489
|
+
|
3490
|
+
attr_accessor :RequestId
|
3491
|
+
|
3492
|
+
def initialize(requestid=nil)
|
3493
|
+
@RequestId = requestid
|
3494
|
+
end
|
3495
|
+
|
3496
|
+
def deserialize(params)
|
3497
|
+
@RequestId = params['RequestId']
|
3498
|
+
end
|
3499
|
+
end
|
3500
|
+
|
3501
|
+
# 策略信息
|
3502
|
+
class StrategyInfo < TencentCloud::Common::AbstractModel
|
3503
|
+
# @param PolicyId: 策略ID。
|
3504
|
+
# @type PolicyId: Integer
|
3505
|
+
# @param PolicyName: 策略名称。
|
3506
|
+
# @type PolicyName: String
|
3507
|
+
# @param AddTime: 策略创建时间。
|
3508
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3509
|
+
# @type AddTime: String
|
3510
|
+
# @param Type: 策略类型。1 表示自定义策略,2 表示预设策略。
|
3511
|
+
# @type Type: Integer
|
3512
|
+
# @param Description: 策略描述。
|
3513
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3514
|
+
# @type Description: String
|
3515
|
+
# @param CreateMode: 创建来源,1 通过控制台创建, 2 通过策略语法创建。
|
3516
|
+
# @type CreateMode: Integer
|
3517
|
+
# @param Attachments: 关联的用户数
|
3518
|
+
# @type Attachments: Integer
|
3519
|
+
# @param ServiceType: 策略关联的产品
|
3520
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3521
|
+
# @type ServiceType: String
|
3522
|
+
# @param IsAttached: 当需要查询标记实体是否已经关联策略时不为null。0表示未关联策略,1表示已关联策略
|
3523
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3524
|
+
# @type IsAttached: Integer
|
3525
|
+
# @param Deactived: 是否已下线
|
3526
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3527
|
+
# @type Deactived: Integer
|
3528
|
+
# @param DeactivedDetail: 已下线产品列表
|
3529
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3530
|
+
# @type DeactivedDetail: Array
|
3531
|
+
# @param IsServiceLinkedPolicy: 是否是服务相关角色策略
|
3532
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3533
|
+
# @type IsServiceLinkedPolicy: Integer
|
3534
|
+
# @param AttachEntityCount: 关联策略实体数
|
3535
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3536
|
+
# @type AttachEntityCount: Integer
|
3537
|
+
# @param AttachEntityBoundaryCount: 关联权限边界实体数
|
3538
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3539
|
+
# @type AttachEntityBoundaryCount: Integer
|
3540
|
+
# @param UpdateTime: 最后编辑时间
|
3541
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3542
|
+
# @type UpdateTime: String
|
3543
|
+
|
3544
|
+
attr_accessor :PolicyId, :PolicyName, :AddTime, :Type, :Description, :CreateMode, :Attachments, :ServiceType, :IsAttached, :Deactived, :DeactivedDetail, :IsServiceLinkedPolicy, :AttachEntityCount, :AttachEntityBoundaryCount, :UpdateTime
|
3545
|
+
|
3546
|
+
def initialize(policyid=nil, policyname=nil, addtime=nil, type=nil, description=nil, createmode=nil, attachments=nil, servicetype=nil, isattached=nil, deactived=nil, deactiveddetail=nil, isservicelinkedpolicy=nil, attachentitycount=nil, attachentityboundarycount=nil, updatetime=nil)
|
3547
|
+
@PolicyId = policyid
|
3548
|
+
@PolicyName = policyname
|
3549
|
+
@AddTime = addtime
|
3550
|
+
@Type = type
|
3551
|
+
@Description = description
|
3552
|
+
@CreateMode = createmode
|
3553
|
+
@Attachments = attachments
|
3554
|
+
@ServiceType = servicetype
|
3555
|
+
@IsAttached = isattached
|
3556
|
+
@Deactived = deactived
|
3557
|
+
@DeactivedDetail = deactiveddetail
|
3558
|
+
@IsServiceLinkedPolicy = isservicelinkedpolicy
|
3559
|
+
@AttachEntityCount = attachentitycount
|
3560
|
+
@AttachEntityBoundaryCount = attachentityboundarycount
|
3561
|
+
@UpdateTime = updatetime
|
3562
|
+
end
|
3563
|
+
|
3564
|
+
def deserialize(params)
|
3565
|
+
@PolicyId = params['PolicyId']
|
3566
|
+
@PolicyName = params['PolicyName']
|
3567
|
+
@AddTime = params['AddTime']
|
3568
|
+
@Type = params['Type']
|
3569
|
+
@Description = params['Description']
|
3570
|
+
@CreateMode = params['CreateMode']
|
3571
|
+
@Attachments = params['Attachments']
|
3572
|
+
@ServiceType = params['ServiceType']
|
3573
|
+
@IsAttached = params['IsAttached']
|
3574
|
+
@Deactived = params['Deactived']
|
3575
|
+
@DeactivedDetail = params['DeactivedDetail']
|
3576
|
+
@IsServiceLinkedPolicy = params['IsServiceLinkedPolicy']
|
3577
|
+
@AttachEntityCount = params['AttachEntityCount']
|
3578
|
+
@AttachEntityBoundaryCount = params['AttachEntityBoundaryCount']
|
3579
|
+
@UpdateTime = params['UpdateTime']
|
3580
|
+
end
|
3581
|
+
end
|
3582
|
+
|
3583
|
+
# 子用户信息
|
3584
|
+
class SubAccountInfo < TencentCloud::Common::AbstractModel
|
3585
|
+
# @param Uin: 子用户用户 ID
|
3586
|
+
# @type Uin: Integer
|
3587
|
+
# @param Name: 子用户用户名
|
3588
|
+
# @type Name: String
|
3589
|
+
# @param Uid: 子用户 UID
|
3590
|
+
# @type Uid: Integer
|
3591
|
+
# @param Remark: 子用户备注
|
3592
|
+
# @type Remark: String
|
3593
|
+
# @param ConsoleLogin: 子用户能否登录控制台
|
3594
|
+
# @type ConsoleLogin: Integer
|
3595
|
+
# @param PhoneNum: 手机号
|
3596
|
+
# @type PhoneNum: String
|
3597
|
+
# @param CountryCode: 区号
|
3598
|
+
# @type CountryCode: String
|
3599
|
+
# @param Email: 邮箱
|
3600
|
+
# @type Email: String
|
3601
|
+
# @param CreateTime: 创建时间
|
3602
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3603
|
+
# @type CreateTime: String
|
3604
|
+
|
3605
|
+
attr_accessor :Uin, :Name, :Uid, :Remark, :ConsoleLogin, :PhoneNum, :CountryCode, :Email, :CreateTime
|
3606
|
+
|
3607
|
+
def initialize(uin=nil, name=nil, uid=nil, remark=nil, consolelogin=nil, phonenum=nil, countrycode=nil, email=nil, createtime=nil)
|
3608
|
+
@Uin = uin
|
3609
|
+
@Name = name
|
3610
|
+
@Uid = uid
|
3611
|
+
@Remark = remark
|
3612
|
+
@ConsoleLogin = consolelogin
|
3613
|
+
@PhoneNum = phonenum
|
3614
|
+
@CountryCode = countrycode
|
3615
|
+
@Email = email
|
3616
|
+
@CreateTime = createtime
|
3617
|
+
end
|
3618
|
+
|
3619
|
+
def deserialize(params)
|
3620
|
+
@Uin = params['Uin']
|
3621
|
+
@Name = params['Name']
|
3622
|
+
@Uid = params['Uid']
|
3623
|
+
@Remark = params['Remark']
|
3624
|
+
@ConsoleLogin = params['ConsoleLogin']
|
3625
|
+
@PhoneNum = params['PhoneNum']
|
3626
|
+
@CountryCode = params['CountryCode']
|
3627
|
+
@Email = params['Email']
|
3628
|
+
@CreateTime = params['CreateTime']
|
3629
|
+
end
|
3630
|
+
end
|
3631
|
+
|
3632
|
+
# 子用户信息
|
3633
|
+
class SubAccountUser < TencentCloud::Common::AbstractModel
|
3634
|
+
# @param Uin: 子用户用户 ID
|
3635
|
+
# @type Uin: Integer
|
3636
|
+
# @param Name: 子用户用户名
|
3637
|
+
# @type Name: String
|
3638
|
+
# @param Uid: 子用户 UID
|
3639
|
+
# @type Uid: Integer
|
3640
|
+
# @param Remark: 子用户备注
|
3641
|
+
# @type Remark: String
|
3642
|
+
# @param CreateTime: 创建时间
|
3643
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3644
|
+
# @type CreateTime: String
|
3645
|
+
# @param UserType: 用户类型(2:子用户;3:企业微信子用户;4:协作者;5:消息接收人)
|
3646
|
+
# @type UserType: Integer
|
3647
|
+
# @param LastLoginIp: 最近登录IP
|
3648
|
+
# @type LastLoginIp: String
|
3649
|
+
# @param LastLoginTime: 最近登录时间
|
3650
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3651
|
+
# @type LastLoginTime: String
|
3652
|
+
|
3653
|
+
attr_accessor :Uin, :Name, :Uid, :Remark, :CreateTime, :UserType, :LastLoginIp, :LastLoginTime
|
3654
|
+
|
3655
|
+
def initialize(uin=nil, name=nil, uid=nil, remark=nil, createtime=nil, usertype=nil, lastloginip=nil, lastlogintime=nil)
|
3656
|
+
@Uin = uin
|
3657
|
+
@Name = name
|
3658
|
+
@Uid = uid
|
3659
|
+
@Remark = remark
|
3660
|
+
@CreateTime = createtime
|
3661
|
+
@UserType = usertype
|
3662
|
+
@LastLoginIp = lastloginip
|
3663
|
+
@LastLoginTime = lastlogintime
|
3664
|
+
end
|
3665
|
+
|
3666
|
+
def deserialize(params)
|
3667
|
+
@Uin = params['Uin']
|
3668
|
+
@Name = params['Name']
|
3669
|
+
@Uid = params['Uid']
|
3670
|
+
@Remark = params['Remark']
|
3671
|
+
@CreateTime = params['CreateTime']
|
3672
|
+
@UserType = params['UserType']
|
3673
|
+
@LastLoginIp = params['LastLoginIp']
|
3674
|
+
@LastLoginTime = params['LastLoginTime']
|
3675
|
+
end
|
3676
|
+
end
|
3677
|
+
|
3678
|
+
# UpdateAssumeRolePolicy请求参数结构体
|
3679
|
+
class UpdateAssumeRolePolicyRequest < TencentCloud::Common::AbstractModel
|
3680
|
+
# @param PolicyDocument: 策略文档,示例:{"version":"2.0","statement":[{"action":"name/sts:AssumeRole","effect":"allow","principal":{"service":["cloudaudit.cloud.tencent.com","cls.cloud.tencent.com"]}}]},principal用于指定角色的授权对象。获取该参数可参阅 获取角色详情(https://cloud.tencent.com/document/product/598/36221) 输出参数RoleInfo
|
3681
|
+
# @type PolicyDocument: String
|
3682
|
+
# @param RoleId: 角色ID,用于指定角色,入参 RoleId 与 RoleName 二选一
|
3683
|
+
# @type RoleId: String
|
3684
|
+
# @param RoleName: 角色名称,用于指定角色,入参 RoleId 与 RoleName 二选一
|
3685
|
+
# @type RoleName: String
|
3686
|
+
|
3687
|
+
attr_accessor :PolicyDocument, :RoleId, :RoleName
|
3688
|
+
|
3689
|
+
def initialize(policydocument=nil, roleid=nil, rolename=nil)
|
3690
|
+
@PolicyDocument = policydocument
|
3691
|
+
@RoleId = roleid
|
3692
|
+
@RoleName = rolename
|
3693
|
+
end
|
3694
|
+
|
3695
|
+
def deserialize(params)
|
3696
|
+
@PolicyDocument = params['PolicyDocument']
|
3697
|
+
@RoleId = params['RoleId']
|
3698
|
+
@RoleName = params['RoleName']
|
3699
|
+
end
|
3700
|
+
end
|
3701
|
+
|
3702
|
+
# UpdateAssumeRolePolicy返回参数结构体
|
3703
|
+
class UpdateAssumeRolePolicyResponse < TencentCloud::Common::AbstractModel
|
3704
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3705
|
+
# @type RequestId: String
|
3706
|
+
|
3707
|
+
attr_accessor :RequestId
|
3708
|
+
|
3709
|
+
def initialize(requestid=nil)
|
3710
|
+
@RequestId = requestid
|
3711
|
+
end
|
3712
|
+
|
3713
|
+
def deserialize(params)
|
3714
|
+
@RequestId = params['RequestId']
|
3715
|
+
end
|
3716
|
+
end
|
3717
|
+
|
3718
|
+
# UpdateGroup请求参数结构体
|
3719
|
+
class UpdateGroupRequest < TencentCloud::Common::AbstractModel
|
3720
|
+
# @param GroupId: 用户组 ID
|
3721
|
+
# @type GroupId: Integer
|
3722
|
+
# @param GroupName: 用户组名
|
3723
|
+
# @type GroupName: String
|
3724
|
+
# @param Remark: 用户组描述
|
3725
|
+
# @type Remark: String
|
3726
|
+
|
3727
|
+
attr_accessor :GroupId, :GroupName, :Remark
|
3728
|
+
|
3729
|
+
def initialize(groupid=nil, groupname=nil, remark=nil)
|
3730
|
+
@GroupId = groupid
|
3731
|
+
@GroupName = groupname
|
3732
|
+
@Remark = remark
|
3733
|
+
end
|
3734
|
+
|
3735
|
+
def deserialize(params)
|
3736
|
+
@GroupId = params['GroupId']
|
3737
|
+
@GroupName = params['GroupName']
|
3738
|
+
@Remark = params['Remark']
|
3739
|
+
end
|
3740
|
+
end
|
3741
|
+
|
3742
|
+
# UpdateGroup返回参数结构体
|
3743
|
+
class UpdateGroupResponse < TencentCloud::Common::AbstractModel
|
3744
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3745
|
+
# @type RequestId: String
|
3746
|
+
|
3747
|
+
attr_accessor :RequestId
|
3748
|
+
|
3749
|
+
def initialize(requestid=nil)
|
3750
|
+
@RequestId = requestid
|
3751
|
+
end
|
3752
|
+
|
3753
|
+
def deserialize(params)
|
3754
|
+
@RequestId = params['RequestId']
|
3755
|
+
end
|
3756
|
+
end
|
3757
|
+
|
3758
|
+
# UpdatePolicy请求参数结构体
|
3759
|
+
class UpdatePolicyRequest < TencentCloud::Common::AbstractModel
|
3760
|
+
# @param PolicyId: 策略ID,与PolicyName二选一必填
|
3761
|
+
# @type PolicyId: Integer
|
3762
|
+
# @param PolicyName: 策略名,与PolicyId二选一必填
|
3763
|
+
# @type PolicyName: String
|
3764
|
+
# @param Description: 策略描述
|
3765
|
+
# @type Description: String
|
3766
|
+
# @param PolicyDocument: 策略文档,示例:{"version":"2.0","statement":[{"action":"name/sts:AssumeRole","effect":"allow","principal":{"service":["cloudaudit.cloud.tencent.com","cls.cloud.tencent.com"]}}]},principal用于指定角色的授权对象。获取该参数可参阅 获取角色详情(https://cloud.tencent.com/document/product/598/36221) 输出参数RoleInfo
|
3767
|
+
# @type PolicyDocument: String
|
3768
|
+
# @param Alias: 预设策略备注
|
3769
|
+
# @type Alias: String
|
3770
|
+
|
3771
|
+
attr_accessor :PolicyId, :PolicyName, :Description, :PolicyDocument, :Alias
|
3772
|
+
|
3773
|
+
def initialize(policyid=nil, policyname=nil, description=nil, policydocument=nil, _alias=nil)
|
3774
|
+
@PolicyId = policyid
|
3775
|
+
@PolicyName = policyname
|
3776
|
+
@Description = description
|
3777
|
+
@PolicyDocument = policydocument
|
3778
|
+
@Alias = _alias
|
3779
|
+
end
|
3780
|
+
|
3781
|
+
def deserialize(params)
|
3782
|
+
@PolicyId = params['PolicyId']
|
3783
|
+
@PolicyName = params['PolicyName']
|
3784
|
+
@Description = params['Description']
|
3785
|
+
@PolicyDocument = params['PolicyDocument']
|
3786
|
+
@Alias = params['Alias']
|
3787
|
+
end
|
3788
|
+
end
|
3789
|
+
|
3790
|
+
# UpdatePolicy返回参数结构体
|
3791
|
+
class UpdatePolicyResponse < TencentCloud::Common::AbstractModel
|
3792
|
+
# @param PolicyId: 策略id,入参是PolicyName时,才会返回
|
3793
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3794
|
+
# @type PolicyId: Integer
|
3795
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3796
|
+
# @type RequestId: String
|
3797
|
+
|
3798
|
+
attr_accessor :PolicyId, :RequestId
|
3799
|
+
|
3800
|
+
def initialize(policyid=nil, requestid=nil)
|
3801
|
+
@PolicyId = policyid
|
3802
|
+
@RequestId = requestid
|
3803
|
+
end
|
3804
|
+
|
3805
|
+
def deserialize(params)
|
3806
|
+
@PolicyId = params['PolicyId']
|
3807
|
+
@RequestId = params['RequestId']
|
3808
|
+
end
|
3809
|
+
end
|
3810
|
+
|
3811
|
+
# UpdateRoleConsoleLogin请求参数结构体
|
3812
|
+
class UpdateRoleConsoleLoginRequest < TencentCloud::Common::AbstractModel
|
3813
|
+
# @param ConsoleLogin: 是否可登录,可登录:1,不可登录:0
|
3814
|
+
# @type ConsoleLogin: Integer
|
3815
|
+
# @param RoleId: 角色ID
|
3816
|
+
# @type RoleId: Integer
|
3817
|
+
# @param RoleName: 角色名
|
3818
|
+
# @type RoleName: String
|
3819
|
+
|
3820
|
+
attr_accessor :ConsoleLogin, :RoleId, :RoleName
|
3821
|
+
|
3822
|
+
def initialize(consolelogin=nil, roleid=nil, rolename=nil)
|
3823
|
+
@ConsoleLogin = consolelogin
|
3824
|
+
@RoleId = roleid
|
3825
|
+
@RoleName = rolename
|
3826
|
+
end
|
3827
|
+
|
3828
|
+
def deserialize(params)
|
3829
|
+
@ConsoleLogin = params['ConsoleLogin']
|
3830
|
+
@RoleId = params['RoleId']
|
3831
|
+
@RoleName = params['RoleName']
|
3832
|
+
end
|
3833
|
+
end
|
3834
|
+
|
3835
|
+
# UpdateRoleConsoleLogin返回参数结构体
|
3836
|
+
class UpdateRoleConsoleLoginResponse < TencentCloud::Common::AbstractModel
|
3837
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3838
|
+
# @type RequestId: String
|
3839
|
+
|
3840
|
+
attr_accessor :RequestId
|
3841
|
+
|
3842
|
+
def initialize(requestid=nil)
|
3843
|
+
@RequestId = requestid
|
3844
|
+
end
|
3845
|
+
|
3846
|
+
def deserialize(params)
|
3847
|
+
@RequestId = params['RequestId']
|
3848
|
+
end
|
3849
|
+
end
|
3850
|
+
|
3851
|
+
# UpdateRoleDescription请求参数结构体
|
3852
|
+
class UpdateRoleDescriptionRequest < TencentCloud::Common::AbstractModel
|
3853
|
+
# @param Description: 角色描述
|
3854
|
+
# @type Description: String
|
3855
|
+
# @param RoleId: 角色ID,用于指定角色,入参 RoleId 与 RoleName 二选一
|
3856
|
+
# @type RoleId: String
|
3857
|
+
# @param RoleName: 角色名称,用于指定角色,入参 RoleId 与 RoleName 二选一
|
3858
|
+
# @type RoleName: String
|
3859
|
+
|
3860
|
+
attr_accessor :Description, :RoleId, :RoleName
|
3861
|
+
|
3862
|
+
def initialize(description=nil, roleid=nil, rolename=nil)
|
3863
|
+
@Description = description
|
3864
|
+
@RoleId = roleid
|
3865
|
+
@RoleName = rolename
|
3866
|
+
end
|
3867
|
+
|
3868
|
+
def deserialize(params)
|
3869
|
+
@Description = params['Description']
|
3870
|
+
@RoleId = params['RoleId']
|
3871
|
+
@RoleName = params['RoleName']
|
3872
|
+
end
|
3873
|
+
end
|
3874
|
+
|
3875
|
+
# UpdateRoleDescription返回参数结构体
|
3876
|
+
class UpdateRoleDescriptionResponse < TencentCloud::Common::AbstractModel
|
3877
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3878
|
+
# @type RequestId: String
|
3879
|
+
|
3880
|
+
attr_accessor :RequestId
|
3881
|
+
|
3882
|
+
def initialize(requestid=nil)
|
3883
|
+
@RequestId = requestid
|
3884
|
+
end
|
3885
|
+
|
3886
|
+
def deserialize(params)
|
3887
|
+
@RequestId = params['RequestId']
|
3888
|
+
end
|
3889
|
+
end
|
3890
|
+
|
3891
|
+
# UpdateSAMLProvider请求参数结构体
|
3892
|
+
class UpdateSAMLProviderRequest < TencentCloud::Common::AbstractModel
|
3893
|
+
# @param Name: SAML身份提供商名称
|
3894
|
+
# @type Name: String
|
3895
|
+
# @param Description: SAML身份提供商描述
|
3896
|
+
# @type Description: String
|
3897
|
+
# @param SAMLMetadataDocument: SAML身份提供商Base64编码的元数据文档
|
3898
|
+
# @type SAMLMetadataDocument: String
|
3899
|
+
|
3900
|
+
attr_accessor :Name, :Description, :SAMLMetadataDocument
|
3901
|
+
|
3902
|
+
def initialize(name=nil, description=nil, samlmetadatadocument=nil)
|
3903
|
+
@Name = name
|
3904
|
+
@Description = description
|
3905
|
+
@SAMLMetadataDocument = samlmetadatadocument
|
3906
|
+
end
|
3907
|
+
|
3908
|
+
def deserialize(params)
|
3909
|
+
@Name = params['Name']
|
3910
|
+
@Description = params['Description']
|
3911
|
+
@SAMLMetadataDocument = params['SAMLMetadataDocument']
|
3912
|
+
end
|
3913
|
+
end
|
3914
|
+
|
3915
|
+
# UpdateSAMLProvider返回参数结构体
|
3916
|
+
class UpdateSAMLProviderResponse < TencentCloud::Common::AbstractModel
|
3917
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3918
|
+
# @type RequestId: String
|
3919
|
+
|
3920
|
+
attr_accessor :RequestId
|
3921
|
+
|
3922
|
+
def initialize(requestid=nil)
|
3923
|
+
@RequestId = requestid
|
3924
|
+
end
|
3925
|
+
|
3926
|
+
def deserialize(params)
|
3927
|
+
@RequestId = params['RequestId']
|
3928
|
+
end
|
3929
|
+
end
|
3930
|
+
|
3931
|
+
# UpdateUser请求参数结构体
|
3932
|
+
class UpdateUserRequest < TencentCloud::Common::AbstractModel
|
3933
|
+
# @param Name: 子用户用户名
|
3934
|
+
# @type Name: String
|
3935
|
+
# @param Remark: 子用户备注
|
3936
|
+
# @type Remark: String
|
3937
|
+
# @param ConsoleLogin: 子用户是否可以登录控制台。传0子用户无法登录控制台,传1子用户可以登录控制台。
|
3938
|
+
# @type ConsoleLogin: Integer
|
3939
|
+
# @param Password: 子用户控制台登录密码,若未进行密码规则设置则默认密码规则为8位以上同时包含大小写字母、数字和特殊字符。只有可以登录控制台时才有效,如果传空并且上面指定允许登录控制台,则自动生成随机密码,随机密码规则为32位包含大小写字母、数字和特殊字符。
|
3940
|
+
# @type Password: String
|
3941
|
+
# @param NeedResetPassword: 子用户是否要在下次登录时重置密码。传0子用户下次登录控制台不需重置密码,传1子用户下次登录控制台需要重置密码。
|
3942
|
+
# @type NeedResetPassword: Integer
|
3943
|
+
# @param PhoneNum: 手机号
|
3944
|
+
# @type PhoneNum: String
|
3945
|
+
# @param CountryCode: 区号
|
3946
|
+
# @type CountryCode: String
|
3947
|
+
# @param Email: 邮箱
|
3948
|
+
# @type Email: String
|
3949
|
+
|
3950
|
+
attr_accessor :Name, :Remark, :ConsoleLogin, :Password, :NeedResetPassword, :PhoneNum, :CountryCode, :Email
|
3951
|
+
|
3952
|
+
def initialize(name=nil, remark=nil, consolelogin=nil, password=nil, needresetpassword=nil, phonenum=nil, countrycode=nil, email=nil)
|
3953
|
+
@Name = name
|
3954
|
+
@Remark = remark
|
3955
|
+
@ConsoleLogin = consolelogin
|
3956
|
+
@Password = password
|
3957
|
+
@NeedResetPassword = needresetpassword
|
3958
|
+
@PhoneNum = phonenum
|
3959
|
+
@CountryCode = countrycode
|
3960
|
+
@Email = email
|
3961
|
+
end
|
3962
|
+
|
3963
|
+
def deserialize(params)
|
3964
|
+
@Name = params['Name']
|
3965
|
+
@Remark = params['Remark']
|
3966
|
+
@ConsoleLogin = params['ConsoleLogin']
|
3967
|
+
@Password = params['Password']
|
3968
|
+
@NeedResetPassword = params['NeedResetPassword']
|
3969
|
+
@PhoneNum = params['PhoneNum']
|
3970
|
+
@CountryCode = params['CountryCode']
|
3971
|
+
@Email = params['Email']
|
3972
|
+
end
|
3973
|
+
end
|
3974
|
+
|
3975
|
+
# UpdateUser返回参数结构体
|
3976
|
+
class UpdateUserResponse < TencentCloud::Common::AbstractModel
|
3977
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3978
|
+
# @type RequestId: String
|
3979
|
+
|
3980
|
+
attr_accessor :RequestId
|
3981
|
+
|
3982
|
+
def initialize(requestid=nil)
|
3983
|
+
@RequestId = requestid
|
3984
|
+
end
|
3985
|
+
|
3986
|
+
def deserialize(params)
|
3987
|
+
@RequestId = params['RequestId']
|
3988
|
+
end
|
3989
|
+
end
|
3990
|
+
|
3991
|
+
# UpdateUserSAMLConfig请求参数结构体
|
3992
|
+
class UpdateUserSAMLConfigRequest < TencentCloud::Common::AbstractModel
|
3993
|
+
# @param Operate: 修改的操作类型:enable:启用,disable:禁用,updateSAML:修改元数据文档
|
3994
|
+
# @type Operate: String
|
3995
|
+
# @param SAMLMetadataDocument: 元数据文档,需要base64 encode,仅当Operate为updateSAML时需要此参数
|
3996
|
+
# @type SAMLMetadataDocument: String
|
3997
|
+
|
3998
|
+
attr_accessor :Operate, :SAMLMetadataDocument
|
3999
|
+
|
4000
|
+
def initialize(operate=nil, samlmetadatadocument=nil)
|
4001
|
+
@Operate = operate
|
4002
|
+
@SAMLMetadataDocument = samlmetadatadocument
|
4003
|
+
end
|
4004
|
+
|
4005
|
+
def deserialize(params)
|
4006
|
+
@Operate = params['Operate']
|
4007
|
+
@SAMLMetadataDocument = params['SAMLMetadataDocument']
|
4008
|
+
end
|
4009
|
+
end
|
4010
|
+
|
4011
|
+
# UpdateUserSAMLConfig返回参数结构体
|
4012
|
+
class UpdateUserSAMLConfigResponse < TencentCloud::Common::AbstractModel
|
4013
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4014
|
+
# @type RequestId: String
|
4015
|
+
|
4016
|
+
attr_accessor :RequestId
|
4017
|
+
|
4018
|
+
def initialize(requestid=nil)
|
4019
|
+
@RequestId = requestid
|
4020
|
+
end
|
4021
|
+
|
4022
|
+
def deserialize(params)
|
4023
|
+
@RequestId = params['RequestId']
|
4024
|
+
end
|
4025
|
+
end
|
4026
|
+
|
4027
|
+
# 企业微信子用户
|
4028
|
+
class WeChatWorkSubAccount < TencentCloud::Common::AbstractModel
|
4029
|
+
# @param Uin: 子用户用户 ID
|
4030
|
+
# @type Uin: Integer
|
4031
|
+
# @param Name: 子用户用户名
|
4032
|
+
# @type Name: String
|
4033
|
+
# @param Uid: 子用户 UID
|
4034
|
+
# @type Uid: Integer
|
4035
|
+
# @param Remark: 备注
|
4036
|
+
# @type Remark: String
|
4037
|
+
# @param ConsoleLogin: 子用户能否登录控制台
|
4038
|
+
# @type ConsoleLogin: Integer
|
4039
|
+
# @param PhoneNum: 手机号
|
4040
|
+
# @type PhoneNum: String
|
4041
|
+
# @param CountryCode: 区号
|
4042
|
+
# @type CountryCode: String
|
4043
|
+
# @param Email: 邮箱
|
4044
|
+
# @type Email: String
|
4045
|
+
# @param WeChatWorkUserId: 企业微信UserId
|
4046
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4047
|
+
# @type WeChatWorkUserId: String
|
4048
|
+
# @param CreateTime: 创建时间
|
4049
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4050
|
+
# @type CreateTime: String
|
4051
|
+
|
4052
|
+
attr_accessor :Uin, :Name, :Uid, :Remark, :ConsoleLogin, :PhoneNum, :CountryCode, :Email, :WeChatWorkUserId, :CreateTime
|
4053
|
+
|
4054
|
+
def initialize(uin=nil, name=nil, uid=nil, remark=nil, consolelogin=nil, phonenum=nil, countrycode=nil, email=nil, wechatworkuserid=nil, createtime=nil)
|
4055
|
+
@Uin = uin
|
4056
|
+
@Name = name
|
4057
|
+
@Uid = uid
|
4058
|
+
@Remark = remark
|
4059
|
+
@ConsoleLogin = consolelogin
|
4060
|
+
@PhoneNum = phonenum
|
4061
|
+
@CountryCode = countrycode
|
4062
|
+
@Email = email
|
4063
|
+
@WeChatWorkUserId = wechatworkuserid
|
4064
|
+
@CreateTime = createtime
|
4065
|
+
end
|
4066
|
+
|
4067
|
+
def deserialize(params)
|
4068
|
+
@Uin = params['Uin']
|
4069
|
+
@Name = params['Name']
|
4070
|
+
@Uid = params['Uid']
|
4071
|
+
@Remark = params['Remark']
|
4072
|
+
@ConsoleLogin = params['ConsoleLogin']
|
4073
|
+
@PhoneNum = params['PhoneNum']
|
4074
|
+
@CountryCode = params['CountryCode']
|
4075
|
+
@Email = params['Email']
|
4076
|
+
@WeChatWorkUserId = params['WeChatWorkUserId']
|
4077
|
+
@CreateTime = params['CreateTime']
|
4078
|
+
end
|
4079
|
+
end
|
4080
|
+
|
4081
|
+
end
|
4082
|
+
end
|
4083
|
+
end
|
4084
|
+
|