tencentcloud-sdk-dlc 1.0.331 → 1.0.334
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 +115 -8
- 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: 72a364f3d0f53130ab17cd35390e51904efd4bf2
|
4
|
+
data.tar.gz: 1b371f234b95ccdc592c9ce1217cdbc881bdb782
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 533827828e9a3e07701333833b2fd2af6b5393932a626b905c5959113ae13f2ac4b73b04dfde68ca0a3e71f033c18ae2dc2276d91ffa237cd7a9d7e459b03025
|
7
|
+
data.tar.gz: ec4ceb6c12f516347b5d624189290a217257dd1a8644dd599b08a02c7402577f713d41cfee4b671f7e4242a3e0fcf1d53fe5afd96a44ef4dbda760d16966a2cf
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.334
|
data/lib/v20210125/client.rb
CHANGED
@@ -941,6 +941,30 @@ module TencentCloud
|
|
941
941
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
942
942
|
end
|
943
943
|
|
944
|
+
# 本接口(ListTaskJobLogDetail)用于获取spark-jar日志列表
|
945
|
+
|
946
|
+
# @param request: Request instance for ListTaskJobLogDetail.
|
947
|
+
# @type request: :class:`Tencentcloud::dlc::V20210125::ListTaskJobLogDetailRequest`
|
948
|
+
# @rtype: :class:`Tencentcloud::dlc::V20210125::ListTaskJobLogDetailResponse`
|
949
|
+
def ListTaskJobLogDetail(request)
|
950
|
+
body = send_request('ListTaskJobLogDetail', request.serialize)
|
951
|
+
response = JSON.parse(body)
|
952
|
+
if response['Response'].key?('Error') == false
|
953
|
+
model = ListTaskJobLogDetailResponse.new
|
954
|
+
model.deserialize(response['Response'])
|
955
|
+
model
|
956
|
+
else
|
957
|
+
code = response['Response']['Error']['Code']
|
958
|
+
message = response['Response']['Error']['Message']
|
959
|
+
reqid = response['Response']['RequestId']
|
960
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
961
|
+
end
|
962
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
963
|
+
raise e
|
964
|
+
rescue StandardError => e
|
965
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
|
+
end
|
967
|
+
|
944
968
|
# 更新spark应用
|
945
969
|
|
946
970
|
# @param request: Request instance for ModifySparkApp.
|
data/lib/v20210125/models.rb
CHANGED
@@ -290,10 +290,13 @@ module TencentCloud
|
|
290
290
|
# @param ModifiedTime: 字段修改时间
|
291
291
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
292
292
|
# @type ModifiedTime: String
|
293
|
+
# @param IsPartition: 是否为分区字段
|
294
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
295
|
+
# @type IsPartition: Boolean
|
293
296
|
|
294
|
-
attr_accessor :Name, :Type, :Comment, :Precision, :Scale, :Nullable, :Position, :CreateTime, :ModifiedTime
|
297
|
+
attr_accessor :Name, :Type, :Comment, :Precision, :Scale, :Nullable, :Position, :CreateTime, :ModifiedTime, :IsPartition
|
295
298
|
|
296
|
-
def initialize(name=nil, type=nil, comment=nil, precision=nil, scale=nil, nullable=nil, position=nil, createtime=nil, modifiedtime=nil)
|
299
|
+
def initialize(name=nil, type=nil, comment=nil, precision=nil, scale=nil, nullable=nil, position=nil, createtime=nil, modifiedtime=nil, ispartition=nil)
|
297
300
|
@Name = name
|
298
301
|
@Type = type
|
299
302
|
@Comment = comment
|
@@ -303,6 +306,7 @@ module TencentCloud
|
|
303
306
|
@Position = position
|
304
307
|
@CreateTime = createtime
|
305
308
|
@ModifiedTime = modifiedtime
|
309
|
+
@IsPartition = ispartition
|
306
310
|
end
|
307
311
|
|
308
312
|
def deserialize(params)
|
@@ -315,6 +319,7 @@ module TencentCloud
|
|
315
319
|
@Position = params['Position']
|
316
320
|
@CreateTime = params['CreateTime']
|
317
321
|
@ModifiedTime = params['ModifiedTime']
|
322
|
+
@IsPartition = params['IsPartition']
|
318
323
|
end
|
319
324
|
end
|
320
325
|
|
@@ -1771,7 +1776,7 @@ module TencentCloud
|
|
1771
1776
|
# @type EndTime: String
|
1772
1777
|
# @param Sort: 排序字段,支持:ModifiedTime(默认);CreateTime
|
1773
1778
|
# @type Sort: String
|
1774
|
-
# @param Asc: 排序字段,false:降序(默认);true
|
1779
|
+
# @param Asc: 排序字段,false:降序(默认);true:升序
|
1775
1780
|
# @type Asc: Boolean
|
1776
1781
|
# @param TableType: table type,表类型查询,可用值:EXTERNAL_TABLE,INDEX_TABLE,MANAGED_TABLE,MATERIALIZED_VIEW,TABLE,VIEW,VIRTUAL_VIEW
|
1777
1782
|
# @type TableType: String
|
@@ -2072,11 +2077,11 @@ module TencentCloud
|
|
2072
2077
|
# @type DatasourceConnectionName: String
|
2073
2078
|
# @param Sort: 排序字段
|
2074
2079
|
# @type Sort: String
|
2075
|
-
# @param Asc:
|
2080
|
+
# @param Asc: 排序规则,true:升序;false:降序
|
2076
2081
|
# @type Asc: Boolean
|
2077
|
-
# @param StartTime:
|
2082
|
+
# @param StartTime: 按视图更新时间筛选,开始时间,如2021-11-11 00:00:00
|
2078
2083
|
# @type StartTime: String
|
2079
|
-
# @param EndTime:
|
2084
|
+
# @param EndTime: 按视图更新时间筛选,结束时间,如2021-11-12 00:00:00
|
2080
2085
|
# @type EndTime: String
|
2081
2086
|
|
2082
2087
|
attr_accessor :DatabaseName, :Limit, :Offset, :Filters, :DatasourceConnectionName, :Sort, :Asc, :StartTime, :EndTime
|
@@ -2340,6 +2345,38 @@ module TencentCloud
|
|
2340
2345
|
end
|
2341
2346
|
end
|
2342
2347
|
|
2348
|
+
# 日志详情
|
2349
|
+
class JobLogResult < TencentCloud::Common::AbstractModel
|
2350
|
+
# @param Time: 日志时间戳,毫秒
|
2351
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2352
|
+
# @type Time: Integer
|
2353
|
+
# @param TopicId: 日志topic id
|
2354
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2355
|
+
# @type TopicId: String
|
2356
|
+
# @param TopicName: 日志topic name
|
2357
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2358
|
+
# @type TopicName: String
|
2359
|
+
# @param LogJson: 日志内容,json字符串
|
2360
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2361
|
+
# @type LogJson: String
|
2362
|
+
|
2363
|
+
attr_accessor :Time, :TopicId, :TopicName, :LogJson
|
2364
|
+
|
2365
|
+
def initialize(time=nil, topicid=nil, topicname=nil, logjson=nil)
|
2366
|
+
@Time = time
|
2367
|
+
@TopicId = topicid
|
2368
|
+
@TopicName = topicname
|
2369
|
+
@LogJson = logjson
|
2370
|
+
end
|
2371
|
+
|
2372
|
+
def deserialize(params)
|
2373
|
+
@Time = params['Time']
|
2374
|
+
@TopicId = params['TopicId']
|
2375
|
+
@TopicName = params['TopicName']
|
2376
|
+
@LogJson = params['LogJson']
|
2377
|
+
end
|
2378
|
+
end
|
2379
|
+
|
2343
2380
|
# 配置格式
|
2344
2381
|
class KVPair < TencentCloud::Common::AbstractModel
|
2345
2382
|
# @param Key: 配置的key值
|
@@ -2362,6 +2399,76 @@ module TencentCloud
|
|
2362
2399
|
end
|
2363
2400
|
end
|
2364
2401
|
|
2402
|
+
# ListTaskJobLogDetail请求参数结构体
|
2403
|
+
class ListTaskJobLogDetailRequest < TencentCloud::Common::AbstractModel
|
2404
|
+
# @param TaskId: 列表返回的Id
|
2405
|
+
# @type TaskId: String
|
2406
|
+
# @param StartTime: 开始运行时间,unix时间戳(毫秒)
|
2407
|
+
# @type StartTime: Integer
|
2408
|
+
# @param EndTime: 结束运行时间,unix时间戳(毫秒)
|
2409
|
+
# @type EndTime: Integer
|
2410
|
+
# @param Limit: 分页大小,最大100,配合Context一起使用
|
2411
|
+
# @type Limit: Integer
|
2412
|
+
# @param Context: 下一次分页参数,第一次传空
|
2413
|
+
# @type Context: String
|
2414
|
+
|
2415
|
+
attr_accessor :TaskId, :StartTime, :EndTime, :Limit, :Context
|
2416
|
+
|
2417
|
+
def initialize(taskid=nil, starttime=nil, endtime=nil, limit=nil, context=nil)
|
2418
|
+
@TaskId = taskid
|
2419
|
+
@StartTime = starttime
|
2420
|
+
@EndTime = endtime
|
2421
|
+
@Limit = limit
|
2422
|
+
@Context = context
|
2423
|
+
end
|
2424
|
+
|
2425
|
+
def deserialize(params)
|
2426
|
+
@TaskId = params['TaskId']
|
2427
|
+
@StartTime = params['StartTime']
|
2428
|
+
@EndTime = params['EndTime']
|
2429
|
+
@Limit = params['Limit']
|
2430
|
+
@Context = params['Context']
|
2431
|
+
end
|
2432
|
+
end
|
2433
|
+
|
2434
|
+
# ListTaskJobLogDetail返回参数结构体
|
2435
|
+
class ListTaskJobLogDetailResponse < TencentCloud::Common::AbstractModel
|
2436
|
+
# @param Context: 下一次分页参数
|
2437
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2438
|
+
# @type Context: String
|
2439
|
+
# @param ListOver: 是否获取完结
|
2440
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2441
|
+
# @type ListOver: Boolean
|
2442
|
+
# @param Results: 日志详情
|
2443
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2444
|
+
# @type Results: Array
|
2445
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2446
|
+
# @type RequestId: String
|
2447
|
+
|
2448
|
+
attr_accessor :Context, :ListOver, :Results, :RequestId
|
2449
|
+
|
2450
|
+
def initialize(context=nil, listover=nil, results=nil, requestid=nil)
|
2451
|
+
@Context = context
|
2452
|
+
@ListOver = listover
|
2453
|
+
@Results = results
|
2454
|
+
@RequestId = requestid
|
2455
|
+
end
|
2456
|
+
|
2457
|
+
def deserialize(params)
|
2458
|
+
@Context = params['Context']
|
2459
|
+
@ListOver = params['ListOver']
|
2460
|
+
unless params['Results'].nil?
|
2461
|
+
@Results = []
|
2462
|
+
params['Results'].each do |i|
|
2463
|
+
joblogresult_tmp = JobLogResult.new
|
2464
|
+
joblogresult_tmp.deserialize(i)
|
2465
|
+
@Results << joblogresult_tmp
|
2466
|
+
end
|
2467
|
+
end
|
2468
|
+
@RequestId = params['RequestId']
|
2469
|
+
end
|
2470
|
+
end
|
2471
|
+
|
2365
2472
|
# ModifySparkApp请求参数结构体
|
2366
2473
|
class ModifySparkAppRequest < TencentCloud::Common::AbstractModel
|
2367
2474
|
# @param AppName: spark应用名
|
@@ -2390,11 +2497,11 @@ module TencentCloud
|
|
2390
2497
|
# @type MainClass: String
|
2391
2498
|
# @param AppConf: spark配置,以换行符分隔
|
2392
2499
|
# @type AppConf: String
|
2393
|
-
# @param IsLocalJars:
|
2500
|
+
# @param IsLocalJars: jar资源依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用)
|
2394
2501
|
# @type IsLocalJars: String
|
2395
2502
|
# @param AppJars: spark jar作业依赖jars,以逗号分隔
|
2396
2503
|
# @type AppJars: String
|
2397
|
-
# @param IsLocalFiles:
|
2504
|
+
# @param IsLocalFiles: file资源依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用)
|
2398
2505
|
# @type IsLocalFiles: String
|
2399
2506
|
# @param AppFiles: spark作业依赖资源,以逗号分隔
|
2400
2507
|
# @type AppFiles: String
|
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: 1.0.
|
4
|
+
version: 1.0.334
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-06-
|
11
|
+
date: 2022-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|