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 +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: a874619c225bf5140dadf1b326cf4ab497ecbc83
|
4
|
+
data.tar.gz: 766ecfb7dece08654211b665d289652e473e0186
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5d3728f9575a360ea309f392ff5b013b81f2809f0c1005a9d393539f51b0bfe26b2648ab5c0cdc190b4bb1fd1c67e8c2c6757cbf654dd4846030c8e9aadff16
|
7
|
+
data.tar.gz: 1abbce00a580822905f09bbbb0714a0b6d350a6b6580bce74b4ae943dfb5d985cc254e7d7a38614e4a9f14f05ae208c7fc9880425ae38867ffdd32f51f679d76
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.717
|
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.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-
|
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
|