tencentcloud-sdk-oceanus 3.0.681 → 3.0.683

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: f9ca3a5d0efc9aa6aad530a9af8557971a374136
4
- data.tar.gz: 0a5f24bd6afed2012aebb7356050c2af260e2d59
3
+ metadata.gz: d8aabf7fe44bc0dad42b71c7a6983036f057651a
4
+ data.tar.gz: f35afc6dc91d1608ef88e611316f0161c7499da6
5
5
  SHA512:
6
- metadata.gz: 3058fe316671bc924daee3e7ae9425128c0c2ce59d3d933741edd2d151e172ac41470b2623fbd8dc8e80d33135c40c0677189fa42b3f52b76423fa30d2039343
7
- data.tar.gz: ea1f7ca8092ab27b69551da8a1f2e52b8074973fb6883e04d6a143a725cf3a42aaa22ef6bf3d62309d6ca1c63a5a5f266a9b9672788ab30b9244391976495a37
6
+ metadata.gz: ae9f7eda8a281b7cf313c1a544a6a260f0522f3f9c2bd9e306e5739e0f436d3f7eced7740f6521bcbf018c651d477633d1f13228cf8eaba2a18180b41d7a7e5b
7
+ data.tar.gz: 6bcf107a72e5b604ed42979524cd2688c84d5873360ce9e37f815da96f666f8811ef34547886d848f4a4943820e60f31ee39dfb39711f48ddedd656317ce2bae
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.681
1
+ 3.0.683
@@ -365,6 +365,30 @@ module TencentCloud
365
365
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
366
  end
367
367
 
