tencentcloud-sdk-dlc 3.0.715 → 3.0.716

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: 36da229e0a7fce11c28af3b185e313323aac52c9
4
- data.tar.gz: 1e02463d34421a080e1e0a7d738034bb54302408
3
+ metadata.gz: 2e51837c88c21d44cdd40658d48a6f6d13969ef6
4
+ data.tar.gz: 408b4f6c127150dac7d639b6211f206202cd37dd
5
5
  SHA512:
6
- metadata.gz: 207fa000723da88b737e066f5790b0194ac2dcd56aa1a797a18560b926ec8319cae0e4f43c3802010204de1f7d164161c20b023d75dbdea8fbd2d42e63281598
7
- data.tar.gz: 8270669b99fefaa07db547fbf31abea899e351593839e06b9999708bf5c8dd5fb75d70c18adcd7c7961fb127435f9a8881bfe3859cd4295077f2bff62dcb0cdb
6
+ metadata.gz: 16c3a3c6a2903e237cee5b0939f5a88403dd22c8047bcd91cff2002dbe34661a80ca0bc695648b70301f2955ee20e1a1461700bd9bb93caaab8c1baa8cb9bc76
7
+ data.tar.gz: a8cc31d93996fb5170a70207c112747b410923d03b94da823fadf15d3fc455f541ebdf1a6aeeb3f4e87534e85a739875e52e9694865169cf51331f75911ca7f1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.715
1
+ 3.0.716
@@ -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 AssignMangedTableProperties.
155
+ # @type request: :class:`Tencentcloud::dlc::V20210125::AssignMangedTablePropertiesRequest`
156
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::AssignMangedTablePropertiesResponse`
157
+ def AssignMangedTableProperties(request)
158
+ body = send_request('AssignMangedTableProperties', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = AssignMangedTablePropertiesResponse.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 AttachUserPolicy.
@@ -420,6 +420,78 @@ module TencentCloud
420
420
  end
421
421
  end
422
422
 
423
+ # AssignMangedTableProperties请求参数结构体
424
+ class AssignMangedTablePropertiesRequest < TencentCloud::Common::AbstractModel
425
+ # @param TableBaseInfo: 表基本信息
426
+ # @type TableBaseInfo: :class:`Tencentcloud::Dlc.v20210125.models.TableBaseInfo`
427
+ # @param Columns: 表字段信息
428
+ # @type Columns: Array
429
+ # @param Partitions: 表分区信息
430
+ # @type Partitions: Array
431
+ # @param Properties: 表属性信息
432
+ # @type Properties: Array
433
+ # @param UpsertKeys: V2 upsert表 upsert键
434
+ # @type UpsertKeys: Array
435
+
436
+ attr_accessor :TableBaseInfo, :Columns, :Partitions, :Properties, :UpsertKeys
437
+
438
+ def initialize(tablebaseinfo=nil, columns=nil, partitions=nil, properties=nil, upsertkeys=nil)
439
+ @TableBaseInfo = tablebaseinfo
440
+ @Columns = columns
441
+ @Partitions = partitions
442
+ @Properties = properties
443
+ @UpsertKeys = upsertkeys
444
+ end
445
+
446
+ def deserialize(params)
447
+ unless params['TableBaseInfo'].nil?
448
+ @TableBaseInfo = TableBaseInfo.new
449
+ @TableBaseInfo.deserialize(params['TableBaseInfo'])
450
+ end
451
+ unless params['Columns'].nil?
452
+ @Columns = []
453
+ params['Columns'].each do |i|
454
+ tcolumn_tmp = TColumn.new
455
+ tcolumn_tmp.deserialize(i)
456
+ @Columns << tcolumn_tmp
457
+ end
458
+ end
459
+ unless params['Partitions'].nil?
460
+ @Partitions = []
461
+ params['Partitions'].each do |i|
462
+ tpartition_tmp = TPartition.new
463
+ tpartition_tmp.deserialize(i)
464
+ @Partitions << tpartition_tmp
465
+ end
466
+ end
467
+ unless params['Properties'].nil?
468
+ @Properties = []
469
+ params['Properties'].each do |i|
470
+ property_tmp = Property.new
471
+ property_tmp.deserialize(i)
472
+ @Properties << property_tmp
473
+ end
474
+ end
475
+ @UpsertKeys = params['UpsertKeys']
476
+ end
477
+ end
478
+
479
+ # AssignMangedTableProperties返回参数结构体
480
+ class AssignMangedTablePropertiesResponse < TencentCloud::Common::AbstractModel
481
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
482
+ # @type RequestId: String
483
+
484
+ attr_accessor :RequestId
485
+
486
+ def initialize(requestid=nil)
487
+ @RequestId = requestid
488
+ end
489
+
490
+ def deserialize(params)
491
+ @RequestId = params['RequestId']
492
+ end
493
+ end
494
+
423
495
  # AttachUserPolicy请求参数结构体
424
496
  class AttachUserPolicyRequest < TencentCloud::Common::AbstractModel
425
497
  # @param UserId: 用户Id,和子用户uin相同,需要先使用CreateUser接口创建用户。可以使用DescribeUsers接口查看。
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dlc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.715
4
+ version: 3.0.716
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-11-28 00:00:00.000000000 Z
11
+ date: 2023-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common