tencentcloud-sdk-dlc 3.0.1170 → 3.0.1188

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: 9ec31340bf2de4c35448365b5162c029d0ff411d
4
- data.tar.gz: 6ea208c9a763ed41723a8ae2760c66c667551cff
3
+ metadata.gz: 63e037c7590511a15974b7f2c3e6308c2721518d
4
+ data.tar.gz: 04e02d530a56594202c9d6b1cc3caf5dc894d553
5
5
  SHA512:
6
- metadata.gz: 7af442952dfb0661dffe9a25dcef54877db469e4ec01e6467bd77f4fcbfc84c5b41ff76098d03cd5650a8f7dfa8f1509ae236b88a174c1165d78663f2b4e6cdd
7
- data.tar.gz: a266a193c0d085e5e4437dade8bb5a0a10c3fa492d052283236290f0ba76935ea0f174ca938a648bea68bef4af5705e97ce06e118e9ad83893a2190226b13b04
6
+ metadata.gz: 13fd00471c99b57bcd680587e899e986601d21ecfc3290692de035e155284865c3bce485f23161310711e3f213b054d9a3a73b994995a3c1464f2e4b8a301a7d
7
+ data.tar.gz: f4159039e90339ef3a6602fc8051d820a234ed91221d1c1572edb8b43ebf1c061299b77418f969d0c8776656b2ca9b629e395b2b1dba2e8cc8fa5afcb4391000
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1170
1
+ 3.0.1188
@@ -2743,6 +2743,30 @@ module TencentCloud
2743
2743
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2744
2744
  end
2745
2745
 
2746
+ # 该接口(DescribleTasks)用于查询任务列表
2747
+
2748
+ # @param request: Request instance for DescribeTaskList.
2749
+ # @type request: :class:`Tencentcloud::dlc::V20210125::DescribeTaskListRequest`
2750
+ # @rtype: :class:`Tencentcloud::dlc::V20210125::DescribeTaskListResponse`
2751
+ def DescribeTaskList(request)
2752
+ body = send_request('DescribeTaskList', request.serialize)
2753
+ response = JSON.parse(body)
2754
+ if response['Response'].key?('Error') == false
2755
+ model = DescribeTaskListResponse.new
2756
+ model.deserialize(response['Response'])
2757
+ model
2758
+ else
2759
+ code = response['Response']['Error']['Code']
2760
+ message = response['Response']['Error']['Message']
2761
+ reqid = response['Response']['RequestId']
2762
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2763
+ end
2764
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2765
+ raise e
2766
+ rescue StandardError => e
2767
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2768
+ end
2769
+
2746
2770
  # 本接口(DescribeTaskLog)用于获取spark 作业任务日志详情
2747
2771
 
2748
2772
  # @param request: Request instance for DescribeTaskLog.
@@ -1897,8 +1897,8 @@ module TencentCloud
1897
1897
 
1898
1898
  attr_accessor :EngineType, :DataEngineName, :ClusterType, :Mode, :AutoResume, :MinClusters, :MaxClusters, :DefaultDataEngine, :CidrBlock, :Message, :Size, :PayMode, :TimeSpan, :TimeUnit, :AutoRenew, :Tags, :AutoSuspend, :CrontabResumeSuspend, :CrontabResumeSuspendStrategy, :EngineExecType, :MaxConcurrency, :TolerableQueueTime, :AutoSuspendTime, :ResourceType, :DataEngineConfigPairs, :ImageVersionName, :MainClusterName, :ElasticSwitch, :ElasticLimit, :SessionResourceTemplate, :AutoAuthorization, :EngineNetworkId, :EngineGeneration
1899
1899
  extend Gem::Deprecate
1900
- deprecate :DefaultDataEngine, :none, 2025, 11
1901
- deprecate :DefaultDataEngine=, :none, 2025, 11
1900
+ deprecate :DefaultDataEngine, :none, 2025, 12
1901
+ deprecate :DefaultDataEngine=, :none, 2025, 12
1902
1902
 
1903
1903
  def initialize(enginetype=nil, dataenginename=nil, clustertype=nil, mode=nil, autoresume=nil, minclusters=nil, maxclusters=nil, defaultdataengine=nil, cidrblock=nil, message=nil, size=nil, paymode=nil, timespan=nil, timeunit=nil, autorenew=nil, tags=nil, autosuspend=nil, crontabresumesuspend=nil, crontabresumesuspendstrategy=nil, engineexectype=nil, maxconcurrency=nil, tolerablequeuetime=nil, autosuspendtime=nil, resourcetype=nil, dataengineconfigpairs=nil, imageversionname=nil, mainclustername=nil, elasticswitch=nil, elasticlimit=nil, sessionresourcetemplate=nil, autoauthorization=nil, enginenetworkid=nil, enginegeneration=nil)