368
+ # 删除工作空间
369
+
370
+ # @param request: Request instance for DeleteWorkSpace.
371
+ # @type request: :class:`Tencentcloud::oceanus::V20190422::DeleteWorkSpaceRequest`
372
+ # @rtype: :class:`Tencentcloud::oceanus::V20190422::DeleteWorkSpaceResponse`
373
+ def DeleteWorkSpace(request)
374
+ body = send_request('DeleteWorkSpace', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = DeleteWorkSpaceResponse.new
378
+ model.deserialize(response['Response'])
379
+ model
380
+ else
381
+ code = response['Response']['Error']['Code']
382
+ message = response['Response']['Error']['Message']
383
+ reqid = response['Response']['RequestId']
384
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
385
+ end
386
+ rescue TencentCloud::Common::TencentCloudSDKException => e
387
+ raise e
388
+ rescue StandardError => e
389
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
+ end
391
+
368
392
  # 查询集群
369
393
 
370
394
  # @param request: Request instance for DescribeClusters.
@@ -227,10 +227,13 @@ module TencentCloud
227
227
  # @param SqlGateways: Gateway信息
228
228
  # 注意:此字段可能返回 null,表示取不到有效值。
229
229
  # @type SqlGateways: Array
230
+ # @param WebUIType: 0 公网访问 // 1 内网访问
231
+ # 注意:此字段可能返回 null,表示取不到有效值。
232
+ # @type WebUIType: Integer
230
233
 
231
- attr_accessor :ClusterId, :Name, :Region, :AppId, :OwnerUin, :CreatorUin, :Status, :Remark, :CreateTime, :UpdateTime, :CuNum, :CuMem, :Zone, :StatusDesc, :CCNs, :NetEnvironmentType, :FreeCuNum, :Tags, :IsolatedTime, :ExpireTime, :SecondsUntilExpiry, :AutoRenewFlag, :DefaultCOSBucket, :CLSLogSet, :CLSTopicId, :CLSLogName, :CLSTopicName, :Version, :FreeCu, :DefaultLogCollectConf, :CustomizedDNSEnabled, :Correlations, :RunningCu, :PayMode, :IsNeedManageNode, :ClusterSessions, :ArchGeneration, :ClusterType, :Orders, :SqlGateways
234
+ attr_accessor :ClusterId, :Name, :Region, :AppId, :OwnerUin, :CreatorUin, :Status, :Remark, :CreateTime, :UpdateTime, :CuNum, :CuMem, :Zone, :StatusDesc, :CCNs, :NetEnvironmentType, :FreeCuNum, :Tags, :IsolatedTime, :ExpireTime, :SecondsUntilExpiry, :AutoRenewFlag, :DefaultCOSBucket, :CLSLogSet, :CLSTopicId, :CLSLogName, :CLSTopicName, :Version, :FreeCu, :DefaultLogCollectConf, :CustomizedDNSEnabled, :Correlations, :RunningCu, :PayMode, :IsNeedManageNode, :ClusterSessions, :ArchGeneration, :ClusterType, :Orders, :SqlGateways, :WebUIType
232
235
 
233
- def initialize(clusterid=nil, name=nil, region=nil, appid=nil, owneruin=nil, creatoruin=nil, status=nil, remark=nil, createtime=nil, updatetime=nil, cunum=nil, cumem=nil, zone=nil, statusdesc=nil, ccns=nil, netenvironmenttype=nil, freecunum=nil, tags=nil, isolatedtime=nil, expiretime=nil, secondsuntilexpiry=nil, autorenewflag=nil, defaultcosbucket=nil, clslogset=nil, clstopicid=nil, clslogname=nil, clstopicname=nil, version=nil, freecu=nil, defaultlogcollectconf=nil, customizeddnsenabled=nil, correlations=nil, runningcu=nil, paymode=nil, isneedmanagenode=nil, clustersessions=nil, archgeneration=nil, clustertype=nil, orders=nil, sqlgateways=nil)
236
+ def initialize(clusterid=nil, name=nil, region=nil, appid=nil, owneruin=nil, creatoruin=nil, status=nil, remark=nil, createtime=nil, updatetime=nil, cunum=nil, cumem=nil, zone=nil, statusdesc=nil, ccns=nil, netenvironmenttype=nil, freecunum=nil, tags=nil, isolatedtime=nil, expiretime=nil, secondsuntilexpiry=nil, autorenewflag=nil, defaultcosbucket=nil, clslogset=nil, clstopicid=nil, clslogname=nil, clstopicname=nil, version=nil, freecu=nil, defaultlogcollectconf=nil, customizeddnsenabled=nil, correlations=nil, runningcu=nil, paymode=nil, isneedmanagenode=nil, clustersessions=nil, archgeneration=nil, clustertype=nil, orders=nil, sqlgateways=nil, webuitype=nil)
234
237
  @ClusterId = clusterid
235
238
  @Name = name
236
239
  @Region = region
@@ -271,6 +274,7 @@ module TencentCloud
271
274
  @ClusterType = clustertype
272
275
  @Orders = orders
273
276
  @SqlGateways = sqlgateways
277
+ @WebUIType = webuitype
274
278
  end
275
279
 
276
280
  def deserialize(params)
@@ -359,6 +363,7 @@ module TencentCloud
359
363
  @SqlGateways << sqlgatewayitem_tmp
360
364
  end
361
365
  end
366
+ @WebUIType = params['WebUIType']
362
367
  end
363
368
  end
364
369
 
@@ -452,12 +457,85 @@ module TencentCloud
452
457
 
453
458
  # session集群信息
454
459
  class ClusterSession < TencentCloud::Common::AbstractModel
460
+ # @param ClusterGroupSerialId: 集群SerialId
461
+ # @type ClusterGroupSerialId: String
462
+ # @param AppId: 创建者appId
463
+ # @type AppId: Integer
464
+ # @param OwnerUin: 创建者主账号
465
+ # @type OwnerUin: String
466
+ # @param CreatorUin: 创建者账号
467
+ # @type CreatorUin: String
468
+ # @param Region: 区域
469
+ # @type Region: String
470
+ # @param Zone: zone
471
+ # @type Zone: String
472
+ # @param Status: Session集群状态
473
+ # @type Status: Integer
474
+ # @param CuNum: Session集群消耗的cu数量
475
+ # @type CuNum: Float
476
+ # @param FlinkVersion: Session集群的Flink版本
477
+ # @type FlinkVersion: String
478
+ # @param WebUIUrl: session集群FlinkUi地址
479
+ # @type WebUIUrl: String
480
+ # @param Properties: session集群高级参数
481
+ # 注意:此字段可能返回 null,表示取不到有效值。
482
+ # @type Properties: Array
483
+ # @param JobManagerCuSpec: JobManager的规格
484
+ # @type JobManagerCuSpec: Float
485
+ # @param TaskManagerCuSpec: TaskManager的规格
486
+ # @type TaskManagerCuSpec: Float
487
+ # @param TaskManagerNum: TaskManager启动的数量
488
+ # @type TaskManagerNum: Integer
489
+ # @param CreateTime: 创建时间
490
+ # @type CreateTime: String
491
+ # @param UpdateTime: 更新时间
492
+ # @type UpdateTime: String
455
493
 
494
+ attr_accessor :ClusterGroupSerialId, :AppId, :OwnerUin, :CreatorUin, :Region, :Zone, :Status, :CuNum, :FlinkVersion, :WebUIUrl, :Properties, :JobManagerCuSpec, :TaskManagerCuSpec, :TaskManagerNum, :CreateTime, :UpdateTime
456
495
 
457
- def initialize()
496
+ def initialize(clustergroupserialid=nil, appid=nil, owneruin=nil, creatoruin=nil, region=nil, zone=nil, status=nil, cunum=nil, flinkversion=nil, webuiurl=nil, properties=nil, jobmanagercuspec=nil, taskmanagercuspec=nil, taskmanagernum=nil, createtime=nil, updatetime=nil)
497
+ @ClusterGroupSerialId = clustergroupserialid
498
+ @AppId = appid
499
+ @OwnerUin = owneruin
500
+ @CreatorUin = creatoruin
501
+ @Region = region
502
+ @Zone = zone
503
+ @Status = status
504
+ @CuNum = cunum
505
+ @FlinkVersion = flinkversion
506
+ @WebUIUrl = webuiurl
507
+ @Properties = properties
508
+ @JobManagerCuSpec = jobmanagercuspec
509
+ @TaskManagerCuSpec = taskmanagercuspec
510
+ @TaskManagerNum = taskmanagernum
511
+ @CreateTime = createtime
512
+ @UpdateTime = updatetime
458
513
  end
459
514
 
460
515
  def deserialize(params)
516
+ @ClusterGroupSerialId = params['ClusterGroupSerialId']
517
+ @AppId = params['AppId']
518
+ @OwnerUin = params['OwnerUin']
519
+ @CreatorUin = params['CreatorUin']
520
+ @Region = params['Region']
521
+ @Zone = params['Zone']
522
+ @Status = params['Status']
523
+ @CuNum = params['CuNum']
524
+ @FlinkVersion = params['FlinkVersion']
525
+ @WebUIUrl = params['WebUIUrl']
526
+ unless params['Properties'].nil?
527
+ @Properties = []
528
+ params['Properties'].each do |i|
529
+ property_tmp = Property.new
530
+ property_tmp.deserialize(i)
531
+ @Properties << property_tmp
532
+ end
533
+ end
534
+ @JobManagerCuSpec = params['JobManagerCuSpec']
535
+ @TaskManagerCuSpec = params['TaskManagerCuSpec']
536
+ @TaskManagerNum = params['TaskManagerNum']
537
+ @CreateTime = params['CreateTime']
538
+ @UpdateTime = params['UpdateTime']
461
539
  end
462
540
  end
463
541
 
@@ -735,10 +813,18 @@ module TencentCloud
735
813
  # @type ExpertModeOn: Boolean
736
814
  # @param ExpertModeConfiguration: 专家模式的配置
737
815
  # @type ExpertModeConfiguration: :class:`Tencentcloud::Oceanus.v20190422.models.ExpertModeConfiguration`
816
+ # @param TraceModeOn: trace链路
817
+ # @type TraceModeOn: Boolean
818
+ # @param TraceModeConfiguration: trace链路配置
819
+ # @type TraceModeConfiguration: :class:`Tencentcloud::Oceanus.v20190422.models.TraceModeConfiguration`
820
+ # @param CheckpointRetainedNum: checkpoint保留个数
821
+ # @type CheckpointRetainedNum: Integer
822
+ # @param JobGraph: 算子拓扑图
823
+ # @type JobGraph: :class:`Tencentcloud::Oceanus.v20190422.models.JobGraph`
738
824
 
739
- attr_accessor :JobId, :EntrypointClass, :ProgramArgs, :Remark, :ResourceRefs, :DefaultParallelism, :Properties, :AutoDelete, :COSBucket, :LogCollect, :JobManagerSpec, :TaskManagerSpec, :ClsLogsetId, :ClsTopicId, :LogCollectType, :PythonVersion, :WorkSpaceId, :LogLevel, :AutoRecover, :ClazzLevels, :ExpertModeOn, :ExpertModeConfiguration
825
+ attr_accessor :JobId, :EntrypointClass, :ProgramArgs, :Remark, :ResourceRefs, :DefaultParallelism, :Properties, :AutoDelete, :COSBucket, :LogCollect, :JobManagerSpec, :TaskManagerSpec, :ClsLogsetId, :ClsTopicId, :LogCollectType, :PythonVersion, :WorkSpaceId, :LogLevel, :AutoRecover, :ClazzLevels, :ExpertModeOn, :ExpertModeConfiguration, :TraceModeOn, :TraceModeConfiguration, :CheckpointRetainedNum, :JobGraph
740
826
 
741
- def initialize(jobid=nil, entrypointclass=nil, programargs=nil, remark=nil, resourcerefs=nil, defaultparallelism=nil, properties=nil, autodelete=nil, cosbucket=nil, logcollect=nil, jobmanagerspec=nil, taskmanagerspec=nil, clslogsetid=nil, clstopicid=nil, logcollecttype=nil, pythonversion=nil, workspaceid=nil, loglevel=nil, autorecover=nil, clazzlevels=nil, expertmodeon=nil, expertmodeconfiguration=nil)
827
+ def initialize(jobid=nil, entrypointclass=nil, programargs=nil, remark=nil, resourcerefs=nil, defaultparallelism=nil, properties=nil, autodelete=nil, cosbucket=nil, logcollect=nil, jobmanagerspec=nil, taskmanagerspec=nil, clslogsetid=nil, clstopicid=nil, logcollecttype=nil, pythonversion=nil, workspaceid=nil, loglevel=nil, autorecover=nil, clazzlevels=nil, expertmodeon=nil, expertmodeconfiguration=nil, tracemodeon=nil, tracemodeconfiguration=nil, checkpointretainednum=nil, jobgraph=nil)
742
828
  @JobId = jobid
743
829
  @EntrypointClass = entrypointclass
744
830
  @ProgramArgs = programargs
@@ -761,6 +847,10 @@ module TencentCloud
761
847
  @ClazzLevels = clazzlevels
762
848
  @ExpertModeOn = expertmodeon
763
849
  @ExpertModeConfiguration = expertmodeconfiguration
850
+ @TraceModeOn = tracemodeon
851
+ @TraceModeConfiguration = tracemodeconfiguration
852
+ @CheckpointRetainedNum = checkpointretainednum
853
+ @JobGraph = jobgraph
764
854
  end
765
855
 
766
856
  def deserialize(params)
@@ -810,6 +900,16 @@ module TencentCloud
810
900
  @ExpertModeConfiguration = ExpertModeConfiguration.new
811
901
  @ExpertModeConfiguration.deserialize(params['ExpertModeConfiguration'])
812
902
  end
903
+ @TraceModeOn = params['TraceModeOn']
904
+ unless params['TraceModeConfiguration'].nil?
905
+ @TraceModeConfiguration = TraceModeConfiguration.new
906
+ @TraceModeConfiguration.deserialize(params['TraceModeConfiguration'])
907
+ end
908
+ @CheckpointRetainedNum = params['CheckpointRetainedNum']
909
+ unless params['JobGraph'].nil?
910
+ @JobGraph = JobGraph.new
911
+ @JobGraph.deserialize(params['JobGraph'])
912
+ end
813
913
  end
814
914
  end
815
915
 
@@ -1310,6 +1410,42 @@ module TencentCloud
1310
1410
  end
1311
1411
  end
1312
1412
 
1413
+ # DeleteWorkSpace请求参数结构体
1414
+ class DeleteWorkSpaceRequest < TencentCloud::Common::AbstractModel
1415
+ # @param WorkSpaceId: 工作空间 SerialId
1416
+ # @type WorkSpaceId: String
1417
+
1418
+ attr_accessor :WorkSpaceId
1419
+
1420
+ def initialize(workspaceid=nil)
1421
+ @WorkSpaceId = workspaceid
1422
+ end
1423
+
1424
+ def deserialize(params)
1425
+ @WorkSpaceId = params['WorkSpaceId']
1426
+ end
1427
+ end
1428
+
1429
+ # DeleteWorkSpace返回参数结构体
1430
+ class DeleteWorkSpaceResponse < TencentCloud::Common::AbstractModel
1431
+ # @param Delete: 是否删除
1432
+ # @type Delete: Boolean
1433
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1434
+ # @type RequestId: String
1435
+
1436
+ attr_accessor :Delete, :RequestId
1437
+
1438
+ def initialize(delete=nil, requestid=nil)
1439
+ @Delete = delete
1440
+ @RequestId = requestid
1441
+ end
1442
+
1443
+ def deserialize(params)
1444
+ @Delete = params['Delete']
1445
+ @RequestId = params['RequestId']
1446
+ end
1447
+ end
1448
+
1313
1449
  # DescribeClusters请求参数结构体
1314
1450
  class DescribeClustersRequest < TencentCloud::Common::AbstractModel
1315
1451
  # @param ClusterIds: 按照一个或者多个集群 ID 查询,每次请求的集群上限为 100
@@ -1472,14 +1608,19 @@ module TencentCloud
1472
1608
  # @type Offset: Integer
1473
1609
  # @param WorkSpaceId: 工作空间 SerialId
1474
1610
  # @type WorkSpaceId: String
1611
+ # @param RecordTypes: 2 是checkpoint
1612
+ # 1 是触发savepoint
1613
+ # 3 停止触发的savepoint
1614
+ # @type RecordTypes: Array
1475
1615
 
1476
- attr_accessor :JobId, :Limit, :Offset, :WorkSpaceId
1616
+ attr_accessor :JobId, :Limit, :Offset, :WorkSpaceId, :RecordTypes
1477
1617
 
1478
- def initialize(jobid=nil, limit=nil, offset=nil, workspaceid=nil)
1618
+ def initialize(jobid=nil, limit=nil, offset=nil, workspaceid=nil, recordtypes=nil)
1479
1619
  @JobId = jobid
1480
1620
  @Limit = limit
1481
1621
  @Offset = offset
1482
1622
  @WorkSpaceId = workspaceid
1623
+ @RecordTypes = recordtypes
1483
1624
  end
1484
1625
 
1485
1626
  def deserialize(params)
@@ -1487,6 +1628,7 @@ module TencentCloud
1487
1628
  @Limit = params['Limit']
1488
1629
  @Offset = params['Offset']
1489
1630
  @WorkSpaceId = params['WorkSpaceId']
1631
+ @RecordTypes = params['RecordTypes']
1490
1632
  end
1491
1633
  end
1492
1634
 
@@ -1997,32 +2139,138 @@ module TencentCloud
1997
2139
 
1998
2140
  # DescribeTreeJobs请求参数结构体
1999
2141
  class DescribeTreeJobsRequest < TencentCloud::Common::AbstractModel
2142
+ # @param Filters: 筛选条件字段
2143
+ # @type Filters: Array
2000
2144
  # @param WorkSpaceId: 工作空间 Serialid
2001
2145
  # @type WorkSpaceId: String
2002
2146
 
2003
- attr_accessor :WorkSpaceId
2147
+ attr_accessor :Filters, :WorkSpaceId
2004
2148
 
2005
- def initialize(workspaceid=nil)
2149
+ def initialize(filters=nil, workspaceid=nil)
2150
+ @Filters = filters
2006
2151
  @WorkSpaceId = workspaceid
2007
2152
  end
2008
2153
 
2009
2154
  def deserialize(params)
2155
+ unless params['Filters'].nil?
2156
+ @Filters = []
2157
+ params['Filters'].each do |i|
2158
+ filter_tmp = Filter.new
2159
+ filter_tmp.deserialize(i)
2160
+ @Filters << filter_tmp
2161
+ end
2162
+ end
2010
2163
  @WorkSpaceId = params['WorkSpaceId']
2011
2164
  end
2012
2165
  end
2013
2166
 
2014
2167
  # DescribeTreeJobs返回参数结构体
2015
2168
  class DescribeTreeJobsResponse < TencentCloud::Common::AbstractModel
2169
+ # @param ParentId: 父节点ID
2170
+ # 注意:此字段可能返回 null,表示取不到有效值。
2171
+ # @type ParentId: String
2172
+ # @param Id: 当前文件夹ID
2173
+ # 注意:此字段可能返回 null,表示取不到有效值。
2174
+ # @type Id: String
2175
+ # @param Name: 当前文件夹名
2176
+ # 注意:此字段可能返回 null,表示取不到有效值。
2177
+ # @type Name: String
2178
+ # @param JobSet: 当前文件夹下的作业列表
2179
+ # 注意:此字段可能返回 null,表示取不到有效值。
2180
+ # @type JobSet: Array
2181
+ # @param Children: 迭代子目录
2182
+ # 注意:此字段可能返回 null,表示取不到有效值。
2183
+ # @type Children: Array
2016
2184
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2017
2185
  # @type RequestId: String
2018
2186
 
2019
- attr_accessor :RequestId
2187
+ attr_accessor :ParentId, :Id, :Name, :JobSet, :Children, :RequestId
2020
2188
 
2021
- def initialize(requestid=nil)
2189
+ def initialize(parentid=nil, id=nil, name=nil, jobset=nil, children=nil, requestid=nil)
2190
+ @ParentId = parentid
2191
+ @Id = id
2192
+ @Name = name
2193
+ @JobSet = jobset
2194
+ @Children = children
2022
2195
  @RequestId = requestid
2023
2196
  end
2024
2197
 
2025
2198
  def deserialize(params)
2199
+ @ParentId = params['ParentId']
2200
+ @Id = params['Id']
2201
+ @Name = params['Name']
2202
+ unless params['JobSet'].nil?
2203
+ @JobSet = []
2204
+ params['JobSet'].each do |i|
2205
+ treejobsets_tmp = TreeJobSets.new
2206
+ treejobsets_tmp.deserialize(i)
2207
+ @JobSet << treejobsets_tmp
2208
+ end
2209
+ end
2210
+ unless params['Children'].nil?
2211
+ @Children = []
2212
+ params['Children'].each do |i|
2213
+ describetreejobsrsp_tmp = DescribeTreeJobsRsp.new
2214
+ describetreejobsrsp_tmp.deserialize(i)
2215
+ @Children << describetreejobsrsp_tmp
2216
+ end
2217
+ end
2218
+ @RequestId = params['RequestId']
2219
+ end
2220
+ end
2221
+
2222
+ # 自定义树结构遍历子节点
2223
+ class DescribeTreeJobsRsp < TencentCloud::Common::AbstractModel
2224
+ # @param ParentId: 父节点ID
2225
+ # 注意:此字段可能返回 null,表示取不到有效值。
2226
+ # @type ParentId: String
2227
+ # @param Id: 当前文件夹ID
2228
+ # 注意:此字段可能返回 null,表示取不到有效值。
2229
+ # @type Id: String
2230
+ # @param Name: 当前文件夹名
2231
+ # 注意:此字段可能返回 null,表示取不到有效值。
2232
+ # @type Name: String
2233
+ # @param JobSet: 当前文件夹下的作业集合
2234
+ # 注意:此字段可能返回 null,表示取不到有效值。
2235
+ # @type JobSet: Array
2236
+ # @param Children: 迭代子目录
2237
+ # 注意:此字段可能返回 null,表示取不到有效值。
2238
+ # @type Children: Array
2239
+ # @param RequestId: 请求ID
2240
+ # 注意:此字段可能返回 null,表示取不到有效值。
2241
+ # @type RequestId: String
2242
+
2243
+ attr_accessor :ParentId, :Id, :Name, :JobSet, :Children, :RequestId
2244
+
2245
+ def initialize(parentid=nil, id=nil, name=nil, jobset=nil, children=nil, requestid=nil)
2246
+ @ParentId = parentid
2247
+ @Id = id
2248
+ @Name = name
2249
+ @JobSet = jobset
2250
+ @Children = children
2251
+ @RequestId = requestid
2252
+ end
2253
+
2254
+ def deserialize(params)
2255
+ @ParentId = params['ParentId']
2256
+ @Id = params['Id']
2257
+ @Name = params['Name']
2258
+ unless params['JobSet'].nil?
2259
+ @JobSet = []
2260
+ params['JobSet'].each do |i|
2261
+ treejobsets_tmp = TreeJobSets.new
2262
+ treejobsets_tmp.deserialize(i)
2263
+ @JobSet << treejobsets_tmp
2264
+ end
2265
+ end
2266
+ unless params['Children'].nil?
2267
+ @Children = []
2268
+ params['Children'].each do |i|
2269
+ describetreejobsrsp_tmp = DescribeTreeJobsRsp.new
2270
+ describetreejobsrsp_tmp.deserialize(i)
2271
+ @Children << describetreejobsrsp_tmp
2272
+ end
2273
+ end
2026
2274
  @RequestId = params['RequestId']
2027
2275
  end
2028
2276
  end
@@ -2467,10 +2715,22 @@ module TencentCloud
2467
2715
  # @param ExpertModeConfiguration: 专家模式的配置
2468
2716
  # 注意:此字段可能返回 null,表示取不到有效值。
2469
2717
  # @type ExpertModeConfiguration: :class:`Tencentcloud::Oceanus.v20190422.models.ExpertModeConfiguration`
2718
+ # @param TraceModeOn: trace链路
2719
+ # 注意:此字段可能返回 null,表示取不到有效值。
2720
+ # @type TraceModeOn: Boolean
2721
+ # @param TraceModeConfiguration: trace链路配置
2722
+ # 注意:此字段可能返回 null,表示取不到有效值。
2723
+ # @type TraceModeConfiguration: :class:`Tencentcloud::Oceanus.v20190422.models.TraceModeConfiguration`
2724
+ # @param CheckpointRetainedNum: checkpoint保留个数
2725
+ # 注意:此字段可能返回 null,表示取不到有效值。
2726
+ # @type CheckpointRetainedNum: Integer
2727
+ # @param JobGraph: 算子拓扑图
2728
+ # 注意:此字段可能返回 null,表示取不到有效值。
2729
+ # @type JobGraph: :class:`Tencentcloud::Oceanus.v20190422.models.JobGraph`
2470
2730
 
2471
- attr_accessor :JobId, :EntrypointClass, :ProgramArgs, :Remark, :CreateTime, :Version, :DefaultParallelism, :Properties, :ResourceRefDetails, :CreatorUin, :UpdateTime, :COSBucket, :LogCollect, :MaxParallelism, :JobManagerSpec, :TaskManagerSpec, :ClsLogsetId, :ClsTopicId, :PythonVersion, :AutoRecover, :LogLevel, :ClazzLevels, :ExpertModeOn, :ExpertModeConfiguration
2731
+ attr_accessor :JobId, :EntrypointClass, :ProgramArgs, :Remark, :CreateTime, :Version, :DefaultParallelism, :Properties, :ResourceRefDetails, :CreatorUin, :UpdateTime, :COSBucket, :LogCollect, :MaxParallelism, :JobManagerSpec, :TaskManagerSpec, :ClsLogsetId, :ClsTopicId, :PythonVersion, :AutoRecover, :LogLevel, :ClazzLevels, :ExpertModeOn, :ExpertModeConfiguration, :TraceModeOn, :TraceModeConfiguration, :CheckpointRetainedNum, :JobGraph
2472
2732
 
2473
- def initialize(jobid=nil, entrypointclass=nil, programargs=nil, remark=nil, createtime=nil, version=nil, defaultparallelism=nil, properties=nil, resourcerefdetails=nil, creatoruin=nil, updatetime=nil, cosbucket=nil, logcollect=nil, maxparallelism=nil, jobmanagerspec=nil, taskmanagerspec=nil, clslogsetid=nil, clstopicid=nil, pythonversion=nil, autorecover=nil, loglevel=nil, clazzlevels=nil, expertmodeon=nil, expertmodeconfiguration=nil)
2733
+ def initialize(jobid=nil, entrypointclass=nil, programargs=nil, remark=nil, createtime=nil, version=nil, defaultparallelism=nil, properties=nil, resourcerefdetails=nil, creatoruin=nil, updatetime=nil, cosbucket=nil, logcollect=nil, maxparallelism=nil, jobmanagerspec=nil, taskmanagerspec=nil, clslogsetid=nil, clstopicid=nil, pythonversion=nil, autorecover=nil, loglevel=nil, clazzlevels=nil, expertmodeon=nil, expertmodeconfiguration=nil, tracemodeon=nil, tracemodeconfiguration=nil, checkpointretainednum=nil, jobgraph=nil)
2474
2734
  @JobId = jobid
2475
2735
  @EntrypointClass = entrypointclass
2476
2736
  @ProgramArgs = programargs
@@ -2495,6 +2755,10 @@ module TencentCloud
2495
2755
  @ClazzLevels = clazzlevels
2496
2756
  @ExpertModeOn = expertmodeon
2497
2757
  @ExpertModeConfiguration = expertmodeconfiguration
2758
+ @TraceModeOn = tracemodeon
2759
+ @TraceModeConfiguration = tracemodeconfiguration
2760
+ @CheckpointRetainedNum = checkpointretainednum
2761
+ @JobGraph = jobgraph
2498
2762
  end
2499
2763
 
2500
2764
  def deserialize(params)
@@ -2546,6 +2810,16 @@ module TencentCloud
2546
2810
  @ExpertModeConfiguration = ExpertModeConfiguration.new
2547
2811
  @ExpertModeConfiguration.deserialize(params['ExpertModeConfiguration'])
2548
2812
  end
2813
+ @TraceModeOn = params['TraceModeOn']
2814
+ unless params['TraceModeConfiguration'].nil?
2815
+ @TraceModeConfiguration = TraceModeConfiguration.new
2816
+ @TraceModeConfiguration.deserialize(params['TraceModeConfiguration'])
2817
+ end
2818
+ @CheckpointRetainedNum = params['CheckpointRetainedNum']
2819
+ unless params['JobGraph'].nil?
2820
+ @JobGraph = JobGraph.new
2821
+ @JobGraph.deserialize(params['JobGraph'])
2822
+ end
2549
2823
  end
2550
2824
  end
2551
2825
 
@@ -4108,6 +4382,70 @@ module TencentCloud
4108
4382
  end
4109
4383
  end
4110
4384
 
4385
+ # {
4386
+ # "Rate": "0.01", ///如1%转换为0.01
4387
+ # "Operator": "1:OUT,2:IN_AND_OUT,3:IN" ///如1%转换为0.01
4388
+ # }
4389
+ # Operator
4390
+ # 算子ID顺序配置,可以对每个算子配置IN、OUT、IN_AND_OUT三个值,分别表示采集输入数据、采集输出数据、同时采集输入和输出数据,配置示例:
4391
+ class TraceModeConfiguration < TencentCloud::Common::AbstractModel
4392
+ # @param Rate: 如1%转换为0.01
4393
+ # 注意:此字段可能返回 null,表示取不到有效值。
4394
+ # @type Rate: String
4395
+ # @param Operator: 按照算子ID顺序配置,可以对每个算子配置IN、OUT、IN_AND_OUT三个值,分别表示采集输入数据、采集输出数据、同时采集输入和输出数据
4396
+ # 注意:此字段可能返回 null,表示取不到有效值。
4397
+ # @type Operator: String
4398
+
4399
+ attr_accessor :Rate, :Operator
4400
+
4401
+ def initialize(rate=nil, operator=nil)
4402
+ @Rate = rate
4403
+ @Operator = operator
4404
+ end
4405
+
4406
+ def deserialize(params)
4407
+ @Rate = params['Rate']
4408
+ @Operator = params['Operator']
4409
+ end
4410
+ end
4411
+
4412
+ # 自定义树结构出参作业列表
4413
+ class TreeJobSets < TencentCloud::Common::AbstractModel
4414
+ # @param JobId: 作业Id
4415
+ # 注意:此字段可能返回 null,表示取不到有效值。
4416
+ # @type JobId: String
4417
+ # @param Name: 作业名
4418
+ # 注意:此字段可能返回 null,表示取不到有效值。
4419
+ # @type Name: String
4420
+ # @param JobType: 作业类型
4421
+ # 注意:此字段可能返回 null,表示取不到有效值。
4422
+ # @type JobType: Integer
4423
+ # @param RunningCu: 作业占用资源
4424
+ # 注意:此字段可能返回 null,表示取不到有效值。
4425
+ # @type RunningCu: Float
4426
+ # @param Status: 作业状态 启动或者停止或者暂停
4427
+ # 注意:此字段可能返回 null,表示取不到有效值。
4428
+ # @type Status: Integer
4429
+
4430
+ attr_accessor :JobId, :Name, :JobType, :RunningCu, :Status
4431
+
4432
+ def initialize(jobid=nil, name=nil, jobtype=nil, runningcu=nil, status=nil)
4433
+ @JobId = jobid
4434
+ @Name = name
4435
+ @JobType = jobtype
4436
+ @RunningCu = runningcu
4437
+ @Status = status
4438
+ end
4439
+
4440
+ def deserialize(params)
4441
+ @JobId = params['JobId']
4442
+ @Name = params['Name']
4443
+ @JobType = params['JobType']
4444
+ @RunningCu = params['RunningCu']
4445
+ @Status = params['Status']
4446
+ end
4447
+ end
4448
+
4111
4449
  # 树状结构资源对象
4112
4450
  class TreeResourceItem < TencentCloud::Common::AbstractModel
4113
4451
  # @param ResourceId: 资源ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-oceanus
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.681
4
+ version: 3.0.683
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-10-20 00:00:00.000000000 Z
11
+ date: 2023-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,8 +33,8 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20190422/client.rb
37
36
  - lib/v20190422/models.rb
37
+ - lib/v20190422/client.rb
38
38
  - lib/tencentcloud-sdk-oceanus.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby