tencentcloud-sdk-dlc 3.0.502 → 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 +48 -0
- data/lib/v20210125/models.rb +223 -9
- 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.
|
@@ -1421,6 +1445,30 @@ module TencentCloud
|
|
1421
1445
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1422
1446
|
end
|
1423
1447
|
|
1448
|
+
# 修改数据治理事件阈值
|
1449
|
+
|
1450
|
+
# @param request: Request instance for ModifyGovernEventRule.
|
1451
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::ModifyGovernEventRuleRequest`
|
1452
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::ModifyGovernEventRuleResponse`
|
1453
|
+
def ModifyGovernEventRule(request)
|
1454
|
+
body = send_request('ModifyGovernEventRule', request.serialize)
|
1455
|
+
response = JSON.parse(body)
|
1456
|
+
if response['Response'].key?('Error') == false
|
1457
|
+
model = ModifyGovernEventRuleResponse.new
|
1458
|
+
model.deserialize(response['Response'])
|
1459
|
+
model
|
1460
|
+
else
|
1461
|
+
code = response['Response']['Error']['Code']
|
1462
|
+
message = response['Response']['Error']['Message']
|
1463
|
+
reqid = response['Response']['RequestId']
|
1464
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1465
|
+
end
|
1466
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1467
|
+
raise e
|
1468
|
+
rescue StandardError => e
|
1469
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1470
|
+
end
|
1471
|
+
|
1424
1472
|
# 更新spark应用
|
1425
1473
|
|
1426
1474
|
# @param request: Request instance for ModifySparkApp.
|
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名称
|
@@ -1319,10 +1391,16 @@ module TencentCloud
|
|
1319
1391
|
# @type IsLocalArchives: String
|
1320
1392
|
# @param AppArchives: archives:依赖资源
|
1321
1393
|
# @type AppArchives: String
|
1394
|
+
# @param SparkImage: Spark Image 版本
|
1395
|
+
# @type SparkImage: String
|
1396
|
+
# @param SparkImageVersion: Spark Image 版本名称
|
1397
|
+
# @type SparkImageVersion: String
|
1398
|
+
# @param AppExecutorMaxNumbers: 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于AppExecutorNums
|
1399
|
+
# @type AppExecutorMaxNumbers: Integer
|
1322
1400
|
|
1323
|
-
attr_accessor :AppName, :AppType, :DataEngine, :AppFile, :RoleArn, :AppDriverSize, :AppExecutorSize, :AppExecutorNums, :Eni, :IsLocal, :MainClass, :AppConf, :IsLocalJars, :AppJars, :IsLocalFiles, :AppFiles, :CmdArgs, :MaxRetries, :DataSource, :IsLocalPythonFiles, :AppPythonFiles, :IsLocalArchives, :AppArchives
|
1401
|
+
attr_accessor :AppName, :AppType, :DataEngine, :AppFile, :RoleArn, :AppDriverSize, :AppExecutorSize, :AppExecutorNums, :Eni, :IsLocal, :MainClass, :AppConf, :IsLocalJars, :AppJars, :IsLocalFiles, :AppFiles, :CmdArgs, :MaxRetries, :DataSource, :IsLocalPythonFiles, :AppPythonFiles, :IsLocalArchives, :AppArchives, :SparkImage, :SparkImageVersion, :AppExecutorMaxNumbers
|
1324
1402
|
|
1325
|
-
def initialize(appname=nil, apptype=nil, dataengine=nil, appfile=nil, rolearn=nil, appdriversize=nil, appexecutorsize=nil, appexecutornums=nil, eni=nil, islocal=nil, mainclass=nil, appconf=nil, islocaljars=nil, appjars=nil, islocalfiles=nil, appfiles=nil, cmdargs=nil, maxretries=nil, datasource=nil, islocalpythonfiles=nil, apppythonfiles=nil, islocalarchives=nil, apparchives=nil)
|
1403
|
+
def initialize(appname=nil, apptype=nil, dataengine=nil, appfile=nil, rolearn=nil, appdriversize=nil, appexecutorsize=nil, appexecutornums=nil, eni=nil, islocal=nil, mainclass=nil, appconf=nil, islocaljars=nil, appjars=nil, islocalfiles=nil, appfiles=nil, cmdargs=nil, maxretries=nil, datasource=nil, islocalpythonfiles=nil, apppythonfiles=nil, islocalarchives=nil, apparchives=nil, sparkimage=nil, sparkimageversion=nil, appexecutormaxnumbers=nil)
|
1326
1404
|
@AppName = appname
|
1327
1405
|
@AppType = apptype
|
1328
1406
|
@DataEngine = dataengine
|
@@ -1346,6 +1424,9 @@ module TencentCloud
|
|
1346
1424
|
@AppPythonFiles = apppythonfiles
|
1347
1425
|
@IsLocalArchives = islocalarchives
|
1348
1426
|
@AppArchives = apparchives
|
1427
|
+
@SparkImage = sparkimage
|
1428
|
+
@SparkImageVersion = sparkimageversion
|
1429
|
+
@AppExecutorMaxNumbers = appexecutormaxnumbers
|
1349
1430
|
end
|
1350
1431
|
|
1351
1432
|
def deserialize(params)
|
@@ -1372,21 +1453,29 @@ module TencentCloud
|
|
1372
1453
|
@AppPythonFiles = params['AppPythonFiles']
|
1373
1454
|
@IsLocalArchives = params['IsLocalArchives']
|
1374
1455
|
@AppArchives = params['AppArchives']
|
1456
|
+
@SparkImage = params['SparkImage']
|
1457
|
+
@SparkImageVersion = params['SparkImageVersion']
|
1458
|
+
@AppExecutorMaxNumbers = params['AppExecutorMaxNumbers']
|
1375
1459
|
end
|
1376
1460
|
end
|
1377
1461
|
|
1378
1462
|
# CreateSparkApp返回参数结构体
|
1379
1463
|
class CreateSparkAppResponse < TencentCloud::Common::AbstractModel
|
1464
|
+
# @param SparkAppId: App唯一标识
|
1465
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1466
|
+
# @type SparkAppId: String
|
1380
1467
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1381
1468
|
# @type RequestId: String
|
1382
1469
|
|
1383
|
-
attr_accessor :RequestId
|
1470
|
+
attr_accessor :SparkAppId, :RequestId
|
1384
1471
|
|
1385
|
-
def initialize(requestid=nil)
|
1472
|
+
def initialize(sparkappid=nil, requestid=nil)
|
1473
|
+
@SparkAppId = sparkappid
|
1386
1474
|
@RequestId = requestid
|
1387
1475
|
end
|
1388
1476
|
|
1389
1477
|
def deserialize(params)
|
1478
|
+
@SparkAppId = params['SparkAppId']
|
1390
1479
|
@RequestId = params['RequestId']
|
1391
1480
|
end
|
1392
1481
|
end
|
@@ -4489,6 +4578,33 @@ module TencentCloud
|
|
4489
4578
|
end
|
4490
4579
|
end
|
4491
4580
|
|
4581
|
+
# ModifyGovernEventRule请求参数结构体
|
4582
|
+
class ModifyGovernEventRuleRequest < TencentCloud::Common::AbstractModel
|
4583
|
+
|
4584
|
+
|
4585
|
+
def initialize()
|
4586
|
+
end
|
4587
|
+
|
4588
|
+
def deserialize(params)
|
4589
|
+
end
|
4590
|
+
end
|
4591
|
+
|
4592
|
+
# ModifyGovernEventRule返回参数结构体
|
4593
|
+
class ModifyGovernEventRuleResponse < TencentCloud::Common::AbstractModel
|
4594
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4595
|
+
# @type RequestId: String
|
4596
|
+
|
4597
|
+
attr_accessor :RequestId
|
4598
|
+
|
4599
|
+
def initialize(requestid=nil)
|
4600
|
+
@RequestId = requestid
|
4601
|
+
end
|
4602
|
+
|
4603
|
+
def deserialize(params)
|
4604
|
+
@RequestId = params['RequestId']
|
4605
|
+
end
|
4606
|
+
end
|
4607
|
+
|
4492
4608
|
# ModifySparkApp请求参数结构体
|
4493
4609
|
class ModifySparkAppRequest < TencentCloud::Common::AbstractModel
|
4494
4610
|
# @param AppName: spark应用名
|
@@ -4539,10 +4655,16 @@ module TencentCloud
|
|
4539
4655
|
# @type IsLocalArchives: String
|
4540
4656
|
# @param AppArchives: archives:依赖资源
|
4541
4657
|
# @type AppArchives: String
|
4658
|
+
# @param SparkImage: Spark Image 版本
|
4659
|
+
# @type SparkImage: String
|
4660
|
+
# @param SparkImageVersion: Spark Image 版本名称
|
4661
|
+
# @type SparkImageVersion: String
|
4662
|
+
# @param AppExecutorMaxNumbers: 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于AppExecutorNums
|
4663
|
+
# @type AppExecutorMaxNumbers: Integer
|
4542
4664
|
|
4543
|
-
attr_accessor :AppName, :AppType, :DataEngine, :AppFile, :RoleArn, :AppDriverSize, :AppExecutorSize, :AppExecutorNums, :SparkAppId, :Eni, :IsLocal, :MainClass, :AppConf, :IsLocalJars, :AppJars, :IsLocalFiles, :AppFiles, :IsLocalPythonFiles, :AppPythonFiles, :CmdArgs, :MaxRetries, :DataSource, :IsLocalArchives, :AppArchives
|
4665
|
+
attr_accessor :AppName, :AppType, :DataEngine, :AppFile, :RoleArn, :AppDriverSize, :AppExecutorSize, :AppExecutorNums, :SparkAppId, :Eni, :IsLocal, :MainClass, :AppConf, :IsLocalJars, :AppJars, :IsLocalFiles, :AppFiles, :IsLocalPythonFiles, :AppPythonFiles, :CmdArgs, :MaxRetries, :DataSource, :IsLocalArchives, :AppArchives, :SparkImage, :SparkImageVersion, :AppExecutorMaxNumbers
|
4544
4666
|
|
4545
|
-
def initialize(appname=nil, apptype=nil, dataengine=nil, appfile=nil, rolearn=nil, appdriversize=nil, appexecutorsize=nil, appexecutornums=nil, sparkappid=nil, eni=nil, islocal=nil, mainclass=nil, appconf=nil, islocaljars=nil, appjars=nil, islocalfiles=nil, appfiles=nil, islocalpythonfiles=nil, apppythonfiles=nil, cmdargs=nil, maxretries=nil, datasource=nil, islocalarchives=nil, apparchives=nil)
|
4667
|
+
def initialize(appname=nil, apptype=nil, dataengine=nil, appfile=nil, rolearn=nil, appdriversize=nil, appexecutorsize=nil, appexecutornums=nil, sparkappid=nil, eni=nil, islocal=nil, mainclass=nil, appconf=nil, islocaljars=nil, appjars=nil, islocalfiles=nil, appfiles=nil, islocalpythonfiles=nil, apppythonfiles=nil, cmdargs=nil, maxretries=nil, datasource=nil, islocalarchives=nil, apparchives=nil, sparkimage=nil, sparkimageversion=nil, appexecutormaxnumbers=nil)
|
4546
4668
|
@AppName = appname
|
4547
4669
|
@AppType = apptype
|
4548
4670
|
@DataEngine = dataengine
|
@@ -4567,6 +4689,9 @@ module TencentCloud
|
|
4567
4689
|
@DataSource = datasource
|
4568
4690
|
@IsLocalArchives = islocalarchives
|
4569
4691
|
@AppArchives = apparchives
|
4692
|
+
@SparkImage = sparkimage
|
4693
|
+
@SparkImageVersion = sparkimageversion
|
4694
|
+
@AppExecutorMaxNumbers = appexecutormaxnumbers
|
4570
4695
|
end
|
4571
4696
|
|
4572
4697
|
def deserialize(params)
|
@@ -4594,6 +4719,9 @@ module TencentCloud
|
|
4594
4719
|
@DataSource = params['DataSource']
|
4595
4720
|
@IsLocalArchives = params['IsLocalArchives']
|
4596
4721
|
@AppArchives = params['AppArchives']
|
4722
|
+
@SparkImage = params['SparkImage']
|
4723
|
+
@SparkImageVersion = params['SparkImageVersion']
|
4724
|
+
@AppExecutorMaxNumbers = params['AppExecutorMaxNumbers']
|
4597
4725
|
end
|
4598
4726
|
end
|
4599
4727
|
|
@@ -5076,7 +5204,7 @@ module TencentCloud
|
|
5076
5204
|
end
|
5077
5205
|
end
|
5078
5206
|
|
5079
|
-
# spark
|
5207
|
+
# spark作业详情。
|
5080
5208
|
class SparkJobInfo < TencentCloud::Common::AbstractModel
|
5081
5209
|
# @param JobId: spark作业ID
|
5082
5210
|
# @type JobId: String
|
@@ -5144,6 +5272,9 @@ module TencentCloud
|
|
5144
5272
|
# @param JobArchives: archives:依赖资源
|
5145
5273
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5146
5274
|
# @type JobArchives: String
|
5275
|
+
# @param SparkImage: Spark Image 版本
|
5276
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5277
|
+
# @type SparkImage: String
|
5147
5278
|
# @param JobPythonFiles: pyspark:python依赖, 除py文件外,还支持zip/egg等归档格式,多文件以逗号分隔
|
5148
5279
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5149
5280
|
# @type JobPythonFiles: String
|
@@ -5153,10 +5284,13 @@ module TencentCloud
|
|
5153
5284
|
# @param DataEngineStatus: 引擎状态:-100(默认:未知状态),-2~11:引擎正常状态;
|
5154
5285
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5155
5286
|
# @type DataEngineStatus: Integer
|
5287
|
+
# @param JobExecutorMaxNumbers: 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于JobExecutorNums
|
5288
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5289
|
+
# @type JobExecutorMaxNumbers: Integer
|
5156
5290
|
|
5157
|
-
attr_accessor :JobId, :JobName, :JobType, :DataEngine, :Eni, :IsLocal, :JobFile, :RoleArn, :MainClass, :CmdArgs, :JobConf, :IsLocalJars, :JobJars, :IsLocalFiles, :JobFiles, :JobDriverSize, :JobExecutorSize, :JobExecutorNums, :JobMaxAttempts, :JobCreator, :JobCreateTime, :JobUpdateTime, :CurrentTaskId, :JobStatus, :StreamingStat, :DataSource, :IsLocalPythonFiles, :AppPythonFiles, :IsLocalArchives, :JobArchives, :JobPythonFiles, :TaskNum, :DataEngineStatus
|
5291
|
+
attr_accessor :JobId, :JobName, :JobType, :DataEngine, :Eni, :IsLocal, :JobFile, :RoleArn, :MainClass, :CmdArgs, :JobConf, :IsLocalJars, :JobJars, :IsLocalFiles, :JobFiles, :JobDriverSize, :JobExecutorSize, :JobExecutorNums, :JobMaxAttempts, :JobCreator, :JobCreateTime, :JobUpdateTime, :CurrentTaskId, :JobStatus, :StreamingStat, :DataSource, :IsLocalPythonFiles, :AppPythonFiles, :IsLocalArchives, :JobArchives, :SparkImage, :JobPythonFiles, :TaskNum, :DataEngineStatus, :JobExecutorMaxNumbers
|
5158
5292
|
|
5159
|
-
def initialize(jobid=nil, jobname=nil, jobtype=nil, dataengine=nil, eni=nil, islocal=nil, jobfile=nil, rolearn=nil, mainclass=nil, cmdargs=nil, jobconf=nil, islocaljars=nil, jobjars=nil, islocalfiles=nil, jobfiles=nil, jobdriversize=nil, jobexecutorsize=nil, jobexecutornums=nil, jobmaxattempts=nil, jobcreator=nil, jobcreatetime=nil, jobupdatetime=nil, currenttaskid=nil, jobstatus=nil, streamingstat=nil, datasource=nil, islocalpythonfiles=nil, apppythonfiles=nil, islocalarchives=nil, jobarchives=nil, jobpythonfiles=nil, tasknum=nil, dataenginestatus=nil)
|
5293
|
+
def initialize(jobid=nil, jobname=nil, jobtype=nil, dataengine=nil, eni=nil, islocal=nil, jobfile=nil, rolearn=nil, mainclass=nil, cmdargs=nil, jobconf=nil, islocaljars=nil, jobjars=nil, islocalfiles=nil, jobfiles=nil, jobdriversize=nil, jobexecutorsize=nil, jobexecutornums=nil, jobmaxattempts=nil, jobcreator=nil, jobcreatetime=nil, jobupdatetime=nil, currenttaskid=nil, jobstatus=nil, streamingstat=nil, datasource=nil, islocalpythonfiles=nil, apppythonfiles=nil, islocalarchives=nil, jobarchives=nil, sparkimage=nil, jobpythonfiles=nil, tasknum=nil, dataenginestatus=nil, jobexecutormaxnumbers=nil)
|
5160
5294
|
@JobId = jobid
|
5161
5295
|
@JobName = jobname
|
5162
5296
|
@JobType = jobtype
|
@@ -5187,9 +5321,11 @@ module TencentCloud
|
|
5187
5321
|
@AppPythonFiles = apppythonfiles
|
5188
5322
|
@IsLocalArchives = islocalarchives
|
5189
5323
|
@JobArchives = jobarchives
|
5324
|
+
@SparkImage = sparkimage
|
5190
5325
|
@JobPythonFiles = jobpythonfiles
|
5191
5326
|
@TaskNum = tasknum
|
5192
5327
|
@DataEngineStatus = dataenginestatus
|
5328
|
+
@JobExecutorMaxNumbers = jobexecutormaxnumbers
|
5193
5329
|
end
|
5194
5330
|
|
5195
5331
|
def deserialize(params)
|
@@ -5226,9 +5362,11 @@ module TencentCloud
|
|
5226
5362
|
@AppPythonFiles = params['AppPythonFiles']
|
5227
5363
|
@IsLocalArchives = params['IsLocalArchives']
|
5228
5364
|
@JobArchives = params['JobArchives']
|
5365
|
+
@SparkImage = params['SparkImage']
|
5229
5366
|
@JobPythonFiles = params['JobPythonFiles']
|
5230
5367
|
@TaskNum = params['TaskNum']
|
5231
5368
|
@DataEngineStatus = params['DataEngineStatus']
|
5369
|
+
@JobExecutorMaxNumbers = params['JobExecutorMaxNumbers']
|
5232
5370
|
end
|
5233
5371
|
end
|
5234
5372
|
|
@@ -5328,6 +5466,82 @@ module TencentCloud
|
|
5328
5466
|
end
|
5329
5467
|
end
|
5330
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
|
+
|
5331
5545
|
# 数据表配置信息
|
5332
5546
|
class TableBaseInfo < TencentCloud::Common::AbstractModel
|
5333
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
|