tencentcloud-sdk-dlc 3.0.1016 → 3.0.1017

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20210125/models.rb +76 -33
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 88d524df5dd9f29c8dff9479e00ffa4cfaf6d60a
4
- data.tar.gz: b88d86f313c1146e7b9692ee155e0d48dacfc88e
3
+ metadata.gz: cb7aa7068673c75e79436b09c45672cb2388b6b7
4
+ data.tar.gz: 6d7e58a15bbac8b5a00e6e73884d8d79f61fc142
5
5
  SHA512:
6
- metadata.gz: 2eaf39eb97524dde9ae1bff599093ffb7ec9ec313c2c19d6e2e84078de1f9c23c7dbe0557a96c5705938963d6fd1b7faff3dccf265b13037198e16a1ff167c2e
7
- data.tar.gz: 7ad566f2654af47854d1a56a558a39db69a92fc71fbcf7043d932a9dadb8fcc6903d26c887b72b5e06c5f70ade187632ebf71df5ebd2f98907a5ffe9e061e024
6
+ metadata.gz: 0ab131e25df0acfd691fdc5d337f2e2180cefbf2b6f28aa746e1bcac07fbb80709297d0b241837a0a5813b0dd623aa07ac3f838480408b545a86fd523054fb8f
7
+ data.tar.gz: fd5f3c0df5e885e72824cfc93e763459fa3202d54e9de7a24bfb5a34a2198ff90266255140b3617c8fed15ef78b87e8ef85db38f04d33946d2c66a000a0ceeff
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1016
1
+ 3.0.1017
@@ -2552,17 +2552,28 @@ module TencentCloud
2552
2552
  # @type JobName: String
2553
2553
  # @param CmdArgs: spark作业程序入参,以空格分隔;一般用于周期性调用使用
2554
2554
  # @type CmdArgs: String
2555
+ # @param SourceInfo: 任务来源信息
2556
+ # @type SourceInfo: Array
2555
2557
 
2556
- attr_accessor :JobName, :CmdArgs
2558
+ attr_accessor :JobName, :CmdArgs, :SourceInfo
2557
2559
 
2558
- def initialize(jobname=nil, cmdargs=nil)
2560
+ def initialize(jobname=nil, cmdargs=nil, sourceinfo=nil)
2559
2561
  @JobName = jobname
2560
2562
  @CmdArgs = cmdargs
2563
+ @SourceInfo = sourceinfo
2561
2564
  end
2562
2565
 
2563
2566
  def deserialize(params)
2564
2567
  @JobName = params['JobName']
2565
2568
  @CmdArgs = params['CmdArgs']
2569
+ unless params['SourceInfo'].nil?
2570
+ @SourceInfo = []
2571
+ params['SourceInfo'].each do |i|
2572
+ kvpair_tmp = KVPair.new
2573
+ kvpair_tmp.deserialize(i)
2574
+ @SourceInfo << kvpair_tmp
2575
+ end
2576
+ end
2566
2577
  end
2567
2578
  end
2568
2579
 
@@ -2618,10 +2629,12 @@ module TencentCloud
2618
2629
  # @type IsInherit: Integer
2619
2630
  # @param CustomKey: 用户自定义主键,需唯一
2620
2631
  # @type CustomKey: String
2632
+ # @param SourceInfo: 任务来源信息
2633
+ # @type SourceInfo: Array
2621
2634
 
2622
- attr_accessor :DataEngineName, :ExecuteSQL, :DriverSize, :ExecutorSize, :ExecutorNumbers, :ExecutorMaxNumbers, :TimeoutInSecond, :SessionId, :SessionName, :Arguments, :IsInherit, :CustomKey
2635
+ attr_accessor :DataEngineName, :ExecuteSQL, :DriverSize, :ExecutorSize, :ExecutorNumbers, :ExecutorMaxNumbers, :TimeoutInSecond, :SessionId, :SessionName, :Arguments, :IsInherit, :CustomKey, :SourceInfo
2623
2636
 
2624
- def initialize(dataenginename=nil, executesql=nil, driversize=nil, executorsize=nil, executornumbers=nil, executormaxnumbers=nil, timeoutinsecond=nil, sessionid=nil, sessionname=nil, arguments=nil, isinherit=nil, customkey=nil)
2637
+ def initialize(dataenginename=nil, executesql=nil, driversize=nil, executorsize=nil, executornumbers=nil, executormaxnumbers=nil, timeoutinsecond=nil, sessionid=nil, sessionname=nil, arguments=nil, isinherit=nil, customkey=nil, sourceinfo=nil)
2625
2638
  @DataEngineName = dataenginename
