tencentcloud-sdk-dlc 3.0.503 → 3.0.504
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 +148 -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: 63369bc18d0ff3df9b29e0309e8c80f18480d7ee
|
4
|
+
data.tar.gz: ef2175eb528e9c58d92d7f16691a478bbb4d50a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7806b1e1f6e0f07eaa76b8bfbafc627ac3a68dc8d12b75bb1789660816478137a9a1633ed9ce0b59975f7d2686103d02fe7fa4ef87663a44659abfe9dfd67bb
|
7
|
+
data.tar.gz: 3499a852ba99051be7cca2c672579b22936c01cc4101b88afb678b96c76cfe7ea23b44e65339df6322bad79dc8fd3233324386b5f73f7156e2f3b366bc96564d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.504
|
data/lib/v20210125/client.rb
CHANGED
@@ -389,6 +389,30 @@ module TencentCloud
|
|
389
389
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
390
|
end
|
391
391
|
|
392
|
+
# 创建托管存储内表
|
393
|
+
|
394
|
+
# @param request: Request instance for CreateInternalTable.
|
395
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::CreateInternalTableRequest`
|
396
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::CreateInternalTableResponse`
|
397
|
+
def CreateInternalTable(request)
|
398
|
+
body = send_request('CreateInternalTable', request.serialize)
|
399
|
+
response = JSON.parse(body)
|
400
|
+
if response['Response'].key?('Error') == false
|
401
|
+
model = CreateInternalTableResponse.new
|
402
|
+
model.deserialize(response['Response'])
|
403
|
+
model
|
404
|
+
else
|
405
|
+
code = response['Response']['Error']['Code']
|
406
|
+
message = response['Response']['Error']['Message']
|
407
|
+
reqid = response['Response']['RequestId']
|
408
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
409
|
+
end
|
410
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
411
|
+
raise e
|
412
|
+
rescue StandardError => e
|
413
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
|
+
end
|
415
|
+
|
392
416
|
# 本接口(CreateNotebookSession)用于创建notebook livy session
|
393
417
|
|
394
418
|
# @param request: Request instance for CreateNotebookSession.
|
data/lib/v20210125/models.rb
CHANGED
@@ -1079,6 +1079,78 @@ module TencentCloud
|
|
1079
1079
|
end
|
1080
1080
|
end
|
1081
1081
|
|
1082
|
+
# CreateInternalTable请求参数结构体
|
1083
|
+
class CreateInternalTableRequest < TencentCloud::Common::AbstractModel
|
1084
|
+
# @param TableBaseInfo: 表基本信息
|
1085
|
+
# @type TableBaseInfo: :class:`Tencentcloud::Dlc.v20210125.models.TableBaseInfo`
|
1086
|
+
# @param Columns: 表字段信息
|
1087
|
+
# @type Columns: Array
|
1088
|
+
# @param Partitions: 表分区信息
|
1089
|
+
# @type Partitions: Array
|
1090
|
+
# @param Properties: 表属性信息
|
1091
|
+
# @type Properties: Array
|
1092
|
+
|
1093
|
+
attr_accessor :TableBaseInfo, :Columns, :Partitions, :Properties
|
1094
|
+
|
1095
|
+
def initialize(tablebaseinfo=nil, columns=nil, partitions=nil, properties=nil)
|
1096
|
+
@TableBaseInfo = tablebaseinfo
|
1097
|
+
@Columns = columns
|
1098
|
+
@Partitions = partitions
|
1099
|
+
@Properties = properties
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
def deserialize(params)
|
1103
|
+
unless params['TableBaseInfo'].nil?
|
1104
|
+
@TableBaseInfo = TableBaseInfo.new
|
1105
|
+
@TableBaseInfo.deserialize(params['TableBaseInfo'])
|
1106
|
+
end
|
1107
|
+
unless params['Columns'].nil?
|
1108
|
+
@Columns = []
|
1109
|
+
params['Columns'].each do |i|
|
1110
|
+
tcolumn_tmp = TColumn.new
|
1111
|
+
tcolumn_tmp.deserialize(i)
|
1112
|
+
@Columns << tcolumn_tmp
|
1113
|
+
end
|
1114
|
+
end
|
1115
|
+
unless params['Partitions'].nil?
|
1116
|
+
@Partitions = []
|
1117
|
+
params['Partitions'].each do |i|
|
1118
|
+
tpartition_tmp = TPartition.new
|
1119
|
+
tpartition_tmp.deserialize(i)
|
1120
|
+
@Partitions << tpartition_tmp
|
1121
|
+
end
|
1122
|
+
end
|
1123
|
+
unless params['Properties'].nil?
|
1124
|
+
@Properties = []
|
1125
|
+
params['Properties'].each do |i|
|
1126
|
+
property_tmp = Property.new
|
1127
|
+
property_tmp.deserialize(i)
|
1128
|
+
@Properties << property_tmp
|
1129
|
+
end
|
1130
|
+
end
|
1131
|
+
end
|
1132
|
+
end
|
1133
|
+
|
1134
|
+
# CreateInternalTable返回参数结构体
|
1135
|
+
class CreateInternalTableResponse < TencentCloud::Common::AbstractModel
|
1136
|
+
# @param Execution: 创建托管存储内表sql语句描述
|
1137
|
+
# @type Execution: String
|
1138
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1139
|
+
# @type RequestId: String
|
1140
|
+
|
1141
|
+
attr_accessor :Execution, :RequestId
|
1142
|
+
|
1143
|
+
def initialize(execution=nil, requestid=nil)
|
1144
|
+
@Execution = execution
|
1145
|
+
@RequestId = requestid
|
1146
|
+
end
|
1147
|
+
|
1148
|
+
def deserialize(params)
|
1149
|
+
@Execution = params['Execution']
|
1150
|
+
@RequestId = params['RequestId']
|
1151
|
+
end
|
1152
|
+
end
|
1153
|
+
|
1082
1154
|
# CreateNotebookSession请求参数结构体
|
1083
1155
|
class CreateNotebookSessionRequest < TencentCloud::Common::AbstractModel
|
1084
1156
|
# @param Name: Session名称
|
@@ -5394,6 +5466,82 @@ module TencentCloud
|
|
5394
5466
|
end
|
5395
5467
|
end
|
5396
5468
|
|
5469
|
+
# 表字段描述信息
|
5470
|
+
class TColumn < TencentCloud::Common::AbstractModel
|
5471
|
+
# @param Name: 字段名称
|
5472
|
+
# @type Name: String
|
5473
|
+
# @param Type: 字段类型
|
5474
|
+
# @type Type: String
|
5475
|
+
# @param Comment: 字段描述
|
5476
|
+
# @type Comment: String
|
5477
|
+
# @param Default: 字段默认值
|
5478
|
+
# @type Default: String
|
5479
|
+
# @param NotNull: 字段是否是非空
|
5480
|
+
# @type NotNull: Boolean
|
5481
|
+
|
5482
|
+
attr_accessor :Name, :Type, :Comment, :Default, :NotNull
|
5483
|
+
|
5484
|
+
def initialize(name=nil, type=nil, comment=nil, default=nil, notnull=nil)
|
5485
|
+
@Name = name
|
5486
|
+
@Type = type
|
5487
|
+
@Comment = comment
|
5488
|
+
@Default = default
|
5489
|
+
@NotNull = notnull
|
5490
|
+
end
|
5491
|
+
|
5492
|
+
def deserialize(params)
|
5493
|
+
@Name = params['Name']
|
5494
|
+
@Type = params['Type']
|
5495
|
+
@Comment = params['Comment']
|
5496
|
+
@Default = params['Default']
|
5497
|
+
@NotNull = params['NotNull']
|
5498
|
+
end
|
5499
|
+
end
|
5500
|
+
|
5501
|
+
# 表分区字段信息
|
5502
|
+
class TPartition < TencentCloud::Common::AbstractModel
|
5503
|
+
# @param Name: 字段名称
|
5504
|
+
# @type Name: String
|
5505
|
+
# @param Type: 字段类型
|
5506
|
+
# @type Type: String
|
5507
|
+
# @param Comment: 字段描述
|
5508
|
+
# @type Comment: String
|
5509
|
+
# @param PartitionType: 分区类型
|
5510
|
+
# @type PartitionType: String
|
5511
|
+
# @param PartitionFormat: 分区格式
|
5512
|
+
# @type PartitionFormat: String
|
5513
|
+
# @param PartitionDot: 分区分隔数
|
5514
|
+
# @type PartitionDot: Integer
|
5515
|
+
# @param Transform: 分区转换策略
|
5516
|
+
# @type Transform: String
|
5517
|
+
# @param TransformArgs: 策略参数
|
5518
|
+
# @type TransformArgs: Array
|
5519
|
+
|
5520
|
+
attr_accessor :Name, :Type, :Comment, :PartitionType, :PartitionFormat, :PartitionDot, :Transform, :TransformArgs
|
5521
|
+
|
5522
|
+
def initialize(name=nil, type=nil, comment=nil, partitiontype=nil, partitionformat=nil, partitiondot=nil, transform=nil, transformargs=nil)
|
5523
|
+
@Name = name
|
5524
|
+
@Type = type
|
5525
|
+
@Comment = comment
|
5526
|
+
@PartitionType = partitiontype
|
5527
|
+
@PartitionFormat = partitionformat
|
5528
|
+
@PartitionDot = partitiondot
|
5529
|
+
@Transform = transform
|
5530
|
+
@TransformArgs = transformargs
|
5531
|
+
end
|
5532
|
+
|
5533
|
+
def deserialize(params)
|
5534
|
+
@Name = params['Name']
|
5535
|
+
@Type = params['Type']
|
5536
|
+
@Comment = params['Comment']
|
5537
|
+
@PartitionType = params['PartitionType']
|
5538
|
+
@PartitionFormat = params['PartitionFormat']
|
5539
|
+
@PartitionDot = params['PartitionDot']
|
5540
|
+
@Transform = params['Transform']
|
5541
|
+
@TransformArgs = params['TransformArgs']
|
5542
|
+
end
|
5543
|
+
end
|
5544
|
+
|
5397
5545
|
# 数据表配置信息
|
5398
5546
|
class TableBaseInfo < TencentCloud::Common::AbstractModel
|
5399
5547
|
# @param DatabaseName: 该数据表所属数据库名字
|
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.504
|
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-02-
|
11
|
+
date: 2023-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|