1904
1904
  @EngineType = enginetype
@@ -7526,17 +7526,25 @@ module TencentCloud
7526
7526
  # @type DataEngineId: String
7527
7527
  # @param ResourceGroupId: 资源组ID
7528
7528
  # @type ResourceGroupId: String
7529
+ # @param ProjectId: 项目ID
7530
+ # @type ProjectId: String
7531
+ # @param UserUin: 用户Uin
7532
+ # @type UserUin: String
7529
7533
 
7530
- attr_accessor :DataEngineId, :ResourceGroupId
7534
+ attr_accessor :DataEngineId, :ResourceGroupId, :ProjectId, :UserUin
7531
7535
 
7532
- def initialize(dataengineid=nil, resourcegroupid=nil)
7536
+ def initialize(dataengineid=nil, resourcegroupid=nil, projectid=nil, useruin=nil)
7533
7537
  @DataEngineId = dataengineid
7534
7538
  @ResourceGroupId = resourcegroupid
7539
+ @ProjectId = projectid
7540
+ @UserUin = useruin
7535
7541
  end
7536
7542
 
7537
7543
  def deserialize(params)
7538
7544
  @DataEngineId = params['DataEngineId']
7539
7545
  @ResourceGroupId = params['ResourceGroupId']
7546
+ @ProjectId = params['ProjectId']
7547
+ @UserUin = params['UserUin']
7540
7548
  end
7541
7549
  end
7542
7550
 
@@ -9106,6 +9114,101 @@ module TencentCloud
9106
9114
  end
9107
9115
  end
9108
9116
 
9117
+ # DescribeTaskList请求参数结构体
9118
+ class DescribeTaskListRequest < TencentCloud::Common::AbstractModel
9119
+ # @param Limit: 返回数量,默认为10,最大值为100。
9120
+ # @type Limit: Integer
9121
+ # @param Offset: 偏移量,默认为0。
9122
+ # @type Offset: Integer
9123
+ # @param Filters: 过滤条件,如下支持的过滤类型,传参Name应为以下其中一个,其中task-id支持最大50个过滤个数,其他过滤参数支持的总数不超过5个。
9124
+ # task-id - String - (任务ID准确过滤)task-id取值形如:e386471f-139a-4e59-877f-50ece8135b99。
9125
+ # task-state - String - (任务状态过滤)取值范围 0(初始化), 1(运行中), 2(成功), -1(失败)。
9126
+ # task-sql-keyword - String - (SQL语句关键字模糊过滤)取值形如:DROP TABLE。
9127
+ # task-operator- string (子uin过滤)
9128
+ # task-kind - string (任务类型过滤)
9129
+ # @type Filters: Array
9130
+ # @param SortBy: 排序字段,支持如下字段类型,create-time(创建时间,默认)、update-time(更新时间)
9131
+ # @type SortBy: String
9132
+ # @param Sorting: 排序方式,desc表示正序,asc表示反序, 默认为asc。
9133
+ # @type Sorting: String
9134
+ # @param StartTime: 起始时间点,格式为yyyy-mm-dd HH:MM:SS。默认为45天前的当前时刻
9135
+ # @type StartTime: String
9136
+ # @param EndTime: 结束时间点,格式为yyyy-mm-dd HH:MM:SS时间跨度在(0,30天],支持最近45天数据查询。默认为当前时刻
9137
+ # @type EndTime: String
9138
+ # @param DataEngineName: 数据引擎名称,用于筛选
9139
+ # @type DataEngineName: String
9140
+ # @param ResourceGroupName: spark引擎资源组名称
9141
+ # @type ResourceGroupName: String
9142
+ # @param HouseIds: 引擎id列表
9143
+ # @type HouseIds: Array
9144
+
9145
+ attr_accessor :Limit, :Offset, :Filters, :SortBy, :Sorting, :StartTime, :EndTime, :DataEngineName, :ResourceGroupName, :HouseIds
9146
+
9147
+ def initialize(limit=nil, offset=nil, filters=nil, sortby=nil, sorting=nil, starttime=nil, endtime=nil, dataenginename=nil, resourcegroupname=nil, houseids=nil)
9148
+ @Limit = limit
9149
+ @Offset = offset
9150
+ @Filters = filters
9151
+ @SortBy = sortby
9152
+ @Sorting = sorting
9153
+ @StartTime = starttime
9154
+ @EndTime = endtime
9155
+ @DataEngineName = dataenginename
9156
+ @ResourceGroupName = resourcegroupname
9157
+ @HouseIds = houseids
9158
+ end
9159
+
9160
+ def deserialize(params)
9161
+ @Limit = params['Limit']
9162
+ @Offset = params['Offset']
9163
+ unless params['Filters'].nil?
9164
+ @Filters = []
9165
+ params['Filters'].each do |i|
9166
+ filter_tmp = Filter.new
9167
+ filter_tmp.deserialize(i)
9168
+ @Filters << filter_tmp
9169
+ end
9170
+ end
9171
+ @SortBy = params['SortBy']
9172
+ @Sorting = params['Sorting']
9173
+ @StartTime = params['StartTime']
9174
+ @EndTime = params['EndTime']
9175
+ @DataEngineName = params['DataEngineName']
9176
+ @ResourceGroupName = params['ResourceGroupName']
9177
+ @HouseIds = params['HouseIds']
9178
+ end
9179
+ end
9180
+
9181
+ # DescribeTaskList返回参数结构体
9182
+ class DescribeTaskListResponse < TencentCloud::Common::AbstractModel
9183
+ # @param TaskList: 任务对象列表。
9184
+ # @type TaskList: Array
9185
+ # @param TotalCount: 实例总数。
9186
+ # @type TotalCount: Integer
9187
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9188
+ # @type RequestId: String
9189
+
9190
+ attr_accessor :TaskList, :TotalCount, :RequestId
9191
+
9192
+ def initialize(tasklist=nil, totalcount=nil, requestid=nil)
9193
+ @TaskList = tasklist
9194
+ @TotalCount = totalcount
9195
+ @RequestId = requestid
9196
+ end
9197
+
9198
+ def deserialize(params)
9199
+ unless params['TaskList'].nil?
9200
+ @TaskList = []
9201
+ params['TaskList'].each do |i|
9202
+ taskfullrespinfo_tmp = TaskFullRespInfo.new
9203
+ taskfullrespinfo_tmp.deserialize(i)
9204
+ @TaskList << taskfullrespinfo_tmp
9205
+ end
9206
+ end
9207
+ @TotalCount = params['TotalCount']
9208
+ @RequestId = params['RequestId']
9209
+ end
9210
+ end
9211
+
9109
9212
  # DescribeTaskLog请求参数结构体