2626
2639
  @ExecuteSQL = executesql
2627
2640
  @DriverSize = driversize
@@ -2634,6 +2647,7 @@ module TencentCloud
2634
2647
  @Arguments = arguments
2635
2648
  @IsInherit = isinherit
2636
2649
  @CustomKey = customkey
2650
+ @SourceInfo = sourceinfo
2637
2651
  end
2638
2652
 
2639
2653
  def deserialize(params)
@@ -2656,6 +2670,14 @@ module TencentCloud
2656
2670
  end
2657
2671
  @IsInherit = params['IsInherit']
2658
2672
  @CustomKey = params['CustomKey']
2673
+ unless params['SourceInfo'].nil?
2674
+ @SourceInfo = []
2675
+ params['SourceInfo'].each do |i|
2676
+ kvpair_tmp = KVPair.new
2677
+ kvpair_tmp.deserialize(i)
2678
+ @SourceInfo << kvpair_tmp
2679
+ end
2680
+ end
2659
2681
  end
2660
2682
  end
2661
2683
 
@@ -2777,15 +2799,18 @@ module TencentCloud
2777
2799
  # @type DataEngineName: String
2778
2800
  # @param ResourceGroupName: 标准spark执行任务resourceGroupName
2779
2801
  # @type ResourceGroupName: String
2802
+ # @param SourceInfo: 任务来源信息
2803
+ # @type SourceInfo: Array
2780
2804
 
2781
- attr_accessor :Task, :DatabaseName, :DatasourceConnectionName, :DataEngineName, :ResourceGroupName
2805
+ attr_accessor :Task, :DatabaseName, :DatasourceConnectionName, :DataEngineName, :ResourceGroupName, :SourceInfo
2782
2806
 
2783
- def initialize(task=nil, databasename=nil, datasourceconnectionname=nil, dataenginename=nil, resourcegroupname=nil)
2807
+ def initialize(task=nil, databasename=nil, datasourceconnectionname=nil, dataenginename=nil, resourcegroupname=nil, sourceinfo=nil)
2784
2808
  @Task = task
2785
2809
  @DatabaseName = databasename
2786
2810
  @DatasourceConnectionName = datasourceconnectionname
2787
2811
  @DataEngineName = dataenginename
2788
2812
  @ResourceGroupName = resourcegroupname
2813
+ @SourceInfo = sourceinfo
2789
2814
  end
2790
2815
 
2791
2816
  def deserialize(params)
@@ -2797,6 +2822,14 @@ module TencentCloud
2797
2822
  @DatasourceConnectionName = params['DatasourceConnectionName']
2798
2823
  @DataEngineName = params['DataEngineName']
2799
2824
  @ResourceGroupName = params['ResourceGroupName']
2825
+ unless params['SourceInfo'].nil?
2826
+ @SourceInfo = []
2827
+ params['SourceInfo'].each do |i|
2828
+ kvpair_tmp = KVPair.new
2829
+ kvpair_tmp.deserialize(i)
2830
+ @SourceInfo << kvpair_tmp
2831
+ end
2832
+ end
2800
2833
  end
2801
2834
  end
2802
2835
 
@@ -2886,16 +2919,19 @@ module TencentCloud
2886
2919
  # @type ResourceGroupName: String
2887
2920
  # @param IsMultiStatement: 是否使用multi- statement方式运行一批次任务,true: 是,false: 否
2888
2921
  # @type IsMultiStatement: Boolean
2922
+ # @param SourceInfo: 任务来源信息
2923
+ # @type SourceInfo: Array
2889
2924
 
2890
- attr_accessor :DatabaseName, :Tasks, :DatasourceConnectionName, :DataEngineName, :ResourceGroupName, :IsMultiStatement
2925
+ attr_accessor :DatabaseName, :Tasks, :DatasourceConnectionName, :DataEngineName, :ResourceGroupName, :IsMultiStatement, :SourceInfo
2891
2926
 
2892
- def initialize(databasename=nil, tasks=nil, datasourceconnectionname=nil, dataenginename=nil, resourcegroupname=nil, ismultistatement=nil)
2927
+ def initialize(databasename=nil, tasks=nil, datasourceconnectionname=nil, dataenginename=nil, resourcegroupname=nil, ismultistatement=nil, sourceinfo=nil)
2893
2928
  @DatabaseName = databasename
