tencentcloud-sdk-organization 3.0.847 → 3.0.848

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 222f5f2ec0c05ff45ffe61e5dab0f0bfd83cc175
4
- data.tar.gz: cb4201bb3a8a2afae4676d10471a70101b46b6e4
3
+ metadata.gz: aeaa983f9ee79e36e77e79a539895cfb42a5792b
4
+ data.tar.gz: 6207bd0b9198c2deb8766d40302525548001ac6f
5
5
  SHA512:
6
- metadata.gz: c0c3e4db1a77db8bffcf3897f86a6dcd407e418cebc639852a0e489b0c633f20f087c0d2a00944437398c01d65c95f1e29e23573b246ab62681407d2813799f0
7
- data.tar.gz: 456970606c9b27ee2b48947b6fb9a0d1a848fabd521a6e5fd53ca36f16ae42c6371da100a74ad2f15cdee5dbe8841390526b8fe9801ba5e2e642b254777ba027
6
+ metadata.gz: 96116275d5d1fd91ca5639a98d72f5b8fa6361b5682132a38fe4a900a7a440f3cae8eab800b0c17b877d4384a31a95ec835786e20b86aeb23b6aa9cc749ade83
7
+ data.tar.gz: de40da7bbc38ae5bef4e02a117e81b739af0c59b63ce4c5f7ea72c1df28267637fce6cbe72be5a50d1819012e5efff7d936b76c737dce30bfe01b15eb7ffea36
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.847
1
+ 3.0.848
@@ -29,6 +29,30 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 接受加入共享单元邀请。
33
+
34
+ # @param request: Request instance for AcceptJoinShareUnitInvitation.
35
+ # @type request: :class:`Tencentcloud::organization::V20210331::AcceptJoinShareUnitInvitationRequest`
36
+ # @rtype: :class:`Tencentcloud::organization::V20210331::AcceptJoinShareUnitInvitationResponse`
37
+ def AcceptJoinShareUnitInvitation(request)
38
+ body = send_request('AcceptJoinShareUnitInvitation', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = AcceptJoinShareUnitInvitationResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
32
56
  # 添加组织成员邮箱
33
57
 
34
58
  # @param request: Request instance for AddOrganizationMemberEmail.
@@ -1349,6 +1373,30 @@ module TencentCloud
1349
1373
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1350
1374
  end
1351
1375
 
1376
+ # 拒绝加入共享单元邀请。
1377
+
1378
+ # @param request: Request instance for RejectJoinShareUnitInvitation.
1379
+ # @type request: :class:`Tencentcloud::organization::V20210331::RejectJoinShareUnitInvitationRequest`
1380
+ # @rtype: :class:`Tencentcloud::organization::V20210331::RejectJoinShareUnitInvitationResponse`
1381
+ def RejectJoinShareUnitInvitation(request)
1382
+ body = send_request('RejectJoinShareUnitInvitation', request.serialize)
1383
+ response = JSON.parse(body)
1384
+ if response['Response'].key?('Error') == false
1385
+ model = RejectJoinShareUnitInvitationResponse.new
1386
+ model.deserialize(response['Response'])
1387
+ model
1388
+ else
1389
+ code = response['Response']['Error']['Code']
1390
+ message = response['Response']['Error']['Message']
1391
+ reqid = response['Response']['RequestId']
1392
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1393
+ end
1394
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1395
+ raise e
1396
+ rescue StandardError => e
1397
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1398
+ end
1399
+
1352
1400
  # 更新组织身份
1353
1401
 
1354
1402
  # @param request: Request instance for UpdateOrganizationIdentity.
@@ -17,6 +17,38 @@
17
17
  module TencentCloud
18
18
  module Organization
19
19
  module V20210331
20
+ # AcceptJoinShareUnitInvitation请求参数结构体
21
+ class AcceptJoinShareUnitInvitationRequest < TencentCloud::Common::AbstractModel
22
+ # @param UnitId: 共享单元ID。
23
+ # @type UnitId: String
24
+
25
+ attr_accessor :UnitId
26
+
27
+ def initialize(unitid=nil)
28
+ @UnitId = unitid
29
+ end
30
+
31
+ def deserialize(params)
32
+ @UnitId = params['UnitId']
33
+ end
34
+ end
35
+
36
+ # AcceptJoinShareUnitInvitation返回参数结构体
37
+ class AcceptJoinShareUnitInvitationResponse < TencentCloud::Common::AbstractModel
38
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
39
+ # @type RequestId: String
40
+
41
+ attr_accessor :RequestId
42
+
43
+ def initialize(requestid=nil)
44
+ @RequestId = requestid
45
+ end
46
+
47
+ def deserialize(params)
48
+ @RequestId = params['RequestId']
49
+ end
50
+ end
51
+
20
52
  # AddOrganizationMemberEmail请求参数结构体
21
53
  class AddOrganizationMemberEmailRequest < TencentCloud::Common::AbstractModel
22
54
  # @param MemberUin: 成员Uin。
@@ -3698,6 +3730,38 @@ module TencentCloud
3698
3730
  end
3699
3731
  end
3700
3732
 
3733
+ # RejectJoinShareUnitInvitation请求参数结构体
3734
+ class RejectJoinShareUnitInvitationRequest < TencentCloud::Common::AbstractModel
3735
+ # @param UnitId: 共享单元ID。
3736
+ # @type UnitId: String
3737
+
3738
+ attr_accessor :UnitId
3739
+
3740
+ def initialize(unitid=nil)
3741
+ @UnitId = unitid
3742
+ end
3743
+
3744
+ def deserialize(params)
3745
+ @UnitId = params['UnitId']
3746
+ end
3747
+ end
3748
+
3749
+ # RejectJoinShareUnitInvitation返回参数结构体
3750
+ class RejectJoinShareUnitInvitationResponse < TencentCloud::Common::AbstractModel
3751
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3752
+ # @type RequestId: String
3753
+
3754
+ attr_accessor :RequestId
3755
+
3756
+ def initialize(requestid=nil)
3757
+ @RequestId = requestid
3758
+ end
3759
+
3760
+ def deserialize(params)
3761
+ @RequestId = params['RequestId']
3762
+ end
3763
+ end
3764
+
3701
3765
  # 资源及关联的标签
3702
3766
  class ResourceTagMapping < TencentCloud::Common::AbstractModel
3703
3767
  # @param Resource: 资源六段式。腾讯云使用资源六段式描述一个资源。
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.847
4
+ version: 3.0.848
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-19 00:00:00.000000000 Z
11
+ date: 2024-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common