9110
9213
  class DescribeTaskLogRequest < TencentCloud::Common::AbstractModel
9111
9214
  # @param TaskId: 列表返回的Id
@@ -13688,7 +13791,23 @@ module TencentCloud
13688
13791
  end
13689
13792
  end
13690
13793
 
13691
- # ResourceInfo
13794
+ # 数据治理资源配置项
13795
+ class ResourceConf < TencentCloud::Common::AbstractModel
13796
+ # @param Parallelism: 当为TCLake优化资源时,优化任务的并行度
13797
+ # @type Parallelism: Integer
13798
+
13799
+ attr_accessor :Parallelism
13800
+
13801
+ def initialize(parallelism=nil)
13802
+ @Parallelism = parallelism
13803
+ end
13804
+
13805
+ def deserialize(params)
13806
+ @Parallelism = params['Parallelism']
13807
+ end
13808
+ end
13809
+
13810
+ # 数据优化资源信息结构
13692
13811
  class ResourceInfo < TencentCloud::Common::AbstractModel
13693
13812
  # @param AttributionType: 归属类型
13694
13813
  # @type AttributionType: String
@@ -13705,10 +13824,12 @@ module TencentCloud
13705
13824
  # @type Status: Integer
13706
13825
  # @param ResourceGroupName: 标准引擎资源组信息
13707
13826
  # @type ResourceGroupName: String
13827
+ # @param ResourceConf: 资源配置信息
13828
+ # @type ResourceConf: :class:`Tencentcloud::Dlc.v20210125.models.ResourceConf`
13708
13829
 
13709
- attr_accessor :AttributionType, :ResourceType, :Name, :Instance, :Favor, :Status, :ResourceGroupName
13830
+ attr_accessor :AttributionType, :ResourceType, :Name, :Instance, :Favor, :Status, :ResourceGroupName, :ResourceConf
13710
13831
 
13711
- def initialize(attributiontype=nil, resourcetype=nil, name=nil, instance=nil, favor=nil, status=nil, resourcegroupname=nil)
13832
+ def initialize(attributiontype=nil, resourcetype=nil, name=nil, instance=nil, favor=nil, status=nil, resourcegroupname=nil, resourceconf=nil)
13712
13833
  @AttributionType = attributiontype
13713
13834
  @ResourceType = resourcetype
13714
13835
  @Name = name
@@ -13716,6 +13837,7 @@ module TencentCloud
13716
13837
  @Favor = favor
13717
13838
  @Status = status
13718
13839
  @ResourceGroupName = resourcegroupname
13840
+ @ResourceConf = resourceconf
13719
13841
  end
13720
13842
 
13721
13843
  def deserialize(params)
@@ -13733,6 +13855,10 @@ module TencentCloud
13733
13855
  end
13734
13856
  @Status = params['Status']
13735
13857
  @ResourceGroupName = params['ResourceGroupName']
