tencentcloud-sdk-dlc 1.0.333 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2a641730d2e832217e1a10fc43ae392154cea74
4
- data.tar.gz: 53ebe91e70b7dbd3f579cdba6265028a029de143
3
+ metadata.gz: 72a364f3d0f53130ab17cd35390e51904efd4bf2
4
+ data.tar.gz: 1b371f234b95ccdc592c9ce1217cdbc881bdb782
5
5
  SHA512:
6
- metadata.gz: 210eb36f2328c3dc10230c5d1c506ada3d0f31c5c12cbc63f3b1ebaabd9bb3353188e55948f4d2f41cf810bedd69c57637331aec182acd0804daed4c9333616d
7
- data.tar.gz: 415c2a838aa30e33b6833630d2e0f55e2cad2527b5c84c73d678039632d9ec5d03ed0e5f89058acb2d08c8cbb5d91ad67430282915f5325fd42c5d2138e78d77
6
+ metadata.gz: 533827828e9a3e07701333833b2fd2af6b5393932a626b905c5959113ae13f2ac4b73b04dfde68ca0a3e71f033c18ae2dc2276d91ffa237cd7a9d7e459b03025
7
+ data.tar.gz: ec4ceb6c12f516347b5d624189290a217257dd1a8644dd599b08a02c7402577f713d41cfee4b671f7e4242a3e0fcf1d53fe5afd96a44ef4dbda760d16966a2cf
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.333
1
+ 1.0.334
@@ -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.
@@ -1776,7 +1776,7 @@ module TencentCloud
1776
1776
  # @type EndTime: String
1777
1777
  # @param Sort: 排序字段,支持:ModifiedTime(默认);CreateTime
1778
1778
  # @type Sort: String
1779
- # @param Asc: 排序字段,false:降序(默认);true
1779
+ # @param Asc: 排序字段,false:降序(默认);true:升序
1780
1780
  # @type Asc: Boolean
1781
1781
  # @param TableType: table type,表类型查询,可用值:EXTERNAL_TABLE,INDEX_TABLE,MANAGED_TABLE,MATERIALIZED_VIEW,TABLE,VIEW,VIRTUAL_VIEW
1782
1782
  # @type TableType: String
@@ -2077,11 +2077,11 @@ module TencentCloud
2077
2077
  # @type DatasourceConnectionName: String
2078
2078
  # @param Sort: 排序字段
2079
2079
  # @type Sort: String
2080
- # @param Asc: 排序规则
2080
+ # @param Asc: 排序规则,true:升序;false:降序
2081
2081
  # @type Asc: Boolean
2082
- # @param StartTime: 开始时间
2082
+ # @param StartTime: 按视图更新时间筛选,开始时间,如2021-11-11 00:00:00
2083
2083
  # @type StartTime: String
2084
- # @param EndTime: 结束时间
2084
+ # @param EndTime: 按视图更新时间筛选,结束时间,如2021-11-12 00:00:00
2085
2085
  # @type EndTime: String
2086
2086
 
2087
2087
  attr_accessor :DatabaseName, :Limit, :Offset, :Filters, :DatasourceConnectionName, :Sort, :Asc, :StartTime, :EndTime
@@ -2345,6 +2345,38 @@ module TencentCloud
2345
2345
  end
2346
2346
  end
2347
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
+
2348
2380
  # 配置格式
2349
2381
  class KVPair < TencentCloud::Common::AbstractModel
2350
2382
  # @param Key: 配置的key值
@@ -2367,6 +2399,76 @@ module TencentCloud
2367
2399
  end
2368
2400
  end
2369
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
+
2370
2472
  # ModifySparkApp请求参数结构体
2371
2473
  class ModifySparkAppRequest < TencentCloud::Common::AbstractModel
2372
2474
  # @param AppName: spark应用名
@@ -2395,11 +2497,11 @@ module TencentCloud
2395
2497
  # @type MainClass: String
2396
2498
  # @param AppConf: spark配置,以换行符分隔
2397
2499
  # @type AppConf: String
2398
- # @param IsLocalJars: 是否本地上传,可去cos,lakefs
2500
+ # @param IsLocalJars: jar资源依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用)
2399
2501
  # @type IsLocalJars: String
2400
2502
  # @param AppJars: spark jar作业依赖jars,以逗号分隔
2401
2503
  # @type AppJars: String
2402
- # @param IsLocalFiles: 是否本地上传,可去cos,lakefs
2504
+ # @param IsLocalFiles: file资源依赖上传方式,1、cos;2、lakefs(控制台使用,该方式不支持直接接口调用)
2403
2505
  # @type IsLocalFiles: String
2404
2506
  # @param AppFiles: spark作业依赖资源,以逗号分隔
2405
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.333
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-14 00:00:00.000000000 Z
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