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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20210125/client.rb +24 -0
- data/lib/v20210125/models.rb +72 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e51837c88c21d44cdd40658d48a6f6d13969ef6
|
4
|
+
data.tar.gz: 408b4f6c127150dac7d639b6211f206202cd37dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 16c3a3c6a2903e237cee5b0939f5a88403dd22c8047bcd91cff2002dbe34661a80ca0bc695648b70301f2955ee20e1a1461700bd9bb93caaab8c1baa8cb9bc76
|
7
|
+
data.tar.gz: a8cc31d93996fb5170a70207c112747b410923d03b94da823fadf15d3fc455f541ebdf1a6aeeb3f4e87534e85a739875e52e9694865169cf51331f75911ca7f1
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.716
|
data/lib/v20210125/client.rb
CHANGED
@@ -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.
|
data/lib/v20210125/models.rb
CHANGED
@@ -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.
|
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-
|
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
|