tencentcloud-sdk-organization 3.0.630 → 3.0.632
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 +68 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39a6b759b344bbbef12b8019779e54b9471a27c3
|
4
|
+
data.tar.gz: 91aea03a4b9cd7f64e166d027a153c871637ec1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1da0d8270c9d17d10215d0d240f2d6897383f6dc1a99f5e0b722089bd21ea7fc64f7f6132439c2344ee470da03498a6306b6a1bd1db02b6c887f052e5a9bd7d
|
7
|
+
data.tar.gz: d1acf7e5fe6ed61463866fc012cf94e8a2bcf8d505d5aca53d03d96852e6ba1a51f8929149428e5477291a931eb0ed95df4b0cefa83861955d8d93497550c411
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.632
|
data/lib/v20210331/client.rb
CHANGED
@@ -149,6 +149,30 @@ module TencentCloud
|
|
149
149
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
150
150
|
end
|
151
151
|
|
152
|
+
# 添加组织成员访问授权
|
153
|
+
|
154
|
+
# @param request: Request instance for CreateOrganizationMemberAuthIdentity.
|
155
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::CreateOrganizationMemberAuthIdentityRequest`
|
156
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::CreateOrganizationMemberAuthIdentityResponse`
|
157
|
+
def CreateOrganizationMemberAuthIdentity(request)
|
158
|
+
body = send_request('CreateOrganizationMemberAuthIdentity', request.serialize)
|
159
|
+
response = JSON.parse(body)
|
160
|
+
if response['Response'].key?('Error') == false
|
161
|
+
model = CreateOrganizationMemberAuthIdentityResponse.new
|
162
|
+
model.deserialize(response['Response'])
|
163
|
+
model
|
164
|
+
else
|
165
|
+
code = response['Response']['Error']['Code']
|
166
|
+
message = response['Response']['Error']['Message']
|
167
|
+
reqid = response['Response']['RequestId']
|
168
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
169
|
+
end
|
170
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
171
|
+
raise e
|
172
|
+
rescue StandardError => e
|
173
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
174
|
+
end
|
175
|
+
|
152
176
|
# 创建组织成员访问授权策略
|
153
177
|
|
154
178
|
# @param request: Request instance for CreateOrganizationMemberPolicy.
|
@@ -197,6 +221,30 @@ module TencentCloud
|
|
197
221
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
222
|
end
|
199
223
|
|
224
|
+
# 删除组织成员访问策略
|
225
|
+
|
226
|
+
# @param request: Request instance for DeleteOrganizationMembersPolicy.
|
227
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::DeleteOrganizationMembersPolicyRequest`
|
228
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::DeleteOrganizationMembersPolicyResponse`
|
229
|
+
def DeleteOrganizationMembersPolicy(request)
|
230
|
+
body = send_request('DeleteOrganizationMembersPolicy', request.serialize)
|
231
|
+
response = JSON.parse(body)
|
232
|
+
if response['Response'].key?('Error') == false
|
233
|
+
model = DeleteOrganizationMembersPolicyResponse.new
|
234
|
+
model.deserialize(response['Response'])
|
235
|
+
model
|
236
|
+
else
|
237
|
+
code = response['Response']['Error']['Code']
|
238
|
+
message = response['Response']['Error']['Message']
|
239
|
+
reqid = response['Response']['RequestId']
|
240
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
241
|
+
end
|
242
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
243
|
+
raise e
|
244
|
+
rescue StandardError => e
|
245
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
|
+
end
|
247
|
+
|
200
248
|
# 批量删除企业组织节点
|
201
249
|
|
202
250
|
# @param request: Request instance for DeleteOrganizationNodes.
|
data/lib/v20210331/models.rb
CHANGED
@@ -215,6 +215,42 @@ module TencentCloud
|
|
215
215
|
end
|
216
216
|
end
|
217
217
|
|
218
|
+
# CreateOrganizationMemberAuthIdentity请求参数结构体
|
219
|
+
class CreateOrganizationMemberAuthIdentityRequest < TencentCloud::Common::AbstractModel
|
220
|
+
# @param MemberUins: 成员uin列表。最多10个
|
221
|
+
# @type MemberUins: Array
|
222
|
+
# @param IdentityIds: 身份Id列表。最多5个
|
223
|
+
# @type IdentityIds: Array
|
224
|
+
|
225
|
+
attr_accessor :MemberUins, :IdentityIds
|
226
|
+
|
227
|
+
def initialize(memberuins=nil, identityids=nil)
|
228
|
+
@MemberUins = memberuins
|
229
|
+
@IdentityIds = identityids
|
230
|
+
end
|
231
|
+
|
232
|
+
def deserialize(params)
|
233
|
+
@MemberUins = params['MemberUins']
|
234
|
+
@IdentityIds = params['IdentityIds']
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
# CreateOrganizationMemberAuthIdentity返回参数结构体
|
239
|
+
class CreateOrganizationMemberAuthIdentityResponse < TencentCloud::Common::AbstractModel
|
240
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
241
|
+
# @type RequestId: String
|
242
|
+
|
243
|
+
attr_accessor :RequestId
|
244
|
+
|
245
|
+
def initialize(requestid=nil)
|
246
|
+
@RequestId = requestid
|
247
|
+
end
|
248
|
+
|
249
|
+
def deserialize(params)
|
250
|
+
@RequestId = params['RequestId']
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
218
254
|
# CreateOrganizationMemberPolicy请求参数结构体
|
219
255
|
class CreateOrganizationMemberPolicyRequest < TencentCloud::Common::AbstractModel
|
220
256
|
# @param MemberUin: 成员Uin。
|
@@ -337,6 +373,38 @@ module TencentCloud
|
|
337
373
|
end
|
338
374
|
end
|
339
375
|
|
376
|
+
# DeleteOrganizationMembersPolicy请求参数结构体
|
377
|
+
class DeleteOrganizationMembersPolicyRequest < TencentCloud::Common::AbstractModel
|
378
|
+
# @param PolicyId: 访问策略ID。
|
379
|
+
# @type PolicyId: Integer
|
380
|
+
|
381
|
+
attr_accessor :PolicyId
|
382
|
+
|
383
|
+
def initialize(policyid=nil)
|
384
|
+
@PolicyId = policyid
|
385
|
+
end
|
386
|
+
|
387
|
+
def deserialize(params)
|
388
|
+
@PolicyId = params['PolicyId']
|
389
|
+
end
|
390
|
+
end
|
391
|
+
|
392
|
+
# DeleteOrganizationMembersPolicy返回参数结构体
|
393
|
+
class DeleteOrganizationMembersPolicyResponse < TencentCloud::Common::AbstractModel
|
394
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
395
|
+
# @type RequestId: String
|
396
|
+
|
397
|
+
attr_accessor :RequestId
|
398
|
+
|
399
|
+
def initialize(requestid=nil)
|
400
|
+
@RequestId = requestid
|
401
|
+
end
|
402
|
+
|
403
|
+
def deserialize(params)
|
404
|
+
@RequestId = params['RequestId']
|
405
|
+
end
|
406
|
+
end
|
407
|
+
|
340
408
|
# DeleteOrganizationMembers请求参数结构体
|
341
409
|
class DeleteOrganizationMembersRequest < TencentCloud::Common::AbstractModel
|
342
410
|
# @param MemberUin: 被删除成员的UIN列表。
|
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.632
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|