tencentcloud-sdk-dlc 3.0.715 → 3.0.717

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: 36da229e0a7fce11c28af3b185e313323aac52c9
4
- data.tar.gz: 1e02463d34421a080e1e0a7d738034bb54302408
3
+ metadata.gz: a874619c225bf5140dadf1b326cf4ab497ecbc83
4
+ data.tar.gz: 766ecfb7dece08654211b665d289652e473e0186
5
5
  SHA512:
6
- metadata.gz: 207fa000723da88b737e066f5790b0194ac2dcd56aa1a797a18560b926ec8319cae0e4f43c3802010204de1f7d164161c20b023d75dbdea8fbd2d42e63281598
7
- data.tar.gz: 8270669b99fefaa07db547fbf31abea899e351593839e06b9999708bf5c8dd5fb75d70c18adcd7c7961fb127435f9a8881bfe3859cd4295077f2bff62dcb0cdb
6
+ metadata.gz: a5d3728f9575a360ea309f392ff5b013b81f2809f0c1005a9d393539f51b0bfe26b2648ab5c0cdc190b4bb1fd1c67e8c2c6757cbf654dd4846030c8e9aadff16
7
+ data.tar.gz: 1abbce00a580822905f09bbbb0714a0b6d350a6b6580bce74b4ae943dfb5d985cc254e7d7a38614e4a9f14f05ae208c7fc9880425ae38867ffdd32f51f679d76
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.715
1
+ 3.0.717
@@ -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.717
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