2894
2929
  @Tasks = tasks
2895
2930
  @DatasourceConnectionName = datasourceconnectionname
2896
2931
  @DataEngineName = dataenginename
2897
2932
  @ResourceGroupName = resourcegroupname
2898
2933
  @IsMultiStatement = ismultistatement
2934
+ @SourceInfo = sourceinfo
2899
2935
  end
2900
2936
 
2901
2937
  def deserialize(params)
@@ -2908,6 +2944,14 @@ module TencentCloud
2908
2944
  @DataEngineName = params['DataEngineName']
2909
2945
  @ResourceGroupName = params['ResourceGroupName']
2910
2946
  @IsMultiStatement = params['IsMultiStatement']
2947
+ unless params['SourceInfo'].nil?
2948
+ @SourceInfo = []
2949
+ params['SourceInfo'].each do |i|
2950
+ kvpair_tmp = KVPair.new
2951
+ kvpair_tmp.deserialize(i)
2952
+ @SourceInfo << kvpair_tmp
2953
+ end
2954
+ end
2911
2955
  end
2912
2956
  end
2913
2957
 
@@ -5467,19 +5511,23 @@ module TencentCloud
5467
5511
  # @type Limit: Integer
5468
5512
  # @param Offset: 偏移量,默认为0
5469
5513
  # @type Offset: Integer
5514
+ # @param SessionId: 资源组id
5515
+ # @type SessionId: String
5470
5516
 
5471
- attr_accessor :DataEngineName, :Limit, :Offset
5517
+ attr_accessor :DataEngineName, :Limit, :Offset, :SessionId
5472
5518
 
5473
- def initialize(dataenginename=nil, limit=nil, offset=nil)
5519
+ def initialize(dataenginename=nil, limit=nil, offset=nil, sessionid=nil)
5474
5520
  @DataEngineName = dataenginename
5475
5521
  @Limit = limit
5476
5522
  @Offset = offset
5523
+ @SessionId = sessionid
5477
5524
  end
5478
5525
 
5479
5526
  def deserialize(params)
5480
5527
  @DataEngineName = params['DataEngineName']
5481
5528
  @Limit = params['Limit']
5482
5529
  @Offset = params['Offset']
5530
+ @SessionId = params['SessionId']
5483
5531
  end
5484
5532
  end
5485
5533
 
@@ -6310,14 +6358,17 @@ module TencentCloud
6310
6358
  # @type NextToken: String
6311
6359
  # @param BatchId: 批次Id
6312
6360
  # @type BatchId: String
6361
+ # @param DataFieldCutLen: 返回结果集中字段值长度截取,如果超过该长度则截取到该长度
6362
+ # @type DataFieldCutLen: Integer
6313
6363
 
6314
- attr_accessor :TaskId, :MaxResults, :NextToken, :BatchId
6364
+ attr_accessor :TaskId, :MaxResults, :NextToken, :BatchId, :DataFieldCutLen
6315
6365
 
6316
- def initialize(taskid=nil, maxresults=nil, nexttoken=nil, batchid=nil)
6366
+ def initialize(taskid=nil, maxresults=nil, nexttoken=nil, batchid=nil, datafieldcutlen=nil)
6317
6367
  @TaskId = taskid
6318
6368
  @MaxResults = maxresults
6319
6369
  @NextToken = nexttoken
6320
6370
  @BatchId = batchid
6371
+ @DataFieldCutLen = datafieldcutlen
6321
6372
  end
6322
6373
 
6323
6374
  def deserialize(params)
@@ -6325,6 +6376,7 @@ module TencentCloud
6325
6376
  @MaxResults = params['MaxResults']
6326
6377
  @NextToken = params['NextToken']
6327
6378
  @BatchId = params['BatchId']
6379
+ @DataFieldCutLen = params['DataFieldCutLen']
6328
6380
  end
6329
6381
  end
6330
6382
 
@@ -7471,14 +7523,17 @@ module TencentCloud
7471
7523
  # @type MaxResults: Integer
7472
7524
  # @param IsTransformDataType: 是否转化数据类型
7473
7525
  # @type IsTransformDataType: Boolean
7526
+ # @param DataFieldCutLen: 返回结果集中字段长度截取,如果字段值长度超过该长度则截取到该长度
7527
+ # @type DataFieldCutLen: Integer
7474
7528
 
7475
- attr_accessor :TaskId, :NextToken, :MaxResults, :IsTransformDataType
7529
+ attr_accessor :TaskId, :NextToken, :MaxResults, :IsTransformDataType, :DataFieldCutLen
7476
7530
 
