tencentcloud-sdk-dlc 3.0.502 → 3.0.503
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 +75 -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: ce5ef838c6a461b8d82f9d41cb299d71069e93d3
|
4
|
+
data.tar.gz: 962d1053719389d0e5efbb893b2de70ec96a4a7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bf90df8560330799cef67aa15ffcc8f32137bed843d4d821e0215484ace788847bade40a00246705596d536404eb682bb76efd7a326de0b2fb96b65615205e2
|
7
|
+
data.tar.gz: 45cc10d54bf72c1b94c584e4411dc65d9168aef37b8f0c08a13332355573a1862ffc388d25eb26508cc1e5ce9adc5e61f4570082eae945d1ea9f1cfb2f846d46
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.503
|
data/lib/v20210125/client.rb
CHANGED
@@ -1421,6 +1421,30 @@ module TencentCloud
|
|
1421
1421
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1422
1422
|
end
|
1423
1423
|
|
1424
|
+
# 修改数据治理事件阈值
|
1425
|
+
|
1426
|
+
# @param request: Request instance for ModifyGovernEventRule.
|
1427
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::ModifyGovernEventRuleRequest`
|
1428
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::ModifyGovernEventRuleResponse`
|
1429
|
+
def ModifyGovernEventRule(request)
|
1430
|
+
body = send_request('ModifyGovernEventRule', request.serialize)
|
1431
|
+
response = JSON.parse(body)
|
1432
|
+
if response['Response'].key?('Error') == false
|
1433
|
+
model = ModifyGovernEventRuleResponse.new
|
1434
|
+
model.deserialize(response['Response'])
|
1435
|
+
model
|
1436
|
+
else
|
1437
|
+
code = response['Response']['Error']['Code']
|
1438
|
+
message = response['Response']['Error']['Message']
|
1439
|
+
reqid = response['Response']['RequestId']
|
1440
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1441
|
+
end
|
1442
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1443
|
+
raise e
|
1444
|
+
rescue StandardError => e
|
1445
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1446
|
+
end
|
1447
|
+
|
1424
1448
|
# 更新spark应用
|
1425
1449
|
|
1426
1450
|
# @param request: Request instance for ModifySparkApp.
|
data/lib/v20210125/models.rb
CHANGED
@@ -1319,10 +1319,16 @@ module TencentCloud
|
|
1319
1319
|
# @type IsLocalArchives: String
|
1320
1320
|
# @param AppArchives: archives:依赖资源
|
1321
1321
|
# @type AppArchives: String
|
1322
|
+
# @param SparkImage: Spark Image 版本
|
1323
|
+
# @type SparkImage: String
|
1324
|
+
# @param SparkImageVersion: Spark Image 版本名称
|
1325
|
+
# @type SparkImageVersion: String
|
1326
|
+
# @param AppExecutorMaxNumbers: 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于AppExecutorNums
|
1327
|
+
# @type AppExecutorMaxNumbers: Integer
|
1322
1328
|
|
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
|
1329
|
+
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
1330
|
|
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)
|
1331
|
+
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
1332
|
@AppName = appname
|
1327
1333
|
@AppType = apptype
|
1328
1334
|
@DataEngine = dataengine
|
@@ -1346,6 +1352,9 @@ module TencentCloud
|
|
1346
1352
|
@AppPythonFiles = apppythonfiles
|
1347
1353
|
@IsLocalArchives = islocalarchives
|
1348
1354
|
@AppArchives = apparchives
|
1355
|
+
@SparkImage = sparkimage
|
1356
|
+
@SparkImageVersion = sparkimageversion
|
1357
|
+
@AppExecutorMaxNumbers = appexecutormaxnumbers
|
1349
1358
|
end
|
1350
1359
|
|
1351
1360
|
def deserialize(params)
|
@@ -1372,21 +1381,29 @@ module TencentCloud
|
|
1372
1381
|
@AppPythonFiles = params['AppPythonFiles']
|
1373
1382
|
@IsLocalArchives = params['IsLocalArchives']
|
1374
1383
|
@AppArchives = params['AppArchives']
|
1384
|
+
@SparkImage = params['SparkImage']
|
1385
|
+
@SparkImageVersion = params['SparkImageVersion']
|
1386
|
+
@AppExecutorMaxNumbers = params['AppExecutorMaxNumbers']
|
1375
1387
|
end
|
1376
1388
|
end
|
1377
1389
|
|
1378
1390
|
# CreateSparkApp返回参数结构体
|
1379
1391
|
class CreateSparkAppResponse < TencentCloud::Common::AbstractModel
|
1392
|
+
# @param SparkAppId: App唯一标识
|
1393
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1394
|
+
# @type SparkAppId: String
|
1380
1395
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1381
1396
|
# @type RequestId: String
|
1382
1397
|
|
1383
|
-
attr_accessor :RequestId
|
1398
|
+
attr_accessor :SparkAppId, :RequestId
|
1384
1399
|
|
1385
|
-
def initialize(requestid=nil)
|
1400
|
+
def initialize(sparkappid=nil, requestid=nil)
|
1401
|
+
@SparkAppId = sparkappid
|
1386
1402
|
@RequestId = requestid
|
1387
1403
|
end
|
1388
1404
|
|
1389
1405
|
def deserialize(params)
|
1406
|
+
@SparkAppId = params['SparkAppId']
|
1390
1407
|
@RequestId = params['RequestId']
|
1391
1408
|
end
|
1392
1409
|
end
|
@@ -4489,6 +4506,33 @@ module TencentCloud
|
|
4489
4506
|
end
|
4490
4507
|
end
|
4491
4508
|
|
4509
|
+
# ModifyGovernEventRule请求参数结构体
|
4510
|
+
class ModifyGovernEventRuleRequest < TencentCloud::Common::AbstractModel
|
4511
|
+
|
4512
|
+
|
4513
|
+
def initialize()
|
4514
|
+
end
|
4515
|
+
|
4516
|
+
def deserialize(params)
|
4517
|
+
end
|
4518
|
+
end
|
4519
|
+
|
4520
|
+
# ModifyGovernEventRule返回参数结构体
|
4521
|
+
class ModifyGovernEventRuleResponse < TencentCloud::Common::AbstractModel
|
4522
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4523
|
+
# @type RequestId: String
|
4524
|
+
|
4525
|
+
attr_accessor :RequestId
|
4526
|
+
|
4527
|
+
def initialize(requestid=nil)
|
4528
|
+
@RequestId = requestid
|
4529
|
+
end
|
4530
|
+
|
4531
|
+
def deserialize(params)
|
4532
|
+
@RequestId = params['RequestId']
|
4533
|
+
end
|
4534
|
+
end
|
4535
|
+
|
4492
4536
|
# ModifySparkApp请求参数结构体
|
4493
4537
|
class ModifySparkAppRequest < TencentCloud::Common::AbstractModel
|
4494
4538
|
# @param AppName: spark应用名
|
@@ -4539,10 +4583,16 @@ module TencentCloud
|
|
4539
4583
|
# @type IsLocalArchives: String
|
4540
4584
|
# @param AppArchives: archives:依赖资源
|
4541
4585
|
# @type AppArchives: String
|
4586
|
+
# @param SparkImage: Spark Image 版本
|
4587
|
+
# @type SparkImage: String
|
4588
|
+
# @param SparkImageVersion: Spark Image 版本名称
|
4589
|
+
# @type SparkImageVersion: String
|
4590
|
+
# @param AppExecutorMaxNumbers: 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于AppExecutorNums
|
4591
|
+
# @type AppExecutorMaxNumbers: Integer
|
4542
4592
|
|
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
|
4593
|
+
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
4594
|
|
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)
|
4595
|
+
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
4596
|
@AppName = appname
|
4547
4597
|
@AppType = apptype
|
4548
4598
|
@DataEngine = dataengine
|
@@ -4567,6 +4617,9 @@ module TencentCloud
|
|
4567
4617
|
@DataSource = datasource
|
4568
4618
|
@IsLocalArchives = islocalarchives
|
4569
4619
|
@AppArchives = apparchives
|
4620
|
+
@SparkImage = sparkimage
|
4621
|
+
@SparkImageVersion = sparkimageversion
|
4622
|
+
@AppExecutorMaxNumbers = appexecutormaxnumbers
|
4570
4623
|
end
|
4571
4624
|
|
4572
4625
|
def deserialize(params)
|
@@ -4594,6 +4647,9 @@ module TencentCloud
|
|
4594
4647
|
@DataSource = params['DataSource']
|
4595
4648
|
@IsLocalArchives = params['IsLocalArchives']
|
4596
4649
|
@AppArchives = params['AppArchives']
|
4650
|
+
@SparkImage = params['SparkImage']
|
4651
|
+
@SparkImageVersion = params['SparkImageVersion']
|
4652
|
+
@AppExecutorMaxNumbers = params['AppExecutorMaxNumbers']
|
4597
4653
|
end
|
4598
4654
|
end
|
4599
4655
|
|
@@ -5076,7 +5132,7 @@ module TencentCloud
|
|
5076
5132
|
end
|
5077
5133
|
end
|
5078
5134
|
|
5079
|
-
# spark
|
5135
|
+
# spark作业详情。
|
5080
5136
|
class SparkJobInfo < TencentCloud::Common::AbstractModel
|
5081
5137
|
# @param JobId: spark作业ID
|
5082
5138
|
# @type JobId: String
|
@@ -5144,6 +5200,9 @@ module TencentCloud
|
|
5144
5200
|
# @param JobArchives: archives:依赖资源
|
5145
5201
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5146
5202
|
# @type JobArchives: String
|
5203
|
+
# @param SparkImage: Spark Image 版本
|
5204
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5205
|
+
# @type SparkImage: String
|
5147
5206
|
# @param JobPythonFiles: pyspark:python依赖, 除py文件外,还支持zip/egg等归档格式,多文件以逗号分隔
|
5148
5207
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5149
5208
|
# @type JobPythonFiles: String
|
@@ -5153,10 +5212,13 @@ module TencentCloud
|
|
5153
5212
|
# @param DataEngineStatus: 引擎状态:-100(默认:未知状态),-2~11:引擎正常状态;
|
5154
5213
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5155
5214
|
# @type DataEngineStatus: Integer
|
5215
|
+
# @param JobExecutorMaxNumbers: 指定的Executor数量(最大值),默认为1,当开启动态分配有效,若未开启,则该值等于JobExecutorNums
|
5216
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5217
|
+
# @type JobExecutorMaxNumbers: Integer
|
5156
5218
|
|
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
|
5219
|
+
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
5220
|
|
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)
|
5221
|
+
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
5222
|
@JobId = jobid
|
5161
5223
|
@JobName = jobname
|
5162
5224
|
@JobType = jobtype
|
@@ -5187,9 +5249,11 @@ module TencentCloud
|
|
5187
5249
|
@AppPythonFiles = apppythonfiles
|
5188
5250
|
@IsLocalArchives = islocalarchives
|
5189
5251
|
@JobArchives = jobarchives
|
5252
|
+
@SparkImage = sparkimage
|
5190
5253
|
@JobPythonFiles = jobpythonfiles
|
5191
5254
|
@TaskNum = tasknum
|
5192
5255
|
@DataEngineStatus = dataenginestatus
|
5256
|
+
@JobExecutorMaxNumbers = jobexecutormaxnumbers
|
5193
5257
|
end
|
5194
5258
|
|
5195
5259
|
def deserialize(params)
|
@@ -5226,9 +5290,11 @@ module TencentCloud
|
|
5226
5290
|
@AppPythonFiles = params['AppPythonFiles']
|
5227
5291
|
@IsLocalArchives = params['IsLocalArchives']
|
5228
5292
|
@JobArchives = params['JobArchives']
|
5293
|
+
@SparkImage = params['SparkImage']
|
5229
5294
|
@JobPythonFiles = params['JobPythonFiles']
|
5230
5295
|
@TaskNum = params['TaskNum']
|
5231
5296
|
@DataEngineStatus = params['DataEngineStatus']
|
5297
|
+
@JobExecutorMaxNumbers = params['JobExecutorMaxNumbers']
|
5232
5298
|
end
|
5233
5299
|
end
|
5234
5300
|
|
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.503
|
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-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|