tencentcloud-sdk-organization 3.0.1094 → 3.0.1120

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: 50e6c9d4ac06305a962588d53905bb36d4594277
4
- data.tar.gz: f1059ed83fab669c3057b63f9593f56b29032d2e
3
+ metadata.gz: f0824a50283ce64b620a1d1c88f7730c3b858398
4
+ data.tar.gz: 4b480f5dfeb1ee394ea0c1db3ec0087b9a503c80
5
5
  SHA512:
6
- metadata.gz: f0a0209b15187b6077d1a2dac298a830f959bcf391f41ea63e3d18305487ca91b8bb020de49454da6271561db14f109ef83e9c4bbd98a2fd6b9f6046d7351ada
7
- data.tar.gz: af33c52a7ac8fc571b226ad340b577d8e13292c4a9894bf7f500022ab7d0458414a7dcb23f460c315a3acd92db249c81852bcbb5a3d5ff28a0c74dcb96993fe4
6
+ metadata.gz: 733f4ef6a00c8b9b2263c383279fcdd91091b9293bf674b34c64bcb5cb44fcdf2d9672d3082faab80e7347f43ce189166199518832ec9fbbea45d3fc234c943d
7
+ data.tar.gz: 4c973213288d9bb6f62fabffe8a58ab4efeed6a925d3fa12fddbb3fec1ab471086c62d27cd6a7b32e4af79e91b1ec167be8ffc670dc5088b56af72666f83e506
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1094
1
+ 3.0.1120
@@ -1541,6 +1541,30 @@ module TencentCloud
1541
1541
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1542
1542
  end
1543
1543
 
1544
+ # 获取与我共享的资源列表。
1545
+
1546
+ # @param request: Request instance for DescribeResourceToShareMember.
1547
+ # @type request: :class:`Tencentcloud::organization::V20210331::DescribeResourceToShareMemberRequest`
1548
+ # @rtype: :class:`Tencentcloud::organization::V20210331::DescribeResourceToShareMemberResponse`
1549
+ def DescribeResourceToShareMember(request)
1550
+ body = send_request('DescribeResourceToShareMember', request.serialize)
1551
+ response = JSON.parse(body)
1552
+ if response['Response'].key?('Error') == false
1553
+ model = DescribeResourceToShareMemberResponse.new
1554
+ model.deserialize(response['Response'])
1555
+ model
1556
+ else
1557
+ code = response['Response']['Error']['Code']
1558
+ message = response['Response']['Error']['Message']
1559
+ reqid = response['Response']['RequestId']
1560
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1561
+ end
1562
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1563
+ raise e
1564
+ rescue StandardError => e
1565
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1566
+ end
1567
+
1544
1568
  # 获取可共享地域列表
1545
1569
 
1546
1570
  # @param request: Request instance for DescribeShareAreas.
@@ -3139,6 +3139,75 @@ module TencentCloud
3139
3139
  end
3140
3140
  end
3141
3141
 
3142
+ # DescribeResourceToShareMember请求参数结构体
3143
+ class DescribeResourceToShareMemberRequest < TencentCloud::Common::AbstractModel
3144
+ # @param Area: 地域
3145
+ # @type Area: String
3146
+ # @param Offset: 偏移量
3147
+ # @type Offset: Integer
3148
+ # @param Limit: 每页条数
3149
+ # @type Limit: Integer
3150
+ # @param SearchKey: 搜索关键字,支持业务资源ID搜索
3151
+ # @type SearchKey: String
3152
+ # @param Type: 资源类型
3153
+ # @type Type: String
3154
+ # @param ProductResourceIds: 业务资源ID。最大50个
3155
+ # @type ProductResourceIds: Array
3156
+
3157
+ attr_accessor :Area, :Offset, :Limit, :SearchKey, :Type, :ProductResourceIds
3158
+
3159
+ def initialize(area=nil, offset=nil, limit=nil, searchkey=nil, type=nil, productresourceids=nil)
3160
+ @Area = area
3161
+ @Offset = offset
3162
+ @Limit = limit
3163
+ @SearchKey = searchkey
3164
+ @Type = type
3165
+ @ProductResourceIds = productresourceids
3166
+ end
3167
+
3168
+ def deserialize(params)
3169
+ @Area = params['Area']
3170
+ @Offset = params['Offset']
3171
+ @Limit = params['Limit']
3172
+ @SearchKey = params['SearchKey']
3173
+ @Type = params['Type']
3174
+ @ProductResourceIds = params['ProductResourceIds']
3175
+ end
3176
+ end
3177
+
3178
+ # DescribeResourceToShareMember返回参数结构体
3179
+ class DescribeResourceToShareMemberResponse < TencentCloud::Common::AbstractModel
3180
+ # @param Total: 总数
3181
+ # 注意:此字段可能返回 null,表示取不到有效值。
3182
+ # @type Total: Integer
3183
+ # @param Items: 详情
3184
+ # 注意:此字段可能返回 null,表示取不到有效值。
3185
+ # @type Items: Array
3186
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3187
+ # @type RequestId: String
3188
+
3189
+ attr_accessor :Total, :Items, :RequestId
3190
+
3191
+ def initialize(total=nil, items=nil, requestid=nil)
3192
+ @Total = total
3193
+ @Items = items
3194
+ @RequestId = requestid
3195
+ end
3196
+
3197
+ def deserialize(params)
3198
+ @Total = params['Total']
3199
+ unless params['Items'].nil?
3200
+ @Items = []
3201
+ params['Items'].each do |i|
3202
+ shareresourcetomember_tmp = ShareResourceToMember.new
3203
+ shareresourcetomember_tmp.deserialize(i)
3204
+ @Items << shareresourcetomember_tmp
3205
+ end
3206
+ end
3207
+ @RequestId = params['RequestId']
3208
+ end
3209
+ end
3210
+
3142
3211
  # DescribeShareAreas请求参数结构体