7477
- def initialize(taskid=nil, nexttoken=nil, maxresults=nil, istransformdatatype=nil)
7531
+ def initialize(taskid=nil, nexttoken=nil, maxresults=nil, istransformdatatype=nil, datafieldcutlen=nil)
7478
7532
  @TaskId = taskid
7479
7533
  @NextToken = nexttoken
7480
7534
  @MaxResults = maxresults
7481
7535
  @IsTransformDataType = istransformdatatype
7536
+ @DataFieldCutLen = datafieldcutlen
7482
7537
  end
7483
7538
 
7484
7539
  def deserialize(params)
@@ -7486,6 +7541,7 @@ module TencentCloud
7486
7541
  @NextToken = params['NextToken']
7487
7542
  @MaxResults = params['MaxResults']
7488
7543
  @IsTransformDataType = params['IsTransformDataType']
7544
+ @DataFieldCutLen = params['DataFieldCutLen']
7489
7545
  end
7490
7546
  end
7491
7547
 
@@ -7678,14 +7734,17 @@ module TencentCloud
7678
7734
  # @type Filters: Array
7679
7735
  # @param DataEngineName: 引擎名
7680
7736
  # @type DataEngineName: String
7737
+ # @param HouseIds: DataEngine-dm8bjs29
7738
+ # @type HouseIds: Array
7681
7739
 
7682
- attr_accessor :StartTime, :EndTime, :Filters, :DataEngineName
7740
+ attr_accessor :StartTime, :EndTime, :Filters, :DataEngineName, :HouseIds
7683
7741
 
7684
- def initialize(starttime=nil, endtime=nil, filters=nil, dataenginename=nil)
7742
+ def initialize(starttime=nil, endtime=nil, filters=nil, dataenginename=nil, houseids=nil)
7685
7743
  @StartTime = starttime
7686
7744
  @EndTime = endtime
7687
7745
  @Filters = filters
7688
7746
  @DataEngineName = dataenginename
7747
+ @HouseIds = houseids
7689
7748
  end
7690
7749
 
7691
7750
  def deserialize(params)
@@ -7700,6 +7759,7 @@ module TencentCloud
7700
7759
  end
7701
7760
  end
7702
7761
  @DataEngineName = params['DataEngineName']
7762
+ @HouseIds = params['HouseIds']
7703
7763
  end
7704
7764
  end
7705
7765
 
@@ -9238,10 +9298,8 @@ module TencentCloud
9238
9298
  # 配置格式
9239
9299
  class KVPair < TencentCloud::Common::AbstractModel
9240
9300
  # @param Key: 配置的key值
9241
- # 注意:此字段可能返回 null,表示取不到有效值。
9242
9301
  # @type Key: String
9243
9302
  # @param Value: 配置的value值
9244
- # 注意:此字段可能返回 null,表示取不到有效值。
9245
9303
  # @type Value: String
9246
9304
 
9247
9305
  attr_accessor :Key, :Value
@@ -10412,13 +10470,10 @@ module TencentCloud
10412
10470
  # NotebookSessionStatement详情。
10413
10471
  class NotebookSessionStatementInfo < TencentCloud::Common::AbstractModel
10414
10472
  # @param Completed: 完成时间戳
10415
- # 注意:此字段可能返回 null,表示取不到有效值。
10416
10473
  # @type Completed: Integer
10417
10474
  # @param Started: 开始时间戳
10418
- # 注意:此字段可能返回 null,表示取不到有效值。
10419
10475
  # @type Started: Integer
10420
10476
  # @param Progress: 完成进度,百分制
10421
- # 注意:此字段可能返回 null,表示取不到有效值。
10422
10477
  # @type Progress: Float
10423
10478
  # @param StatementId: Session Statement唯一标识
10424
10479
  # @type StatementId: String
@@ -10431,10 +10486,8 @@ module TencentCloud
10431
10486
  # 注意:此字段可能返回 null,表示取不到有效值。
10432
10487
  # @type BatchId: String
10433
10488
  # @param Code: 运行语句
10434
- # 注意:此字段可能返回 null,表示取不到有效值。
10435
10489
  # @type Code: String
10436
10490
  # @param TaskId: 任务ID
10437
- # 注意:此字段可能返回 null,表示取不到有效值。
10438
10491
  # @type TaskId: String
10439
10492
 
