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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 39a6b759b344bbbef12b8019779e54b9471a27c3
4
- data.tar.gz: 91aea03a4b9cd7f64e166d027a153c871637ec1e
3
+ metadata.gz: fdfa7477de6f8f781a9833b1859eb9966970821a
4
+ data.tar.gz: 4c1cdb78677dd5e162dad2b4b3aa5729634d17c4
5
5
  SHA512:
6
- metadata.gz: d1da0d8270c9d17d10215d0d240f2d6897383f6dc1a99f5e0b722089bd21ea7fc64f7f6132439c2344ee470da03498a6306b6a1bd1db02b6c887f052e5a9bd7d
7
- data.tar.gz: d1acf7e5fe6ed61463866fc012cf94e8a2bcf8d505d5aca53d03d96852e6ba1a51f8929149428e5477291a931eb0ed95df4b0cefa83861955d8d93497550c411
6
+ metadata.gz: 78255d7df305f4b65658e20273e249f9877e68959ff8ebb96326e156232a429d06c9c873bd1b6a688b6989d484364750490f951f68a8e93a10f757feec795147
7
+ data.tar.gz: de66cfcc6f59c407b90e181b4ec5ef45b92df3a9aa6ddd513295438e7b5dad3563af5d21b76f61fc5f93b929b4781097b286bfccf2da9c2adb406d93b1b05619
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.632
1
+ 3.0.634
@@ -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.
@@ -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.632
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-09 00:00:00.000000000 Z
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