tencentcloud-sdk-organization 3.0.452 → 3.0.454
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210331/client.rb +48 -0
- data/lib/v20210331/models.rb +158 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a536e2b978061b7bcf92a5a73288bf8d35fa7d44
|
4
|
+
data.tar.gz: d6cca3ad73f2eacdbfb011543cdf38f55f28e00c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3346320ce6d1c30581a09bc4c5e32f74e85c54aacd817211036e83cfb6f5f78cab70afbb78146511a6f32a19eb5a5641a015dda886df248714800ea7dc95a37a
|
7
|
+
data.tar.gz: 10f397037162731aab1e1e9ac23a77ae2ad5a706deb656e7f9d191d3df0b2f57a98ecb52dd6ba8604b50bbf12352f1683c9103aca971ae822de7699a78005bd3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.454
|
data/lib/v20210331/client.rb
CHANGED
@@ -77,6 +77,30 @@ module TencentCloud
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
78
|
end
|
79
79
|
|
80
|
+
# 取消组织成员和组织管理员子账号的授权关系
|
81
|
+
|
82
|
+
# @param request: Request instance for CancelOrganizationMemberAuthAccount.
|
83
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::CancelOrganizationMemberAuthAccountRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::CancelOrganizationMemberAuthAccountResponse`
|
85
|
+
def CancelOrganizationMemberAuthAccount(request)
|
86
|
+
body = send_request('CancelOrganizationMemberAuthAccount', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = CancelOrganizationMemberAuthAccountResponse.new
|
90
|
+
model.deserialize(response['Response'])
|
91
|
+
model
|
92
|
+
else
|
93
|
+
code = response['Response']['Error']['Code']
|
94
|
+
message = response['Response']['Error']['Message']
|
95
|
+
reqid = response['Response']['RequestId']
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
97
|
+
end
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
99
|
+
raise e
|
100
|
+
rescue StandardError => e
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
|
+
end
|
103
|
+
|
80
104
|
# 创建组织成员
|
81
105
|
|
82
106
|
# @param request: Request instance for CreateOrganizationMember.
|
@@ -221,6 +245,30 @@ module TencentCloud
|
|
221
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
246
|
end
|
223
247
|
|
248
|
+
# 获取组织成员被绑定授权关系的子账号列表
|
249
|
+
|
250
|
+
# @param request: Request instance for DescribeOrganizationMemberAuthAccounts.
|
251
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationMemberAuthAccountsRequest`
|
252
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::DescribeOrganizationMemberAuthAccountsResponse`
|
253
|
+
def DescribeOrganizationMemberAuthAccounts(request)
|
254
|
+
body = send_request('DescribeOrganizationMemberAuthAccounts', request.serialize)
|
255
|
+
response = JSON.parse(body)
|
256
|
+
if response['Response'].key?('Error') == false
|
257
|
+
model = DescribeOrganizationMemberAuthAccountsResponse.new
|
258
|
+
model.deserialize(response['Response'])
|
259
|
+
model
|
260
|
+
else
|
261
|
+
code = response['Response']['Error']['Code']
|
262
|
+
message = response['Response']['Error']['Message']
|
263
|
+
reqid = response['Response']['RequestId']
|
264
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
+
end
|
266
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
+
raise e
|
268
|
+
rescue StandardError => e
|
269
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
+
end
|
271
|
+
|
224
272
|
# 获取组织成员可被管理的身份列表
|
225
273
|
|
226
274
|
# @param request: Request instance for DescribeOrganizationMemberAuthIdentities.
|
data/lib/v20210331/models.rb
CHANGED
@@ -123,6 +123,46 @@ module TencentCloud
|
|
123
123
|
end
|
124
124
|
end
|
125
125
|
|
126
|
+
# CancelOrganizationMemberAuthAccount请求参数结构体
|
127
|
+
class CancelOrganizationMemberAuthAccountRequest < TencentCloud::Common::AbstractModel
|
128
|
+
# @param MemberUin: 成员Uin。
|
129
|
+
# @type MemberUin: Integer
|
130
|
+
# @param PolicyId: 策略ID。
|
131
|
+
# @type PolicyId: Integer
|
132
|
+
# @param OrgSubAccountUin: 组织子账号Uin。
|
133
|
+
# @type OrgSubAccountUin: Integer
|
134
|
+
|
135
|
+
attr_accessor :MemberUin, :PolicyId, :OrgSubAccountUin
|
136
|
+
|
137
|
+
def initialize(memberuin=nil, policyid=nil, orgsubaccountuin=nil)
|
138
|
+
@MemberUin = memberuin
|
139
|
+
@PolicyId = policyid
|
140
|
+
@OrgSubAccountUin = orgsubaccountuin
|
141
|
+
end
|
142
|
+
|
143
|
+
def deserialize(params)
|
144
|
+
@MemberUin = params['MemberUin']
|
145
|
+
@PolicyId = params['PolicyId']
|
146
|
+
@OrgSubAccountUin = params['OrgSubAccountUin']
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
150
|
+
# CancelOrganizationMemberAuthAccount返回参数结构体
|
151
|
+
class CancelOrganizationMemberAuthAccountResponse < TencentCloud::Common::AbstractModel
|
152
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
153
|
+
# @type RequestId: String
|
154
|
+
|
155
|
+
attr_accessor :RequestId
|
156
|
+
|
157
|
+
def initialize(requestid=nil)
|
158
|
+
@RequestId = requestid
|
159
|
+
end
|
160
|
+
|
161
|
+
def deserialize(params)
|
162
|
+
@RequestId = params['RequestId']
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
126
166
|
# CreateOrganizationMemberPolicy请求参数结构体
|
127
167
|
class CreateOrganizationMemberPolicyRequest < TencentCloud::Common::AbstractModel
|
128
168
|
# @param MemberUin: 成员Uin。
|
@@ -362,6 +402,67 @@ module TencentCloud
|
|
362
402
|
end
|
363
403
|
end
|
364
404
|
|
405
|
+
# DescribeOrganizationMemberAuthAccounts请求参数结构体
|
406
|
+
class DescribeOrganizationMemberAuthAccountsRequest < TencentCloud::Common::AbstractModel
|
407
|
+
# @param Offset: 偏移量。
|
408
|
+
# @type Offset: Integer
|
409
|
+
# @param Limit: 限制数目。
|
410
|
+
# @type Limit: Integer
|
411
|
+
# @param MemberUin: 成员Uin。
|
412
|
+
# @type MemberUin: Integer
|
413
|
+
# @param PolicyId: 策略ID。
|
414
|
+
# @type PolicyId: Integer
|
415
|
+
|
416
|
+
attr_accessor :Offset, :Limit, :MemberUin, :PolicyId
|
417
|
+
|
418
|
+
def initialize(offset=nil, limit=nil, memberuin=nil, policyid=nil)
|
419
|
+
@Offset = offset
|
420
|
+
@Limit = limit
|
421
|
+
@MemberUin = memberuin
|
422
|
+
@PolicyId = policyid
|
423
|
+
end
|
424
|
+
|
425
|
+
def deserialize(params)
|
426
|
+
@Offset = params['Offset']
|
427
|
+
@Limit = params['Limit']
|
428
|
+
@MemberUin = params['MemberUin']
|
429
|
+
@PolicyId = params['PolicyId']
|
430
|
+
end
|
431
|
+
end
|
432
|
+
|
433
|
+
# DescribeOrganizationMemberAuthAccounts返回参数结构体
|
434
|
+
class DescribeOrganizationMemberAuthAccountsResponse < TencentCloud::Common::AbstractModel
|
435
|
+
# @param Items: 列表
|
436
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
437
|
+
# @type Items: Array
|
438
|
+
# @param Total: 总数目
|
439
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
440
|
+
# @type Total: Integer
|
441
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
442
|
+
# @type RequestId: String
|
443
|
+
|
444
|
+
attr_accessor :Items, :Total, :RequestId
|
445
|
+
|
446
|
+
def initialize(items=nil, total=nil, requestid=nil)
|
447
|
+
@Items = items
|
448
|
+
@Total = total
|
449
|
+
@RequestId = requestid
|
450
|
+
end
|
451
|
+
|
452
|
+
def deserialize(params)
|
453
|
+
unless params['Items'].nil?
|
454
|
+
@Items = []
|
455
|
+
params['Items'].each do |i|
|
456
|
+
orgmemberauthaccount_tmp = OrgMemberAuthAccount.new
|
457
|
+
orgmemberauthaccount_tmp.deserialize(i)
|
458
|
+
@Items << orgmemberauthaccount_tmp
|
459
|
+
end
|
460
|
+
end
|
461
|
+
@Total = params['Total']
|
462
|
+
@RequestId = params['RequestId']
|
463
|
+
end
|
464
|
+
end
|
465
|
+
|
365
466
|
# DescribeOrganizationMemberAuthIdentities请求参数结构体
|
366
467
|
class DescribeOrganizationMemberAuthIdentitiesRequest < TencentCloud::Common::AbstractModel
|
367
468
|
# @param Offset: 偏移量。
|
@@ -1022,6 +1123,63 @@ module TencentCloud
|
|
1022
1123
|
end
|
1023
1124
|
end
|
1024
1125
|
|
1126
|
+
# 成员和子账号的授权关系
|
1127
|
+
class OrgMemberAuthAccount < TencentCloud::Common::AbstractModel
|
1128
|
+
# @param OrgSubAccountUin: 组织子账号Uin。
|
1129
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1130
|
+
# @type OrgSubAccountUin: Integer
|
1131
|
+
# @param PolicyId: 策略ID。
|
1132
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1133
|
+
# @type PolicyId: Integer
|
1134
|
+
# @param PolicyName: 策略名。
|
1135
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1136
|
+
# @type PolicyName: String
|
1137
|
+
# @param IdentityId: 身份ID。
|
1138
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1139
|
+
# @type IdentityId: Integer
|
1140
|
+
# @param IdentityRoleName: 身份角色名。
|
1141
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1142
|
+
# @type IdentityRoleName: String
|
1143
|
+
# @param IdentityRoleAliasName: 身份角色别名。
|
1144
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1145
|
+
# @type IdentityRoleAliasName: String
|
1146
|
+
# @param CreateTime: 创建时间。
|
1147
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1148
|
+
# @type CreateTime: String
|
1149
|
+
# @param UpdateTime: 更新时间。
|
1150
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1151
|
+
# @type UpdateTime: String
|
1152
|
+
# @param OrgSubAccountName: 子账号名称
|
1153
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1154
|
+
# @type OrgSubAccountName: String
|
1155
|
+
|
1156
|
+
attr_accessor :OrgSubAccountUin, :PolicyId, :PolicyName, :IdentityId, :IdentityRoleName, :IdentityRoleAliasName, :CreateTime, :UpdateTime, :OrgSubAccountName
|
1157
|
+
|
1158
|
+
def initialize(orgsubaccountuin=nil, policyid=nil, policyname=nil, identityid=nil, identityrolename=nil, identityrolealiasname=nil, createtime=nil, updatetime=nil, orgsubaccountname=nil)
|
1159
|
+
@OrgSubAccountUin = orgsubaccountuin
|
1160
|
+
@PolicyId = policyid
|
1161
|
+
@PolicyName = policyname
|
1162
|
+
@IdentityId = identityid
|
1163
|
+
@IdentityRoleName = identityrolename
|
1164
|
+
@IdentityRoleAliasName = identityrolealiasname
|
1165
|
+
@CreateTime = createtime
|
1166
|
+
@UpdateTime = updatetime
|
1167
|
+
@OrgSubAccountName = orgsubaccountname
|
1168
|
+
end
|
1169
|
+
|
1170
|
+
def deserialize(params)
|
1171
|
+
@OrgSubAccountUin = params['OrgSubAccountUin']
|
1172
|
+
@PolicyId = params['PolicyId']
|
1173
|
+
@PolicyName = params['PolicyName']
|
1174
|
+
@IdentityId = params['IdentityId']
|
1175
|
+
@IdentityRoleName = params['IdentityRoleName']
|
1176
|
+
@IdentityRoleAliasName = params['IdentityRoleAliasName']
|
1177
|
+
@CreateTime = params['CreateTime']
|
1178
|
+
@UpdateTime = params['UpdateTime']
|
1179
|
+
@OrgSubAccountName = params['OrgSubAccountName']
|
1180
|
+
end
|
1181
|
+
end
|
1182
|
+
|
1025
1183
|
# 组织成员可授权的身份
|
1026
1184
|
class OrgMemberAuthIdentity < TencentCloud::Common::AbstractModel
|
1027
1185
|
# @param IdentityId: 身份ID。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-organization
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.454
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -33,11 +33,11 @@ executables: []
|
|
33
33
|
extensions: []
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
|
-
- lib/v20181225/models.rb
|
37
|
-
- lib/v20181225/client.rb
|
38
|
-
- lib/tencentcloud-sdk-organization.rb
|
39
|
-
- lib/v20210331/models.rb
|
40
36
|
- lib/v20210331/client.rb
|
37
|
+
- lib/v20210331/models.rb
|
38
|
+
- lib/tencentcloud-sdk-organization.rb
|
39
|
+
- lib/v20181225/client.rb
|
40
|
+
- lib/v20181225/models.rb
|
41
41
|
- lib/VERSION
|
42
42
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
43
43
|
licenses:
|