tencentcloud-sdk-organization 3.0.632 → 3.0.634
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 +24 -0
- data/lib/v20210331/models.rb +36 -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: fdfa7477de6f8f781a9833b1859eb9966970821a
|
4
|
+
data.tar.gz: 4c1cdb78677dd5e162dad2b4b3aa5729634d17c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78255d7df305f4b65658e20273e249f9877e68959ff8ebb96326e156232a429d06c9c873bd1b6a688b6989d484364750490f951f68a8e93a10f757feec795147
|
7
|
+
data.tar.gz: de66cfcc6f59c407b90e181b4ec5ef45b92df3a9aa6ddd513295438e7b5dad3563af5d21b76f61fc5f93b929b4781097b286bfccf2da9c2adb406d93b1b05619
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.634
|
data/lib/v20210331/client.rb
CHANGED
@@ -197,6 +197,30 @@ module TencentCloud
|
|
197
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
198
|
end
|
199
199
|
|
200
|
+
# 删除组织成员访问授权
|
201
|
+
|
202
|
+
# @param request: Request instance for DeleteOrganizationMemberAuthIdentity.
|
203
|
+
# @type request: :class:`Tencentcloud::organization::V20210331::DeleteOrganizationMemberAuthIdentityRequest`
|
204
|
+
# @rtype: :class:`Tencentcloud::organization::V20210331::DeleteOrganizationMemberAuthIdentityResponse`
|
205
|
+
def DeleteOrganizationMemberAuthIdentity(request)
|
206
|
+
body = send_request('DeleteOrganizationMemberAuthIdentity', request.serialize)
|
207
|
+
response = JSON.parse(body)
|
208
|
+
if response['Response'].key?('Error') == false
|
209
|
+
model = DeleteOrganizationMemberAuthIdentityResponse.new
|
210
|
+
model.deserialize(response['Response'])
|
211
|
+
model
|
212
|
+
else
|
213
|
+
code = response['Response']['Error']['Code']
|
214
|
+
message = response['Response']['Error']['Message']
|
215
|
+
reqid = response['Response']['RequestId']
|
216
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
+
end
|
218
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
+
raise e
|
220
|
+
rescue StandardError => e
|
221
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
+
end
|
223
|
+
|
200
224
|
# 批量删除企业组织成员
|
201
225
|
|
202
226
|
# @param request: Request instance for DeleteOrganizationMembers.
|
data/lib/v20210331/models.rb
CHANGED
@@ -373,6 +373,42 @@ module TencentCloud
|
|
373
373
|
end
|
374
374
|
end
|
375
375
|
|
376
|
+
# DeleteOrganizationMemberAuthIdentity请求参数结构体
|
377
|
+
class DeleteOrganizationMemberAuthIdentityRequest < TencentCloud::Common::AbstractModel
|
378
|
+
# @param MemberUin: 成员uin。
|
379
|
+
# @type MemberUin: Integer
|
380
|
+
# @param IdentityId: 身份Id。
|
381
|
+
# @type IdentityId: Integer
|
382
|
+
|
383
|
+
attr_accessor :MemberUin, :IdentityId
|
384
|
+
|
385
|
+
def initialize(memberuin=nil, identityid=nil)
|
386
|
+
@MemberUin = memberuin
|
387
|
+
@IdentityId = identityid
|
388
|
+
end
|
389
|
+
|
390
|
+
def deserialize(params)
|
391
|
+
@MemberUin = params['MemberUin']
|
392
|
+
@IdentityId = params['IdentityId']
|
393
|
+
end
|
394
|
+
end
|
395
|
+
|
396
|
+
# DeleteOrganizationMemberAuthIdentity返回参数结构体
|
397
|
+
class DeleteOrganizationMemberAuthIdentityResponse < TencentCloud::Common::AbstractModel
|
398
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
399
|
+
# @type RequestId: String
|
400
|
+
|
401
|
+
attr_accessor :RequestId
|
402
|
+
|
403
|
+
def initialize(requestid=nil)
|
404
|
+
@RequestId = requestid
|
405
|
+
end
|
406
|
+
|
407
|
+
def deserialize(params)
|
408
|
+
@RequestId = params['RequestId']
|
409
|
+
end
|
410
|
+
end
|
411
|
+
|
376
412
|
# DeleteOrganizationMembersPolicy请求参数结构体
|
377
413
|
class DeleteOrganizationMembersPolicyRequest < TencentCloud::Common::AbstractModel
|
378
414
|
# @param PolicyId: 访问策略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.634
|
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-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|