10440
10493
  attr_accessor :Completed, :Started, :Progress, :StatementId, :State, :OutPut, :BatchId, :Code, :TaskId
@@ -11965,10 +12018,8 @@ module TencentCloud
11965
12018
  # statement信息
11966
12019
  class StatementInformation < TencentCloud::Common::AbstractModel
11967
12020
  # @param TaskId: SQL任务唯一ID
11968
- # 注意:此字段可能返回 null,表示取不到有效值。
11969
12021
  # @type TaskId: String
11970
12022
  # @param SQL: SQL内容
11971
- # 注意:此字段可能返回 null,表示取不到有效值。
11972
12023
  # @type SQL: String
11973
12024
 
11974
12025
  attr_accessor :TaskId, :SQL
@@ -11987,16 +12038,13 @@ module TencentCloud
11987
12038
  # notebook session statement输出信息。
11988
12039
  class StatementOutput < TencentCloud::Common::AbstractModel
11989
12040
  # @param ExecutionCount: 执行总数
11990
- # 注意:此字段可能返回 null,表示取不到有效值。
11991
12041
  # @type ExecutionCount: Integer
11992
12042
  # @param Data: Statement数据
11993
12043
  # 注意:此字段可能返回 null,表示取不到有效值。
11994
12044
  # @type Data: Array
11995
12045
  # @param Status: Statement状态:ok,error
11996
- # 注意:此字段可能返回 null,表示取不到有效值。
11997
12046
  # @type Status: String
11998
12047
  # @param ErrorName: 错误名称
11999
- # 注意:此字段可能返回 null,表示取不到有效值。
12000
12048
  # @type ErrorName: String
12001
12049
  # @param ErrorValue: 错误类型
12002
12050
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -12005,7 +12053,6 @@ module TencentCloud
12005
12053
  # 注意:此字段可能返回 null,表示取不到有效值。
12006
12054
  # @type ErrorMessage: Array
12007
12055
  # @param SQLResult: SQL类型任务结果返回
12008
- # 注意:此字段可能返回 null,表示取不到有效值。
12009
12056
  # @type SQLResult: String
12010
12057
 
12011
12058
  attr_accessor :ExecutionCount, :Data, :Status, :ErrorName, :ErrorValue, :ErrorMessage, :SQLResult
@@ -12867,10 +12914,8 @@ module TencentCloud
12867
12914
  # @param TaskId: 任务唯一ID
12868
12915
  # @type TaskId: String
12869
12916
  # @param DatasourceConnectionName: 数据源名称,当前任务执行时候选中的默认数据源
12870
- # 注意:此字段可能返回 null,表示取不到有效值。
12871
12917
  # @type DatasourceConnectionName: String
12872
12918
  # @param DatabaseName: 数据库名称,当前任务执行时候选中的默认数据库
12873
- # 注意:此字段可能返回 null,表示取不到有效值。
12874
12919
  # @type DatabaseName: String
12875
12920
  # @param SQL: 当前执行的SQL,一个任务包含一个SQL
12876
12921
  # @type SQL: String
@@ -12894,7 +12939,6 @@ module TencentCloud
12894
12939
  # 注意:此字段可能返回 null,表示取不到有效值。
12895
12940
  # @type ResultSchema: Array
12896
12941
  # @param ResultSet: 结果信息,反转义后,外层数组的每个元素为一行数据
12897
- # 注意:此字段可能返回 null,表示取不到有效值。
12898
12942
  # @type ResultSet: String
12899
12943
  # @param NextToken: 分页信息,如果没有更多结果数据,nextToken为空
12900
12944
  # @type NextToken: String
@@ -12907,7 +12951,6 @@ module TencentCloud
12907
12951
  # @param TotalTime: 任务耗时,单位: ms
12908
12952
  # @type TotalTime: Integer
12909
12953
  # @param QueryResultTime: 获取结果消耗的时间
12910
- # 注意:此字段可能返回 null,表示取不到有效值。
12911
12954
  # @type QueryResultTime: Float
12912
12955
 
12913
12956
  attr_accessor :TaskId, :DatasourceConnectionName, :DatabaseName, :SQL, :SQLType, :State, :DataAmount, :UsedTime, :OutputPath, :CreateTime, :OutputMessage, :RowAffectInfo, :ResultSchema, :ResultSet, :NextToken, :Percentage, :ProgressDetail, :DisplayFormat, :TotalTime, :QueryResultTime
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.1016
4
+ version: 3.0.1017
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-11 00:00:00.000000000 Z
11
+ date: 2025-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common