3143
3212
  class DescribeShareAreasRequest < TencentCloud::Common::AbstractModel
3144
3213
  # @param Lang: 国际站:en,国内站:zh
@@ -6519,8 +6588,8 @@ module TencentCloud
6519
6588
 
6520
6589
  attr_accessor :ProductResourceId, :ResourceGrantLast
6521
6590
  extend Gem::Deprecate
6522
- deprecate :ResourceGrantLast, :none, 2025, 6
6523
- deprecate :ResourceGrantLast=, :none, 2025, 6
6591
+ deprecate :ResourceGrantLast, :none, 2025, 8
6592
+ deprecate :ResourceGrantLast=, :none, 2025, 8
6524
6593
 
6525
6594
  def initialize(productresourceid=nil, resourcegrantlast=nil)
6526
6595
  @ProductResourceId = productresourceid
@@ -7350,8 +7419,8 @@ module TencentCloud
7350
7419
 
7351
7420
  attr_accessor :ResourceId, :ProductResourceId
7352
7421
  extend Gem::Deprecate
7353
- deprecate :ResourceId, :none, 2025, 6
7354
- deprecate :ResourceId=, :none, 2025, 6
7422
+ deprecate :ResourceId, :none, 2025, 8
7423
+ deprecate :ResourceId=, :none, 2025, 8
7355
7424
 
7356
7425
  def initialize(resourceid=nil, productresourceid=nil)
7357
7426
  @ResourceId = resourceid
@@ -7364,6 +7433,47 @@ module TencentCloud
7364
7433
  end
7365
7434
  end
7366
7435
 
7436
+ # 与我共享的资源
7437
+ class ShareResourceToMember < TencentCloud::Common::AbstractModel
7438
+ # @param ResourceId: 资源ID
7439
+ # @type ResourceId: String
7440
+ # @param Type: 资源类型
7441
+ # @type Type: String
7442
+ # @param UnitId: 共享单元ID
7443
+ # @type UnitId: String
7444
+ # @param UnitName: 共享单元名
7445
+ # @type UnitName: String
7446
+ # @param CreateTime: 创建时间
7447
+ # @type CreateTime: String
7448
+ # @param ProductResourceId: 业务资源ID
7449
+ # @type ProductResourceId: String
7450
+ # @param ShareManagerUin: 共享管理员uin
7451
+ # 注意:此字段可能返回 null,表示取不到有效值。
7452
+ # @type ShareManagerUin: Integer
7453
+
7454
+ attr_accessor :ResourceId, :Type, :UnitId, :UnitName, :CreateTime, :ProductResourceId, :ShareManagerUin
7455
+
7456
+ def initialize(resourceid=nil, type=nil, unitid=nil, unitname=nil, createtime=nil, productresourceid=nil, sharemanageruin=nil)
7457
+ @ResourceId = resourceid
7458
+ @Type = type
7459
+ @UnitId = unitid
7460
+ @UnitName = unitname
7461
+ @CreateTime = createtime
7462
+ @ProductResourceId = productresourceid
7463
+ @ShareManagerUin = sharemanageruin
7464
+ end
7465
+
7466
+ def deserialize(params)
7467
+ @ResourceId = params['ResourceId']
7468
+ @Type = params['Type']
7469
+ @UnitId = params['UnitId']
7470
+ @UnitName = params['UnitName']
7471
+ @CreateTime = params['CreateTime']
7472
+ @ProductResourceId = params['ProductResourceId']
7473
+ @ShareManagerUin = params['ShareManagerUin']
7474
+ end
7475
+ end
7476
+
7367
7477
  # 共享单元成员
7368
7478
  class ShareUnitMember < TencentCloud::Common::AbstractModel
7369
7479
  # @param ShareMemberUin: 共享成员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.1094
4
+ version: 3.0.1120
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-05 00:00:00.000000000 Z
11
+ date: 2025-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common