tencentcloud-sdk-wedata 3.0.1078 → 3.0.1087
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/v20210820/client.rb +48 -0
- data/lib/v20210820/models.rb +472 -3
- 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: 2ece84718bbb2b7923c99b684abd296571386aa7
|
4
|
+
data.tar.gz: 0eabbba0ead72b5838a9bc4351a65bf3f6b946f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 831e60820b849a3ce5d149c42c5906ff792382efe00df8d28a2aa811118018bcf253abdc68f148abbeb0b8009382043ce31ef2d21b40c598232cf15f2b8e7b6d
|
7
|
+
data.tar.gz: f9abf2e693e630f2cd336d4b9c922fc04d0ff50b4ce978e75297499fce8b5e611a8e0bfe4885aa40930385f7f8ccc1815a1b43b8739a969d23097a1281a46790
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1087
|
data/lib/v20210820/client.rb
CHANGED
@@ -2911,6 +2911,30 @@ module TencentCloud
|
|
2911
2911
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2912
2912
|
end
|
2913
2913
|
|
2914
|
+
# 查询手动任务触发记录
|
2915
|
+
|
2916
|
+
# @param request: Request instance for DescribeManualTriggerRecordPage.
|
2917
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::DescribeManualTriggerRecordPageRequest`
|
2918
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::DescribeManualTriggerRecordPageResponse`
|
2919
|
+
def DescribeManualTriggerRecordPage(request)
|
2920
|
+
body = send_request('DescribeManualTriggerRecordPage', request.serialize)
|
2921
|
+
response = JSON.parse(body)
|
2922
|
+
if response['Response'].key?('Error') == false
|
2923
|
+
model = DescribeManualTriggerRecordPageResponse.new
|
2924
|
+
model.deserialize(response['Response'])
|
2925
|
+
model
|
2926
|
+
else
|
2927
|
+
code = response['Response']['Error']['Code']
|
2928
|
+
message = response['Response']['Error']['Message']
|
2929
|
+
reqid = response['Response']['RequestId']
|
2930
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2931
|
+
end
|
2932
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2933
|
+
raise e
|
2934
|
+
rescue StandardError => e
|
2935
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2936
|
+
end
|
2937
|
+
|
2914
2938
|
# 获取离线任务长连接Token
|
2915
2939
|
|
2916
2940
|
# @param request: Request instance for DescribeOfflineTaskToken.
|
@@ -5679,6 +5703,30 @@ module TencentCloud
|
|
5679
5703
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5680
5704
|
end
|
5681
5705
|
|
5706
|
+
# 更新任务Ds
|
5707
|
+
|
5708
|
+
# @param request: Request instance for ModifyTaskInfoDs.
|
5709
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::ModifyTaskInfoDsRequest`
|
5710
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::ModifyTaskInfoDsResponse`
|
5711
|
+
def ModifyTaskInfoDs(request)
|
5712
|
+
body = send_request('ModifyTaskInfoDs', request.serialize)
|
5713
|
+
response = JSON.parse(body)
|
5714
|
+
if response['Response'].key?('Error') == false
|
5715
|
+
model = ModifyTaskInfoDsResponse.new
|
5716
|
+
model.deserialize(response['Response'])
|
5717
|
+
model
|
5718
|
+
else
|
5719
|
+
code = response['Response']['Error']['Code']
|
5720
|
+
message = response['Response']['Error']['Message']
|
5721
|
+
reqid = response['Response']['RequestId']
|
5722
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
5723
|
+
end
|
5724
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
5725
|
+
raise e
|
5726
|
+
rescue StandardError => e
|
5727
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
5728
|
+
end
|
5729
|
+
|
5682
5730
|
# <p style="color:red;">[注意:该版本只满足广州区部分白名单客户使用]</p>
|
5683
5731
|
# 添加父任务依赖。本接口已废弃,请使用接口ModifyTaskLinksDs。
|
5684
5732
|
|
data/lib/v20210820/models.rb
CHANGED
@@ -11779,6 +11779,79 @@ module TencentCloud
|
|
11779
11779
|
end
|
11780
11780
|
end
|
11781
11781
|
|
11782
|
+
# DescribeManualTriggerRecordPage请求参数结构体
|
11783
|
+
class DescribeManualTriggerRecordPageRequest < TencentCloud::Common::AbstractModel
|
11784
|
+
# @param ProjectId: 项目ID
|
11785
|
+
# @type ProjectId: String
|
11786
|
+
# @param TriggerName: 触发运行名称
|
11787
|
+
# @type TriggerName: String
|
11788
|
+
# @param WorkflowKeyword: 工作流过滤关键字,工作流名称 or 工作流ID
|
11789
|
+
# @type WorkflowKeyword: String
|
11790
|
+
# @param Creator: 触发运行提交人过滤,多个提交人用英文逗号分割
|
11791
|
+
# @type Creator: String
|
11792
|
+
# @param TriggerStartTime: 触发提交创建时间过滤,起始时间
|
11793
|
+
# @type TriggerStartTime: String
|
11794
|
+
# @param TriggerEndTime: 触发提交创建时间过滤,结束时间
|
11795
|
+
# @type TriggerEndTime: String
|
11796
|
+
# @param PageNumber: 页码,整型
|
11797
|
+
# @type PageNumber: Integer
|
11798
|
+
# @param PageSize: 每页数目,整型
|
11799
|
+
# @type PageSize: Integer
|
11800
|
+
|
11801
|
+
attr_accessor :ProjectId, :TriggerName, :WorkflowKeyword, :Creator, :TriggerStartTime, :TriggerEndTime, :PageNumber, :PageSize
|
11802
|
+
|
11803
|
+
def initialize(projectid=nil, triggername=nil, workflowkeyword=nil, creator=nil, triggerstarttime=nil, triggerendtime=nil, pagenumber=nil, pagesize=nil)
|
11804
|
+
@ProjectId = projectid
|
11805
|
+
@TriggerName = triggername
|
11806
|
+
@WorkflowKeyword = workflowkeyword
|
11807
|
+
@Creator = creator
|
11808
|
+
@TriggerStartTime = triggerstarttime
|
11809
|
+
@TriggerEndTime = triggerendtime
|
11810
|
+
@PageNumber = pagenumber
|
11811
|
+
@PageSize = pagesize
|
11812
|
+
end
|
11813
|
+
|
11814
|
+
def deserialize(params)
|
11815
|
+
@ProjectId = params['ProjectId']
|
11816
|
+
@TriggerName = params['TriggerName']
|
11817
|
+
@WorkflowKeyword = params['WorkflowKeyword']
|
11818
|
+
@Creator = params['Creator']
|
11819
|
+
@TriggerStartTime = params['TriggerStartTime']
|
11820
|
+
@TriggerEndTime = params['TriggerEndTime']
|
11821
|
+
@PageNumber = params['PageNumber']
|
11822
|
+
@PageSize = params['PageSize']
|
11823
|
+
end
|
11824
|
+
end
|
11825
|
+
|
11826
|
+
# DescribeManualTriggerRecordPage返回参数结构体
|
11827
|
+
class DescribeManualTriggerRecordPageResponse < TencentCloud::Common::AbstractModel
|
11828
|
+
# @param RequestFromSource: 请求来源,WEB 前端;CLIENT 客户端
|
11829
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11830
|
+
# @type RequestFromSource: String
|
11831
|
+
# @param Data: 详情结果
|
11832
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
11833
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.ManualTriggerRecordOpsDtoPage`
|
11834
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11835
|
+
# @type RequestId: String
|
11836
|
+
|
11837
|
+
attr_accessor :RequestFromSource, :Data, :RequestId
|
11838
|
+
|
11839
|
+
def initialize(requestfromsource=nil, data=nil, requestid=nil)
|
11840
|
+
@RequestFromSource = requestfromsource
|
11841
|
+
@Data = data
|
11842
|
+
@RequestId = requestid
|
11843
|
+
end
|
11844
|
+
|
11845
|
+
def deserialize(params)
|
11846
|
+
@RequestFromSource = params['RequestFromSource']
|
11847
|
+
unless params['Data'].nil?
|
11848
|
+
@Data = ManualTriggerRecordOpsDtoPage.new
|
11849
|
+
@Data.deserialize(params['Data'])
|
11850
|
+
end
|
11851
|
+
@RequestId = params['RequestId']
|
11852
|
+
end
|
11853
|
+
end
|
11854
|
+
|
11782
11855
|
# DescribeOfflineTaskToken请求参数结构体
|
11783
11856
|
class DescribeOfflineTaskTokenRequest < TencentCloud::Common::AbstractModel
|
11784
11857
|
|
@@ -15382,7 +15455,110 @@ module TencentCloud
|
|
15382
15455
|
# @type PageNumber: Integer
|
15383
15456
|
# @param PageSize: 分页大小
|
15384
15457
|
# @type PageSize: Integer
|
15385
|
-
# @param Filters:
|
15458
|
+
# @param Filters: 过滤字段:
|
15459
|
+
# dbName-数据库名称
|
15460
|
+
# bizCatalogIds-资产目录ID
|
15461
|
+
# DataLayerUuid-数仓分层ID
|
15462
|
+
# ownerAccount-负责人ID
|
15463
|
+
# assetStatus-资产状态:1-已上架 0-未上架
|
15464
|
+
# assetLevel-资产等级:40-核心30-重要 20-一般 10-临时
|
15465
|
+
# msTypes-数据源类型:例如TENCENT_MYSQL-腾讯云MySQL,数据源类型ID可参考
|
15466
|
+
# [
|
15467
|
+
# {
|
15468
|
+
# "DisplayName": "TCHouse-P",
|
15469
|
+
# "Id": "TCHOUSE_P"
|
15470
|
+
# },
|
15471
|
+
# {
|
15472
|
+
# "DisplayName": "Iceberg",
|
15473
|
+
# "Id": "ICEBERG"
|
15474
|
+
# },
|
15475
|
+
# {
|
15476
|
+
# "DisplayName": "Hive",
|
15477
|
+
# "Id": "HIVE"
|
15478
|
+
# },
|
15479
|
+
# {
|
15480
|
+
# "DisplayName": "HBase",
|
15481
|
+
# "Id": "HBASE"
|
15482
|
+
# },
|
15483
|
+
# {
|
15484
|
+
# "DisplayName": "DLC",
|
15485
|
+
# "Id": "DLC"
|
15486
|
+
# },
|
15487
|
+
# {
|
15488
|
+
# "DisplayName": "腾讯云MySQL",
|
15489
|
+
# "Id": "TENCENT_MYSQL"
|
15490
|
+
# },
|
15491
|
+
# {
|
15492
|
+
# "DisplayName": "TCHouse-D",
|
15493
|
+
# "Id": "TCHOUSE_D"
|
15494
|
+
# },
|
15495
|
+
# {
|
15496
|
+
# "DisplayName": "TCHouse-C",
|
15497
|
+
# "Id": "TCHOUSE_C"
|
15498
|
+
# },
|
15499
|
+
# {
|
15500
|
+
# "DisplayName": "EMR StarRocks",
|
15501
|
+
# "Id": "EMR_STARROCKS"
|
15502
|
+
# },
|
15503
|
+
# {
|
15504
|
+
# "DisplayName": "Doris",
|
15505
|
+
# "Id": "DORIS"
|
15506
|
+
# },
|
15507
|
+
# {
|
15508
|
+
# "DisplayName": "MySQL",
|
15509
|
+
# "Id": "MYSQL"
|
15510
|
+
# },
|
15511
|
+
# {
|
15512
|
+
# "DisplayName": "Oracle",
|
15513
|
+
# "Id": "ORACLE"
|
15514
|
+
# },
|
15515
|
+
# {
|
15516
|
+
# "DisplayName": "PostgreSQL",
|
15517
|
+
# "Id": "POSTGRE"
|
15518
|
+
# },
|
15519
|
+
# {
|
15520
|
+
# "DisplayName": "SQL Server",
|
15521
|
+
# "Id": "SQLSERVER"
|
15522
|
+
# },
|
15523
|
+
# {
|
15524
|
+
# "DisplayName": "TDSQL PostgreSQL",
|
15525
|
+
# "Id": "TDSQL_POSTGRE"
|
15526
|
+
# },
|
15527
|
+
# {
|
15528
|
+
# "DisplayName": "Greenplum",
|
15529
|
+
# "Id": "GREENPLUM"
|
15530
|
+
# },
|
15531
|
+
# {
|
15532
|
+
# "DisplayName": "StarRocks",
|
15533
|
+
# "Id": "STARROCKS"
|
15534
|
+
# },
|
15535
|
+
# {
|
15536
|
+
# "DisplayName": "ClickHouse",
|
15537
|
+
# "Id": "CLICKHOUSE"
|
15538
|
+
# },
|
15539
|
+
# {
|
15540
|
+
# "DisplayName": "INFLUXDB",
|
15541
|
+
# "Id": "INFLUXDB"
|
15542
|
+
# },
|
15543
|
+
# {
|
15544
|
+
# "DisplayName": "达梦DM",
|
15545
|
+
# "Id": "DM"
|
15546
|
+
# },
|
15547
|
+
# {
|
15548
|
+
# "DisplayName": "OceanBase",
|
15549
|
+
# "Id": "OCEANBASE"
|
15550
|
+
# },
|
15551
|
+
# {
|
15552
|
+
# "DisplayName": "TDSQL MySQL",
|
15553
|
+
# "Id": "TDSQL_MYSQL"
|
15554
|
+
# },
|
15555
|
+
# {
|
15556
|
+
# "DisplayName": "GaussDB",
|
15557
|
+
# "Id": "GAUSSDB"
|
15558
|
+
# }
|
15559
|
+
# ]
|
15560
|
+
# projectIds-归属项目ID
|
15561
|
+
# keyword-关键字,支持表名/表中文名/数据库名
|
15386
15562
|
# @type Filters: Array
|
15387
15563
|
# @param OrderFields: 排序字段
|
15388
15564
|
# @type OrderFields: Array
|
@@ -24536,6 +24712,55 @@ module TencentCloud
|
|
24536
24712
|
end
|
24537
24713
|
end
|
24538
24714
|
|
24715
|
+
# 手动工作流触发运行记录分页查询
|
24716
|
+
class ManualTriggerRecordOpsDtoPage < TencentCloud::Common::AbstractModel
|
24717
|
+
# @param PageNumber: 页号
|
24718
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24719
|
+
# @type PageNumber: Integer
|
24720
|
+
# @param PageSize: 页大小
|
24721
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24722
|
+
# @type PageSize: Integer
|
24723
|
+
# @param Items: 手动工作流触发运行记录
|
24724
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24725
|
+
# @type Items: Array
|
24726
|
+
# @param TotalPage: 总页数
|
24727
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24728
|
+
# @type TotalPage: Integer
|
24729
|
+
# @param PageCount: 页数
|
24730
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24731
|
+
# @type PageCount: Integer
|
24732
|
+
# @param TotalCount: 总条数
|
24733
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
24734
|
+
# @type TotalCount: Integer
|
24735
|
+
|
24736
|
+
attr_accessor :PageNumber, :PageSize, :Items, :TotalPage, :PageCount, :TotalCount
|
24737
|
+
|
24738
|
+
def initialize(pagenumber=nil, pagesize=nil, items=nil, totalpage=nil, pagecount=nil, totalcount=nil)
|
24739
|
+
@PageNumber = pagenumber
|
24740
|
+
@PageSize = pagesize
|
24741
|
+
@Items = items
|
24742
|
+
@TotalPage = totalpage
|
24743
|
+
@PageCount = pagecount
|
24744
|
+
@TotalCount = totalcount
|
24745
|
+
end
|
24746
|
+
|
24747
|
+
def deserialize(params)
|
24748
|
+
@PageNumber = params['PageNumber']
|
24749
|
+
@PageSize = params['PageSize']
|
24750
|
+
unless params['Items'].nil?
|
24751
|
+
@Items = []
|
24752
|
+
params['Items'].each do |i|
|
24753
|
+
manualtriggerrecordopsdto_tmp = ManualTriggerRecordOpsDto.new
|
24754
|
+
manualtriggerrecordopsdto_tmp.deserialize(i)
|
24755
|
+
@Items << manualtriggerrecordopsdto_tmp
|
24756
|
+
end
|
24757
|
+
end
|
24758
|
+
@TotalPage = params['TotalPage']
|
24759
|
+
@PageCount = params['PageCount']
|
24760
|
+
@TotalCount = params['TotalCount']
|
24761
|
+
end
|
24762
|
+
end
|
24763
|
+
|
24539
24764
|
# ModifyApproveStatus请求参数结构体
|
24540
24765
|
class ModifyApproveStatusRequest < TencentCloud::Common::AbstractModel
|
24541
24766
|
# @param ApproveIds: 审批单ids
|
@@ -25411,6 +25636,206 @@ module TencentCloud
|
|
25411
25636
|
end
|
25412
25637
|
end
|
25413
25638
|
|
25639
|
+
# ModifyTaskInfoDs请求参数结构体
|
25640
|
+
class ModifyTaskInfoDsRequest < TencentCloud::Common::AbstractModel
|
25641
|
+
# @param ProjectId: 项目Id
|
25642
|
+
# @type ProjectId: String
|
25643
|
+
# @param TaskId: 任务ID
|
25644
|
+
# @type TaskId: String
|
25645
|
+
# @param DelayTime: 执行时间,单位分钟,天/周/月/年调度才有。比如天调度,每天的02:00点执行一次,delayTime就是120分钟
|
25646
|
+
# @type DelayTime: Integer
|
25647
|
+
# @param StartupTime: 启动时间:该字段已废弃,无需填写
|
25648
|
+
# @type StartupTime: Integer
|
25649
|
+
# @param SelfDepend: 自依赖类型 1:有序串行 一次一个 排队 2: 无序串行 一次一个 不排队 3:并行 一次多个;暂不支持其他值
|
25650
|
+
# @type SelfDepend: Integer
|
25651
|
+
# @param StartTime: 生效开始时间,格式 yyyy-MM-dd HH:mm:ss
|
25652
|
+
# @type StartTime: String
|
25653
|
+
# @param EndTime: 生效结束时间,格式 yyyy-MM-dd HH:mm:ss
|
25654
|
+
# @type EndTime: String
|
25655
|
+
# @param TaskAction: 调度配置-弹性周期配置,小时/周/月/年调度才有,小时任务指定每天的0点3点4点跑,则为 0,3,4。设置该值时,请把CycleStep字段设置为1(如果原始值不为1)。
|
25656
|
+
# @type TaskAction: String
|
25657
|
+
# @param CycleType: 周期类型 0:crontab类型, 1:分钟,2:小时,3:天,4:周,5:月,6:一次性,7:用户驱动,10:弹性周期 周,11:弹性周期 月,12:年,13:即时触发Instant类型,与正常周期调度任务逻辑隔离
|
25658
|
+
# @type CycleType: Integer
|
25659
|
+
# @param CycleStep: 小时和分钟任务才有;分钟任务:5、10、15、20、30,表示每隔5【或其他值】分钟执行一次;小时任务:1、2、3、4、5、6、7、8、9、10、11、12,表示每隔1【或其他值】小时执行一次。该值大于1时,请把TaskAction字段设置为空字符串。
|
25660
|
+
# @type CycleStep: Integer
|
25661
|
+
# @param CrontabExpression: cron表达式 周期类型为crontab调度才需要
|
25662
|
+
# @type CrontabExpression: String
|
25663
|
+
# @param ExecutionStartTime: 执行时间左闭区间,格式:HH:mm 小时调度才有,例如小时任务, 每日固定区间生效
|
25664
|
+
# @type ExecutionStartTime: String
|
25665
|
+
# @param ExecutionEndTime: 执行时间右闭区间,格式:HH:mm 小时调度才有,例如小时任务, 每日固定区间生效
|
25666
|
+
# @type ExecutionEndTime: String
|
25667
|
+
# @param TaskName: 任务名,该字段废弃,请勿使用该字段重命名任务
|
25668
|
+
# @type TaskName: String
|
25669
|
+
# @param RetryWait: 失败重试间隔,单位分钟,创建任务的时候已经给了默认值
|
25670
|
+
# @type RetryWait: Integer
|
25671
|
+
# @param TryLimit: 失败重试次数,创建任务的时候已经给了默认值
|
25672
|
+
# @type TryLimit: Integer
|
25673
|
+
# @param Retriable: 是否可重试,0代码不可重试,1代表可以重试;暂不支持其他值
|
25674
|
+
# @type Retriable: Integer
|
25675
|
+
# @param RunPriority: 运行优先级,4高 5中 6低;暂不支持其他值
|
25676
|
+
# @type RunPriority: Integer
|
25677
|
+
# @param TaskExt: 任务的扩展配置
|
25678
|
+
# @type TaskExt: Array
|
25679
|
+
# @param ResourceGroup: 执行资源组Id,需要去资源管理服务上创建调度资源组,并且绑定cvm机器
|
25680
|
+
# @type ResourceGroup: String
|
25681
|
+
# @param YarnQueue: 资源池队列名称
|
25682
|
+
# @type YarnQueue: String
|
25683
|
+
# @param BrokerIp: 资源组下具体执行机,any 表示可以跑在任意一台。
|
25684
|
+
# @type BrokerIp: String
|
25685
|
+
# @param InCharge: 责任人,多个责任人请用分号隔开
|
25686
|
+
# @type InCharge: String
|
25687
|
+
# @param Notes: 任务备注
|
25688
|
+
# @type Notes: String
|
25689
|
+
# @param TaskParamInfos: 任务参数
|
25690
|
+
# @type TaskParamInfos: Array
|
25691
|
+
# @param SourceServer: 源数据源Id
|
25692
|
+
# @type SourceServer: String
|
25693
|
+
# @param TargetServer: 目标数据源Id
|
25694
|
+
# @type TargetServer: String
|
25695
|
+
# @param DependencyWorkflow: 是否支持工作流依赖 yes / no 默认 no
|
25696
|
+
# @type DependencyWorkflow: String
|
25697
|
+
# @param DependencyConfigDTOs: 依赖配置,仅可修改上游任务实例配置方法
|
25698
|
+
# @type DependencyConfigDTOs: Array
|
25699
|
+
# @param ExecutionTTL: 运行耗时超时时间分钟数
|
25700
|
+
# @type ExecutionTTL: Integer
|
25701
|
+
# @param ScriptChange: 脚本是否改变
|
25702
|
+
# @type ScriptChange: Boolean
|
25703
|
+
# @param ScheduleTimeZone: 任务时区,仅支持整数时区配置
|
25704
|
+
# @type ScheduleTimeZone: String
|
25705
|
+
# @param ScheduleRunType: 0 正常调度 1 空跑调度;暂不支持其他值
|
25706
|
+
# @type ScheduleRunType: Integer
|
25707
|
+
# @param ConcurrentStrategy: 0 并发度达到上限时,本次排队等待 1 并发度达到上限时,本次不执行,直接kill;暂不支持其他值
|
25708
|
+
# @type ConcurrentStrategy: Integer
|
25709
|
+
# @param RegisterDsEventPublisherRequest: shell任务发布事件
|
25710
|
+
# @type RegisterDsEventPublisherRequest: :class:`Tencentcloud::Wedata.v20210820.models.RegisterDsEventPublisherReq`
|
25711
|
+
# @param Content: base64编码后脚本内容
|
25712
|
+
# @type Content: String
|
25713
|
+
|
25714
|
+
attr_accessor :ProjectId, :TaskId, :DelayTime, :StartupTime, :SelfDepend, :StartTime, :EndTime, :TaskAction, :CycleType, :CycleStep, :CrontabExpression, :ExecutionStartTime, :ExecutionEndTime, :TaskName, :RetryWait, :TryLimit, :Retriable, :RunPriority, :TaskExt, :ResourceGroup, :YarnQueue, :BrokerIp, :InCharge, :Notes, :TaskParamInfos, :SourceServer, :TargetServer, :DependencyWorkflow, :DependencyConfigDTOs, :ExecutionTTL, :ScriptChange, :ScheduleTimeZone, :ScheduleRunType, :ConcurrentStrategy, :RegisterDsEventPublisherRequest, :Content
|
25715
|
+
|
25716
|
+
def initialize(projectid=nil, taskid=nil, delaytime=nil, startuptime=nil, selfdepend=nil, starttime=nil, endtime=nil, taskaction=nil, cycletype=nil, cyclestep=nil, crontabexpression=nil, executionstarttime=nil, executionendtime=nil, taskname=nil, retrywait=nil, trylimit=nil, retriable=nil, runpriority=nil, taskext=nil, resourcegroup=nil, yarnqueue=nil, brokerip=nil, incharge=nil, notes=nil, taskparaminfos=nil, sourceserver=nil, targetserver=nil, dependencyworkflow=nil, dependencyconfigdtos=nil, executionttl=nil, scriptchange=nil, scheduletimezone=nil, scheduleruntype=nil, concurrentstrategy=nil, registerdseventpublisherrequest=nil, content=nil)
|
25717
|
+
@ProjectId = projectid
|
25718
|
+
@TaskId = taskid
|
25719
|
+
@DelayTime = delaytime
|
25720
|
+
@StartupTime = startuptime
|
25721
|
+
@SelfDepend = selfdepend
|
25722
|
+
@StartTime = starttime
|
25723
|
+
@EndTime = endtime
|
25724
|
+
@TaskAction = taskaction
|
25725
|
+
@CycleType = cycletype
|
25726
|
+
@CycleStep = cyclestep
|
25727
|
+
@CrontabExpression = crontabexpression
|
25728
|
+
@ExecutionStartTime = executionstarttime
|
25729
|
+
@ExecutionEndTime = executionendtime
|
25730
|
+
@TaskName = taskname
|
25731
|
+
@RetryWait = retrywait
|
25732
|
+
@TryLimit = trylimit
|
25733
|
+
@Retriable = retriable
|
25734
|
+
@RunPriority = runpriority
|
25735
|
+
@TaskExt = taskext
|
25736
|
+
@ResourceGroup = resourcegroup
|
25737
|
+
@YarnQueue = yarnqueue
|
25738
|
+
@BrokerIp = brokerip
|
25739
|
+
@InCharge = incharge
|
25740
|
+
@Notes = notes
|
25741
|
+
@TaskParamInfos = taskparaminfos
|
25742
|
+
@SourceServer = sourceserver
|
25743
|
+
@TargetServer = targetserver
|
25744
|
+
@DependencyWorkflow = dependencyworkflow
|
25745
|
+
@DependencyConfigDTOs = dependencyconfigdtos
|
25746
|
+
@ExecutionTTL = executionttl
|
25747
|
+
@ScriptChange = scriptchange
|
25748
|
+
@ScheduleTimeZone = scheduletimezone
|
25749
|
+
@ScheduleRunType = scheduleruntype
|
25750
|
+
@ConcurrentStrategy = concurrentstrategy
|
25751
|
+
@RegisterDsEventPublisherRequest = registerdseventpublisherrequest
|
25752
|
+
@Content = content
|
25753
|
+
end
|
25754
|
+
|
25755
|
+
def deserialize(params)
|
25756
|
+
@ProjectId = params['ProjectId']
|
25757
|
+
@TaskId = params['TaskId']
|
25758
|
+
@DelayTime = params['DelayTime']
|
25759
|
+
@StartupTime = params['StartupTime']
|
25760
|
+
@SelfDepend = params['SelfDepend']
|
25761
|
+
@StartTime = params['StartTime']
|
25762
|
+
@EndTime = params['EndTime']
|
25763
|
+
@TaskAction = params['TaskAction']
|
25764
|
+
@CycleType = params['CycleType']
|
25765
|
+
@CycleStep = params['CycleStep']
|
25766
|
+
@CrontabExpression = params['CrontabExpression']
|
25767
|
+
@ExecutionStartTime = params['ExecutionStartTime']
|
25768
|
+
@ExecutionEndTime = params['ExecutionEndTime']
|
25769
|
+
@TaskName = params['TaskName']
|
25770
|
+
@RetryWait = params['RetryWait']
|
25771
|
+
@TryLimit = params['TryLimit']
|
25772
|
+
@Retriable = params['Retriable']
|
25773
|
+
@RunPriority = params['RunPriority']
|
25774
|
+
unless params['TaskExt'].nil?
|
25775
|
+
@TaskExt = []
|
25776
|
+
params['TaskExt'].each do |i|
|
25777
|
+
taskextinfo_tmp = TaskExtInfo.new
|
25778
|
+
taskextinfo_tmp.deserialize(i)
|
25779
|
+
@TaskExt << taskextinfo_tmp
|
25780
|
+
end
|
25781
|
+
end
|
25782
|
+
@ResourceGroup = params['ResourceGroup']
|
25783
|
+
@YarnQueue = params['YarnQueue']
|
25784
|
+
@BrokerIp = params['BrokerIp']
|
25785
|
+
@InCharge = params['InCharge']
|
25786
|
+
@Notes = params['Notes']
|
25787
|
+
unless params['TaskParamInfos'].nil?
|
25788
|
+
@TaskParamInfos = []
|
25789
|
+
params['TaskParamInfos'].each do |i|
|
25790
|
+
paraminfo_tmp = ParamInfo.new
|
25791
|
+
paraminfo_tmp.deserialize(i)
|
25792
|
+
@TaskParamInfos << paraminfo_tmp
|
25793
|
+
end
|
25794
|
+
end
|
25795
|
+
@SourceServer = params['SourceServer']
|
25796
|
+
@TargetServer = params['TargetServer']
|
25797
|
+
@DependencyWorkflow = params['DependencyWorkflow']
|
25798
|
+
unless params['DependencyConfigDTOs'].nil?
|
25799
|
+
@DependencyConfigDTOs = []
|
25800
|
+
params['DependencyConfigDTOs'].each do |i|
|
25801
|
+
dependencyconfig_tmp = DependencyConfig.new
|
25802
|
+
dependencyconfig_tmp.deserialize(i)
|
25803
|
+
@DependencyConfigDTOs << dependencyconfig_tmp
|
25804
|
+
end
|
25805
|
+
end
|
25806
|
+
@ExecutionTTL = params['ExecutionTTL']
|
25807
|
+
@ScriptChange = params['ScriptChange']
|
25808
|
+
@ScheduleTimeZone = params['ScheduleTimeZone']
|
25809
|
+
@ScheduleRunType = params['ScheduleRunType']
|
25810
|
+
@ConcurrentStrategy = params['ConcurrentStrategy']
|
25811
|
+
unless params['RegisterDsEventPublisherRequest'].nil?
|
25812
|
+
@RegisterDsEventPublisherRequest = RegisterDsEventPublisherReq.new
|
25813
|
+
@RegisterDsEventPublisherRequest.deserialize(params['RegisterDsEventPublisherRequest'])
|
25814
|
+
end
|
25815
|
+
@Content = params['Content']
|
25816
|
+
end
|
25817
|
+
end
|
25818
|
+
|
25819
|
+
# ModifyTaskInfoDs返回参数结构体
|
25820
|
+
class ModifyTaskInfoDsResponse < TencentCloud::Common::AbstractModel
|
25821
|
+
# @param Data: 执行结果
|
25822
|
+
# @type Data: Boolean
|
25823
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
25824
|
+
# @type RequestId: String
|
25825
|
+
|
25826
|
+
attr_accessor :Data, :RequestId
|
25827
|
+
|
25828
|
+
def initialize(data=nil, requestid=nil)
|
25829
|
+
@Data = data
|
25830
|
+
@RequestId = requestid
|
25831
|
+
end
|
25832
|
+
|
25833
|
+
def deserialize(params)
|
25834
|
+
@Data = params['Data']
|
25835
|
+
@RequestId = params['RequestId']
|
25836
|
+
end
|
25837
|
+
end
|
25838
|
+
|
25414
25839
|
# ModifyTaskInfo请求参数结构体
|
25415
25840
|
class ModifyTaskInfoRequest < TencentCloud::Common::AbstractModel
|
25416
25841
|
# @param ProjectId: 项目Id
|
@@ -27996,6 +28421,45 @@ module TencentCloud
|
|
27996
28421
|
end
|
27997
28422
|
end
|
27998
28423
|
|
28424
|
+
# RegisterDsEventPublisher注册事件发布者参数
|
28425
|
+
class RegisterDsEventPublisherReq < TencentCloud::Common::AbstractModel
|
28426
|
+
# @param ProjectId: 项目id
|
28427
|
+
# @type ProjectId: String
|
28428
|
+
# @param Key: 任务id
|
28429
|
+
# @type Key: String
|
28430
|
+
# @param Type: 类型 REST_API、KAFKA
|
28431
|
+
# @type Type: String
|
28432
|
+
# @param Properties: 配置信息
|
28433
|
+
# @type Properties: Array
|
28434
|
+
# @param Description: 描述信息
|
28435
|
+
# @type Description: String
|
28436
|
+
|
28437
|
+
attr_accessor :ProjectId, :Key, :Type, :Properties, :Description
|
28438
|
+
|
28439
|
+
def initialize(projectid=nil, key=nil, type=nil, properties=nil, description=nil)
|
28440
|
+
@ProjectId = projectid
|
28441
|
+
@Key = key
|
28442
|
+
@Type = type
|
28443
|
+
@Properties = properties
|
28444
|
+
@Description = description
|
28445
|
+
end
|
28446
|
+
|
28447
|
+
def deserialize(params)
|
28448
|
+
@ProjectId = params['ProjectId']
|
28449
|
+
@Key = params['Key']
|
28450
|
+
@Type = params['Type']
|
28451
|
+
unless params['Properties'].nil?
|
28452
|
+
@Properties = []
|
28453
|
+
params['Properties'].each do |i|
|
28454
|
+
paraminfods_tmp = ParamInfoDs.new
|
28455
|
+
paraminfods_tmp.deserialize(i)
|
28456
|
+
@Properties << paraminfods_tmp
|
28457
|
+
end
|
28458
|
+
end
|
28459
|
+
@Description = params['Description']
|
28460
|
+
end
|
28461
|
+
end
|
28462
|
+
|
27999
28463
|
# RegisterDsEvent请求参数结构体
|
28000
28464
|
class RegisterDsEventRequest < TencentCloud::Common::AbstractModel
|
28001
28465
|
# @param ProjectId: 项目ID
|
@@ -34171,10 +34635,13 @@ module TencentCloud
|
|
34171
34635
|
# @param AlarmMessageRule: alarm message rule
|
34172
34636
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
34173
34637
|
# @type AlarmMessageRule: String
|
34638
|
+
# @param ReportTarget: 0- wedata, 1-inlong
|
34639
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
34640
|
+
# @type ReportTarget: Integer
|
34174
34641
|
|
34175
|
-
attr_accessor :TaskId, :RegularName, :RegularStatus, :AlarmLevel, :AlarmWay, :TaskType, :Id, :RegularId, :AlarmIndicator, :TriggerType, :EstimatedTime, :AlarmRecipientId, :ProjectId, :Creater, :AlarmRecipientName, :AlarmIndicatorDesc, :Operator, :NodeId, :NodeName, :AlarmIndicatorInfos, :AlarmRecipientType, :QuietPeriods, :WeComHook, :UpdateTime, :OperatorUin, :TaskCount, :MonitorType, :MonitorObjectIds, :LatestAlarmInstanceId, :LatestAlarmTime, :Description, :LarkWebHooks, :DingDingWebHooks, :BusinessType, :AlarmMessageRule
|
34642
|
+
attr_accessor :TaskId, :RegularName, :RegularStatus, :AlarmLevel, :AlarmWay, :TaskType, :Id, :RegularId, :AlarmIndicator, :TriggerType, :EstimatedTime, :AlarmRecipientId, :ProjectId, :Creater, :AlarmRecipientName, :AlarmIndicatorDesc, :Operator, :NodeId, :NodeName, :AlarmIndicatorInfos, :AlarmRecipientType, :QuietPeriods, :WeComHook, :UpdateTime, :OperatorUin, :TaskCount, :MonitorType, :MonitorObjectIds, :LatestAlarmInstanceId, :LatestAlarmTime, :Description, :LarkWebHooks, :DingDingWebHooks, :BusinessType, :AlarmMessageRule, :ReportTarget
|
34176
34643
|
|
34177
|
-
def initialize(taskid=nil, regularname=nil, regularstatus=nil, alarmlevel=nil, alarmway=nil, tasktype=nil, id=nil, regularid=nil, alarmindicator=nil, triggertype=nil, estimatedtime=nil, alarmrecipientid=nil, projectid=nil, creater=nil, alarmrecipientname=nil, alarmindicatordesc=nil, operator=nil, nodeid=nil, nodename=nil, alarmindicatorinfos=nil, alarmrecipienttype=nil, quietperiods=nil, wecomhook=nil, updatetime=nil, operatoruin=nil, taskcount=nil, monitortype=nil, monitorobjectids=nil, latestalarminstanceid=nil, latestalarmtime=nil, description=nil, larkwebhooks=nil, dingdingwebhooks=nil, businesstype=nil, alarmmessagerule=nil)
|
34644
|
+
def initialize(taskid=nil, regularname=nil, regularstatus=nil, alarmlevel=nil, alarmway=nil, tasktype=nil, id=nil, regularid=nil, alarmindicator=nil, triggertype=nil, estimatedtime=nil, alarmrecipientid=nil, projectid=nil, creater=nil, alarmrecipientname=nil, alarmindicatordesc=nil, operator=nil, nodeid=nil, nodename=nil, alarmindicatorinfos=nil, alarmrecipienttype=nil, quietperiods=nil, wecomhook=nil, updatetime=nil, operatoruin=nil, taskcount=nil, monitortype=nil, monitorobjectids=nil, latestalarminstanceid=nil, latestalarmtime=nil, description=nil, larkwebhooks=nil, dingdingwebhooks=nil, businesstype=nil, alarmmessagerule=nil, reporttarget=nil)
|
34178
34645
|
@TaskId = taskid
|
34179
34646
|
@RegularName = regularname
|
34180
34647
|
@RegularStatus = regularstatus
|
@@ -34210,6 +34677,7 @@ module TencentCloud
|
|
34210
34677
|
@DingDingWebHooks = dingdingwebhooks
|
34211
34678
|
@BusinessType = businesstype
|
34212
34679
|
@AlarmMessageRule = alarmmessagerule
|
34680
|
+
@ReportTarget = reporttarget
|
34213
34681
|
end
|
34214
34682
|
|
34215
34683
|
def deserialize(params)
|
@@ -34262,6 +34730,7 @@ module TencentCloud
|
|
34262
34730
|
@DingDingWebHooks = params['DingDingWebHooks']
|
34263
34731
|
@BusinessType = params['BusinessType']
|
34264
34732
|
@AlarmMessageRule = params['AlarmMessageRule']
|
34733
|
+
@ReportTarget = params['ReportTarget']
|
34265
34734
|
end
|
34266
34735
|
end
|
34267
34736
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-wedata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1087
|
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-06-
|
11
|
+
date: 2025-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|