13858
+ unless params['ResourceConf'].nil?
13859
+ @ResourceConf = ResourceConf.new
13860
+ @ResourceConf.deserialize(params['ResourceConf'])
13861
+ end
13736
13862
  end
13737
13863
  end
13738
13864
 
@@ -15250,10 +15376,10 @@ module TencentCloud
15250
15376
 
15251
15377
  attr_accessor :DatabaseName, :TableName, :DatasourceConnectionName, :TableComment, :Type, :TableFormat, :UserAlias, :UserSubUin, :GovernPolicy, :DbGovernPolicyIsDisable, :SmartPolicy, :PrimaryKeys
15252
15378
  extend Gem::Deprecate
15253
- deprecate :GovernPolicy, :none, 2025, 11
15254
- deprecate :GovernPolicy=, :none, 2025, 11
15255
- deprecate :DbGovernPolicyIsDisable, :none, 2025, 11
15256
- deprecate :DbGovernPolicyIsDisable=, :none, 2025, 11
15379
+ deprecate :GovernPolicy, :none, 2025, 12
15380
+ deprecate :GovernPolicy=, :none, 2025, 12
15381
+ deprecate :DbGovernPolicyIsDisable, :none, 2025, 12
15382
+ deprecate :DbGovernPolicyIsDisable=, :none, 2025, 12
15257
15383
 
15258
15384
  def initialize(databasename=nil, tablename=nil, datasourceconnectionname=nil, tablecomment=nil, type=nil, tableformat=nil, useralias=nil, usersubuin=nil, governpolicy=nil, dbgovernpolicyisdisable=nil, smartpolicy=nil, primarykeys=nil)
15259
15385
  @DatabaseName = databasename
@@ -15481,6 +15607,328 @@ module TencentCloud
15481
15607
  end
15482
15608
  end
15483
15609
 
15610
+ # 任务实例。
15611
+ class TaskFullRespInfo < TencentCloud::Common::AbstractModel
15612
+ # @param DatabaseName: 任务所属Database的名称。
15613
+ # @type DatabaseName: String
15614
+ # @param DataAmount: 任务数据量。
15615
+ # @type DataAmount: Integer
15616
+ # @param Id: 任务Id。
15617
+ # @type Id: String
15618
+ # @param UsedTime: 计算耗时,单位: ms
15619
+ # @type UsedTime: Integer
15620
+ # @param OutputPath: 任务输出路径。
15621
+ # @type OutputPath: String
15622
+ # @param CreateTime: 任务创建时间。
15623
+ # @type CreateTime: String
15624
+ # @param State: 任务状态:0 初始化, 1 执行中, 2 执行成功,3 数据写入中,4 排队中。-1 执行失败,-3 已取消。
15625
+ # @type State: Integer
15626
+ # @param SQLType: 任务SQL类型,DDL|DML等
15627
+ # @type SQLType: String
15628
+ # @param SQL: 任务SQL语句
15629
+ # @type SQL: String
15630
+ # @param ResultExpired: 结果是否过期。
15631
+ # @type ResultExpired: Boolean
15632
+ # @param RowAffectInfo: 数据影响统计信息。
15633
+ # @type RowAffectInfo: String
15634
+ # @param DataSet: 任务结果数据表。
15635
+ # 注意:此字段可能返回 null,表示取不到有效值。
15636
+ # @type DataSet: String
15637
+ # @param Error: 失败信息, 例如:errorMessage。该字段已废弃。
15638
+ # @type Error: String
15639
+ # @param Percentage: 任务执行进度num/100(%)
15640
+ # @type Percentage: Integer
15641
+ # @param OutputMessage: 任务执行输出信息。
15642
+ # @type OutputMessage: String
15643
+ # @param TaskType: 执行SQL的引擎类型
15644
+ # @type TaskType: String
15645
+ # @param ProgressDetail: 任务进度明细
15646
+ # 注意:此字段可能返回 null,表示取不到有效值。
15647
+ # @type ProgressDetail: String
15648
+ # @param UpdateTime: 任务结束时间
15649
+ # 注意:此字段可能返回 null,表示取不到有效值。
15650
+ # @type UpdateTime: String
15651
+ # @param DataEngineId: 计算资源id
15652
+ # 注意:此字段可能返回 null,表示取不到有效值。
15653
+ # @type DataEngineId: String
15654
+ # @param OperateUin: 执行sql的子uin
15655
+ # 注意:此字段可能返回 null,表示取不到有效值。
15656
+ # @type OperateUin: String
15657
+ # @param DataEngineName: 计算资源名字
15658
+ # 注意:此字段可能返回 null,表示取不到有效值。
15659
+ # @type DataEngineName: String
15660
+ # @param InputType: 导入类型是本地导入还是cos
15661
+ # 注意:此字段可能返回 null,表示取不到有效值。
15662
+ # @type InputType: String
15663
+ # @param InputConf: 导入配置
15664
+ # 注意:此字段可能返回 null,表示取不到有效值。
15665
+ # @type InputConf: String
15666
+ # @param DataNumber: 数据条数
15667
+ # 注意:此字段可能返回 null,表示取不到有效值。
15668
+ # @type DataNumber: Integer
15669
+ # @param CanDownload: 查询数据能不能下载
15670
+ # 注意:此字段可能返回 null,表示取不到有效值。
15671
+ # @type CanDownload: Boolean
15672
+ # @param UserAlias: 用户别名
15673
+ # 注意:此字段可能返回 null,表示取不到有效值。
15674
+ # @type UserAlias: String
15675
+ # @param SparkJobName: spark应用作业名
15676
+ # 注意:此字段可能返回 null,表示取不到有效值。
15677
+ # @type SparkJobName: String
15678
+ # @param SparkJobId: spark应用作业Id
15679
+ # 注意:此字段可能返回 null,表示取不到有效值。
15680
+ # @type SparkJobId: String
15681
+ # @param SparkJobFile: spark应用入口jar文件
15682
+ # 注意:此字段可能返回 null,表示取不到有效值。
15683
+ # @type SparkJobFile: String
15684
+ # @param UiUrl: spark ui url
15685
+ # 注意:此字段可能返回 null,表示取不到有效值。
15686
+ # @type UiUrl: String
15687
+ # @param TotalTime: 任务耗时,单位: ms
15688
+ # 注意:此字段可能返回 null,表示取不到有效值。
15689
+ # @type TotalTime: Integer
15690
+ # @param CmdArgs: spark app job执行task的程序入口参数
15691
+ # 注意:此字段可能返回 null,表示取不到有效值。
15692
+ # @type CmdArgs: String
15693
+ # @param ImageVersion: 集群镜像大版本名称
15694
+ # 注意:此字段可能返回 null,表示取不到有效值。
15695
+ # @type ImageVersion: String
15696
+ # @param DriverSize: driver规格:small,medium,large,xlarge;内存型(引擎类型):m.small,m.medium,m.large,m.xlarge
15697
+ # 注意:此字段可能返回 null,表示取不到有效值。
15698
+ # @type DriverSize: String
15699
+ # @param ExecutorSize: executor规格:small,medium,large,xlarge;内存型(引擎类型):m.small,m.medium,m.large,m.xlarge
15700
+ # 注意:此字段可能返回 null,表示取不到有效值。
15701
+ # @type ExecutorSize: String
15702
+ # @param ExecutorNums: 指定executor数量,最小值为1,最大值小于集群规格
15703
+ # 注意:此字段可能返回 null,表示取不到有效值。
15704
+ # @type ExecutorNums: Integer
15705
+ # @param ExecutorMaxNumbers: 指定executor max数量(动态配置场景下),最小值为1,最大值小于集群规格(当ExecutorMaxNumbers小于ExecutorNums时,改值设定为ExecutorNums)
15706
+ # 注意:此字段可能返回 null,表示取不到有效值。
15707
+ # @type ExecutorMaxNumbers: Integer
15708
+ # @param CommonMetrics: 任务公共指标数据
15709
+ # 注意:此字段可能返回 null,表示取不到有效值。
15710
+ # @type CommonMetrics: :class:`Tencentcloud::Dlc.v20210125.models.CommonMetrics`
15711
+ # @param SparkMonitorMetrics: spark任务指标数据
15712
+ # 注意:此字段可能返回 null,表示取不到有效值。
15713
+ # @type SparkMonitorMetrics: :class:`Tencentcloud::Dlc.v20210125.models.SparkMonitorMetrics`
15714
+ # @param PrestoMonitorMetrics: presto任务指标数据
15715
+ # 注意:此字段可能返回 null,表示取不到有效值。
15716
+ # @type PrestoMonitorMetrics: :class:`Tencentcloud::Dlc.v20210125.models.PrestoMonitorMetrics`
15717
+ # @param ResultFormat: 结果文件格式:默认为csv
15718
+ # 注意:此字段可能返回 null,表示取不到有效值。
15719
+ # @type ResultFormat: String
15720
+ # @param EngineTypeDetail: 引擎类型,SparkSQL:SparkSQL 引擎;SparkBatch:Spark作业引擎;PrestoSQL:Presto引擎
15721
+ # 注意:此字段可能返回 null,表示取不到有效值。
15722
+ # @type EngineTypeDetail: String
15723
+ # @param ResourceGroupName: spark引擎资源组名称
15724
+ # 注意:此字段可能返回 null,表示取不到有效值。
15725
+ # @type ResourceGroupName: String
15726
+ # @param Source: 任务来源信息,如thirdPartyApi,dataExploration, sparkAppTask等
15727
+ # @type Source: String
15728
+ # @param SourceExtra: 子渠道信息,一般由第三方调用定义
15729
+ # @type SourceExtra: String
15730
+ # @param CreatorUin: 创建人uin
15731
+ # @type CreatorUin: String
15732
+ # @param CreatorAlias: 创建人名字
15733
+ # @type CreatorAlias: String
15734
+ # @param CustomizedConf: 引擎参数
15735
+ # @type CustomizedConf: String
15736
+ # @param TaskTimeSum: 单位秒,累计 CPU* 秒 ( 累计 CPU * 时 = 累计 CPU* 秒/ 3600),统计参与计算所用 Spark Executor 每个 core 的 CPU 执行时长总和
15737
+ # 示例值:4329
15738
+ # @type TaskTimeSum: Integer
15739
+ # @param StageStartTime: 引擎执行时间
15740
+ # @type StageStartTime: Integer
15741
+ # @param InputRecordsSum: 数据扫描条数
15742
+ # @type InputRecordsSum: Integer
15743
+ # @param AnalysisStatusType: 健康状态
15744
+ # @type AnalysisStatusType: Integer
15745
+ # @param OutputRecordsSum: 输出总行数
15746
+ # @type OutputRecordsSum: Integer
15747
+ # @param OutputBytesSum: 输出总大小
15748
+ # @type OutputBytesSum: Integer
15749
+ # @param OutputFilesNum: 输出文件个数
15750
+ # @type OutputFilesNum: Integer
15751
+ # @param OutputSmallFilesNum: 输出小文件个数
15752
+ # @type OutputSmallFilesNum: Integer
15753
+ # @param ShuffleReadRecordsSum: 数据shuffle行数
15754
+ # @type ShuffleReadRecordsSum: Integer
15755
+ # @param ShuffleReadBytesSum: 数据shuffle大小
15756
+ # @type ShuffleReadBytesSum: Integer
15757
+ # @param SparkAppId: spark作业id
15758
+ # @type SparkAppId: String
15759
+ # @param TaskCategory: 任务大类,DLC2.0中任务区分为两大类,sql任务和作业任务
15760
+ # @type TaskCategory: String
15761
+ # @param TaskName: 任务名称
15762
+ # @type TaskName: String
15763
+ # @param EngineType: 引擎类型,用做任务详情页跳转引擎tab
15764
+ # @type EngineType: String
15765
+ # @param EngineHasListenerConfig: 引擎是否支持洞察数据采集
15766
+ # @type EngineHasListenerConfig: Boolean
15767
+ # @param ResourceGroupId: spark引擎资源组id
15768
+ # @type ResourceGroupId: String
15769
+ # @param JobTimeSum: 任务计算耗时
15770
+ # @type JobTimeSum: Integer
15771
+ # @param LaunchTime: 任务启动耗时
15772
+ # @type LaunchTime: String
15773
+ # @param GpuDriverSize: Gpu Driver 规格
15774
+ # @type GpuDriverSize: Integer
15775
+ # @param GpuExecutorSize: Gpu Executor 规格
15776
+ # @type GpuExecutorSize: Integer
15777
+
15778
+ attr_accessor :DatabaseName, :DataAmount, :Id, :UsedTime, :OutputPath, :CreateTime, :State, :SQLType, :SQL, :ResultExpired, :RowAffectInfo, :DataSet, :Error, :Percentage, :OutputMessage, :TaskType, :ProgressDetail, :UpdateTime, :DataEngineId, :OperateUin, :DataEngineName, :InputType, :InputConf, :DataNumber, :CanDownload, :UserAlias, :SparkJobName, :SparkJobId, :SparkJobFile, :UiUrl, :TotalTime, :CmdArgs, :ImageVersion, :DriverSize, :ExecutorSize, :ExecutorNums, :ExecutorMaxNumbers, :CommonMetrics, :SparkMonitorMetrics, :PrestoMonitorMetrics, :ResultFormat, :EngineTypeDetail, :ResourceGroupName, :Source, :SourceExtra, :CreatorUin, :CreatorAlias, :CustomizedConf, :TaskTimeSum, :StageStartTime, :InputRecordsSum, :AnalysisStatusType, :OutputRecordsSum, :OutputBytesSum, :OutputFilesNum, :OutputSmallFilesNum, :ShuffleReadRecordsSum, :ShuffleReadBytesSum, :SparkAppId, :TaskCategory, :TaskName, :EngineType, :EngineHasListenerConfig, :ResourceGroupId, :JobTimeSum, :LaunchTime, :GpuDriverSize, :GpuExecutorSize
15779
+
15780
+ def initialize(databasename=nil, dataamount=nil, id=nil, usedtime=nil, outputpath=nil, createtime=nil, state=nil, sqltype=nil, sql=nil, resultexpired=nil, rowaffectinfo=nil, dataset=nil, error=nil, percentage=nil, outputmessage=nil, tasktype=nil, progressdetail=nil, updatetime=nil, dataengineid=nil, operateuin=nil, dataenginename=nil, inputtype=nil, inputconf=nil, datanumber=nil, candownload=nil, useralias=nil, sparkjobname=nil, sparkjobid=nil, sparkjobfile=nil, uiurl=nil, totaltime=nil, cmdargs=nil, imageversion=nil, driversize=nil, executorsize=nil, executornums=nil, executormaxnumbers=nil, commonmetrics=nil, sparkmonitormetrics=nil, prestomonitormetrics=nil, resultformat=nil, enginetypedetail=nil, resourcegroupname=nil, source=nil, sourceextra=nil, creatoruin=nil, creatoralias=nil, customizedconf=nil, tasktimesum=nil, stagestarttime=nil, inputrecordssum=nil, analysisstatustype=nil, outputrecordssum=nil, outputbytessum=nil, outputfilesnum=nil, outputsmallfilesnum=nil, shufflereadrecordssum=nil, shufflereadbytessum=nil, sparkappid=nil, taskcategory=nil, taskname=nil, enginetype=nil, enginehaslistenerconfig=nil, resourcegroupid=nil, jobtimesum=nil, launchtime=nil, gpudriversize=nil, gpuexecutorsize=nil)
15781
+ @DatabaseName = databasename
15782
+ @DataAmount = dataamount
15783
+ @Id = id
15784
+ @UsedTime = usedtime
15785
+ @OutputPath = outputpath
15786
+ @CreateTime = createtime
15787
+ @State = state
15788
+ @SQLType = sqltype
15789
+ @SQL = sql
15790
+ @ResultExpired = resultexpired
15791
+ @RowAffectInfo = rowaffectinfo
15792
+ @DataSet = dataset
15793
+ @Error = error
15794
+ @Percentage = percentage
15795
+ @OutputMessage = outputmessage
15796
+ @TaskType = tasktype
15797
+ @ProgressDetail = progressdetail
15798
+ @UpdateTime = updatetime
15799
+ @DataEngineId = dataengineid
15800
+ @OperateUin = operateuin
15801
+ @DataEngineName = dataenginename
15802
+ @InputType = inputtype
15803
+ @InputConf = inputconf
15804
+ @DataNumber = datanumber
15805
+ @CanDownload = candownload
15806
+ @UserAlias = useralias
15807
+ @SparkJobName = sparkjobname
15808
+ @SparkJobId = sparkjobid
15809
+ @SparkJobFile = sparkjobfile
15810
+ @UiUrl = uiurl
15811
+ @TotalTime = totaltime
15812
+ @CmdArgs = cmdargs
15813
+ @ImageVersion = imageversion
15814
+ @DriverSize = driversize
15815
+ @ExecutorSize = executorsize
15816
+ @ExecutorNums = executornums
15817
+ @ExecutorMaxNumbers = executormaxnumbers
15818
+ @CommonMetrics = commonmetrics
15819
+ @SparkMonitorMetrics = sparkmonitormetrics
15820
+ @PrestoMonitorMetrics = prestomonitormetrics
15821
+ @ResultFormat = resultformat
15822
+ @EngineTypeDetail = enginetypedetail
15823
+ @ResourceGroupName = resourcegroupname
15824
+ @Source = source
15825
+ @SourceExtra = sourceextra
15826
+ @CreatorUin = creatoruin
15827
+ @CreatorAlias = creatoralias
15828
+ @CustomizedConf = customizedconf
15829
+ @TaskTimeSum = tasktimesum
15830
+ @StageStartTime = stagestarttime
15831
+ @InputRecordsSum = inputrecordssum
15832
+ @AnalysisStatusType = analysisstatustype
15833
+ @OutputRecordsSum = outputrecordssum
15834
+ @OutputBytesSum = outputbytessum
15835
+ @OutputFilesNum = outputfilesnum
15836
+ @OutputSmallFilesNum = outputsmallfilesnum
15837
+ @ShuffleReadRecordsSum = shufflereadrecordssum
15838
+ @ShuffleReadBytesSum = shufflereadbytessum
15839
+ @SparkAppId = sparkappid
15840
+ @TaskCategory = taskcategory
15841
+ @TaskName = taskname
15842
+ @EngineType = enginetype
15843
+ @EngineHasListenerConfig = enginehaslistenerconfig
15844
+ @ResourceGroupId = resourcegroupid
15845
+ @JobTimeSum = jobtimesum
15846
+ @LaunchTime = launchtime
15847
+ @GpuDriverSize = gpudriversize
15848
+ @GpuExecutorSize = gpuexecutorsize
15849
+ end
15850
+
15851
+ def deserialize(params)
15852
+ @DatabaseName = params['DatabaseName']
15853
+ @DataAmount = params['DataAmount']
15854
+ @Id = params['Id']
15855
+ @UsedTime = params['UsedTime']
15856
+ @OutputPath = params['OutputPath']
15857
+ @CreateTime = params['CreateTime']
15858
+ @State = params['State']
15859
+ @SQLType = params['SQLType']
15860
+ @SQL = params['SQL']
15861
+ @ResultExpired = params['ResultExpired']
15862
+ @RowAffectInfo = params['RowAffectInfo']
15863
+ @DataSet = params['DataSet']
15864
+ @Error = params['Error']
15865
+ @Percentage = params['Percentage']
15866
+ @OutputMessage = params['OutputMessage']
15867
+ @TaskType = params['TaskType']
15868
+ @ProgressDetail = params['ProgressDetail']
15869
+ @UpdateTime = params['UpdateTime']
15870
+ @DataEngineId = params['DataEngineId']
15871
+ @OperateUin = params['OperateUin']
15872
+ @DataEngineName = params['DataEngineName']
15873
+ @InputType = params['InputType']
15874
+ @InputConf = params['InputConf']
15875
+ @DataNumber = params['DataNumber']
15876
+ @CanDownload = params['CanDownload']
15877
+ @UserAlias = params['UserAlias']
15878
+ @SparkJobName = params['SparkJobName']
15879
+ @SparkJobId = params['SparkJobId']
15880
+ @SparkJobFile = params['SparkJobFile']
15881
+ @UiUrl = params['UiUrl']
15882
+ @TotalTime = params['TotalTime']
15883
+ @CmdArgs = params['CmdArgs']
15884
+ @ImageVersion = params['ImageVersion']
15885
+ @DriverSize = params['DriverSize']
15886
+ @ExecutorSize = params['ExecutorSize']
15887
+ @ExecutorNums = params['ExecutorNums']
15888
+ @ExecutorMaxNumbers = params['ExecutorMaxNumbers']
15889
+ unless params['CommonMetrics'].nil?
15890
+ @CommonMetrics = CommonMetrics.new
15891
+ @CommonMetrics.deserialize(params['CommonMetrics'])
15892
+ end
15893
+ unless params['SparkMonitorMetrics'].nil?
15894
+ @SparkMonitorMetrics = SparkMonitorMetrics.new
15895
+ @SparkMonitorMetrics.deserialize(params['SparkMonitorMetrics'])
15896
+ end
15897
+ unless params['PrestoMonitorMetrics'].nil?
15898
+ @PrestoMonitorMetrics = PrestoMonitorMetrics.new
15899
+ @PrestoMonitorMetrics.deserialize(params['PrestoMonitorMetrics'])
15900
+ end
15901
+ @ResultFormat = params['ResultFormat']
15902
+ @EngineTypeDetail = params['EngineTypeDetail']
15903
+ @ResourceGroupName = params['ResourceGroupName']
15904
+ @Source = params['Source']
15905
+ @SourceExtra = params['SourceExtra']
15906
+ @CreatorUin = params['CreatorUin']
15907
+ @CreatorAlias = params['CreatorAlias']
15908
+ @CustomizedConf = params['CustomizedConf']
15909
+ @TaskTimeSum = params['TaskTimeSum']
15910
+ @StageStartTime = params['StageStartTime']
15911
+ @InputRecordsSum = params['InputRecordsSum']
15912
+ @AnalysisStatusType = params['AnalysisStatusType']
15913
+ @OutputRecordsSum = params['OutputRecordsSum']
15914
+ @OutputBytesSum = params['OutputBytesSum']
15915
+ @OutputFilesNum = params['OutputFilesNum']
15916
+ @OutputSmallFilesNum = params['OutputSmallFilesNum']
15917
+ @ShuffleReadRecordsSum = params['ShuffleReadRecordsSum']
15918
+ @ShuffleReadBytesSum = params['ShuffleReadBytesSum']
15919
+ @SparkAppId = params['SparkAppId']
15920
+ @TaskCategory = params['TaskCategory']
15921
+ @TaskName = params['TaskName']
15922
+ @EngineType = params['EngineType']
15923
+ @EngineHasListenerConfig = params['EngineHasListenerConfig']
15924
+ @ResourceGroupId = params['ResourceGroupId']
15925
+ @JobTimeSum = params['JobTimeSum']
15926
+ @LaunchTime = params['LaunchTime']
15927
+ @GpuDriverSize = params['GpuDriverSize']
15928
+ @GpuExecutorSize = params['GpuExecutorSize']
15929
+ end
15930
+ end
15931
+
15484
15932
  # 任务监控信息
15485
15933
  class TaskMonitorInfo < TencentCloud::Common::AbstractModel
15486
15934
  # @param TaskId: 任务id
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.1170
4
+ version: 3.0.1188
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-11-19 00:00:00.000000000 Z
11
+ date: 2025-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common