tencentcloud-sdk-wedata 3.0.1185 → 3.0.1189

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.
@@ -1651,7 +1651,7 @@ module TencentCloud
1651
1651
  # @param ParentFolderPath: 项目中资源文件上传的路径, 取值示例: /wedata/qxxxm/, 根目录,请使用/即可
1652
1652
  # @type ParentFolderPath: String
1653
1653
  # @param ResourceFile: - 上传文件及手填两种方式只能选择其一,如果两者均提供,取值顺序为文件>手填值
1654
- # - 手填值必须是存在的cos路径, /datastudio/resource/ 为固定前缀, projectId 为项目ID,需传入具体值, parentFolderPath为父文件夹路径, name为文件名, 手填值取值示例: /datastudio/resource/projectId/parentFolderPath/name
1654
+ # - 手填值必须是存在的cos路径, parentFolderPath为父文件夹路径, name为文件名, 手填值取值示例: /datastudio/resource/projectId/parentFolderPath/name
1655
1655
  # @type ResourceFile: String
1656
1656
  # @param BundleId: bundle客户端ID
1657
1657
  # @type BundleId: String
@@ -1998,15 +1998,22 @@ module TencentCloud
1998
1998
  # @type OwnerUin: String
1999
1999
  # @param TaskDescription: 任务描述
2000
2000
  # @type TaskDescription: String
2001
+ # @param TaskFolderPath: 任务文件夹路径
2001
2002
 
2002
- attr_accessor :TaskName, :TaskTypeId, :WorkflowId, :OwnerUin, :TaskDescription
2003
+ # 注意:
2004
+ # - 路径上不要填写任务节点类型;例如,在 一个名为 wf01 的工作流,“通用” 分类下,现在想要在这个分类下的 tf_01 文件夹下,新建一个 shell 任务;则 填写 /tf_01 即可;
2005
+ # - 如果 tf_01 文件夹不存在,则需要先创建这个文件夹(使用 CreateTaskFolder 接口)才能操作成功;
2006
+ # @type TaskFolderPath: String
2003
2007
 
2004
- def initialize(taskname=nil, tasktypeid=nil, workflowid=nil, owneruin=nil, taskdescription=nil)
2008
+ attr_accessor :TaskName, :TaskTypeId, :WorkflowId, :OwnerUin, :TaskDescription, :TaskFolderPath
2009
+
2010
+ def initialize(taskname=nil, tasktypeid=nil, workflowid=nil, owneruin=nil, taskdescription=nil, taskfolderpath=nil)
2005
2011
  @TaskName = taskname
2006
2012
  @TaskTypeId = tasktypeid
2007
2013
  @WorkflowId = workflowid
2008
2014
  @OwnerUin = owneruin
2009
2015
  @TaskDescription = taskdescription
2016
+ @TaskFolderPath = taskfolderpath
2010
2017
  end
2011
2018
 
2012
2019
  def deserialize(params)
@@ -2015,6 +2022,7 @@ module TencentCloud
2015
2022
  @WorkflowId = params['WorkflowId']
2016
2023
  @OwnerUin = params['OwnerUin']
2017
2024
  @TaskDescription = params['TaskDescription']
2025
+ @TaskFolderPath = params['TaskFolderPath']
2018
2026
  end
2019
2027
  end
2020
2028
 
@@ -2192,8 +2200,6 @@ module TencentCloud
2192
2200
  # @type ExecutionStartTime: String
2193
2201
  # @param ExecutionEndTime: 执行时间 右闭区间,默认 23:59
2194
2202
  # @type ExecutionEndTime: String
2195
- # @param ScheduleRunType: 调度类型: 0 正常调度 1 空跑调度,默认为 0
2196
- # @type ScheduleRunType: String
2197
2203
  # @param CalendarOpen: 日历调度 取值为 0 和 1, 1为打开,0为关闭,默认为0
2198
2204
  # @type CalendarOpen: String
2199
2205
  # @param CalendarId: 日历调度 日历 ID
@@ -2204,16 +2210,6 @@ module TencentCloud
2204
2210
  # @type UpstreamDependencyConfigList: Array
2205
2211
  # @param EventListenerList: 事件数组
2206
2212
  # @type EventListenerList: Array
2207
- # @param RunPriority: 任务调度优先级 运行优先级 4高 5中 6低 , 默认:6
2208
- # @type RunPriority: String
2209
- # @param RetryWait: 重试策略 重试等待时间,单位分钟: 默认: 5
2210
- # @type RetryWait: String
2211
- # @param MaxRetryAttempts: 重试策略 最大尝试次数, 默认: 4
2212
- # @type MaxRetryAttempts: String
2213
- # @param ExecutionTTL: 超时处理策略 运行耗时超时(单位:分钟)默认为 -1
2214
- # @type ExecutionTTL: String
2215
- # @param WaitExecutionTotalTTL: 超时处理策略 等待总时长耗时超时(单位:分钟)默认为 -1
2216
- # @type WaitExecutionTotalTTL: String
2217
2213
  # @param AllowRedoType: 重跑&补录配置, 默认为 ALL; , ALL 运行成功或失败后皆可重跑或补录, FAILURE 运行成功后不可重跑或补录,运行失败后可重跑或补录, NONE 运行成功或失败后皆不可重跑或补录;
2218
2214
  # @type AllowRedoType: String
2219
2215
  # @param ParamTaskOutList: 输出参数数组
@@ -2226,10 +2222,47 @@ module TencentCloud
2226
2222
  # * T_PLUS_0: T+0生成,默认策略
2227
2223
  # * T_PLUS_1: T+1生成
2228
2224
  # @type InitStrategy: String
2229
-
2230
- attr_accessor :CycleType, :ScheduleTimeZone, :CrontabExpression, :StartTime, :EndTime, :ExecutionStartTime, :ExecutionEndTime, :ScheduleRunType, :CalendarOpen, :CalendarId, :SelfDepend, :UpstreamDependencyConfigList, :EventListenerList, :RunPriority, :RetryWait, :MaxRetryAttempts, :ExecutionTTL, :WaitExecutionTotalTTL, :AllowRedoType, :ParamTaskOutList, :ParamTaskInList, :TaskOutputRegistryList, :InitStrategy
2231
-
2232
- def initialize(cycletype=nil, scheduletimezone=nil, crontabexpression=nil, starttime=nil, endtime=nil, executionstarttime=nil, executionendtime=nil, scheduleruntype=nil, calendaropen=nil, calendarid=nil, selfdepend=nil, upstreamdependencyconfiglist=nil, eventlistenerlist=nil, runpriority=nil, retrywait=nil, maxretryattempts=nil, executionttl=nil, waitexecutiontotalttl=nil, allowredotype=nil, paramtaskoutlist=nil, paramtaskinlist=nil, taskoutputregistrylist=nil, initstrategy=nil)
2225
+ # @param ScheduleRunType: 调度类型: 0 正常调度 1 空跑调度,默认为 0
2226
+ # @type ScheduleRunType: String
2227
+ # @param RunPriority: 任务调度优先级 运行优先级 4高 5中 6低 , 默认:6
2228
+ # @type RunPriority: String
2229
+ # @param RetryWait: 重试策略 重试等待时间,单位分钟: 默认: 5
2230
+ # @type RetryWait: String
2231
+ # @param MaxRetryAttempts: 重试策略 最大尝试次数, 默认: 4
2232
+ # @type MaxRetryAttempts: String
2233
+ # @param ExecutionTTL: 超时处理策略 运行耗时超时(单位:分钟)默认为 -1
2234
+ # @type ExecutionTTL: String
2235
+ # @param WaitExecutionTotalTTL: 超时处理策略 等待总时长耗时超时(单位:分钟)默认为 -1
2236
+ # @type WaitExecutionTotalTTL: String
2237
+ # @param ScheduleType: 调度类型: 0 正常调度 1 空跑调度,默认为 0
2238
+ # @type ScheduleType: Integer
2239
+ # @param RunPriorityType: 任务调度优先级 运行优先级 4高 5中 6低 , 默认:6
2240
+ # @type RunPriorityType: Integer
2241
+ # @param RetryWaitMinute: 重试策略 重试等待时间,单位分钟: 默认: 5
2242
+ # @type RetryWaitMinute: Integer
2243
+ # @param MaxRetryNumber: 重试策略 最大尝试次数, 默认: 4
2244
+ # @type MaxRetryNumber: Integer
2245
+ # @param ExecutionTTLMinute: 超时处理策略 运行耗时超时(单位:分钟)默认为 -1
2246
+ # @type ExecutionTTLMinute: Integer
2247
+ # @param WaitExecutionTotalTTLMinute: 超时处理策略 等待总时长耗时超时(单位:分钟)默认为 -1
2248
+ # @type WaitExecutionTotalTTLMinute: Integer
2249
+
2250
+ attr_accessor :CycleType, :ScheduleTimeZone, :CrontabExpression, :StartTime, :EndTime, :ExecutionStartTime, :ExecutionEndTime, :CalendarOpen, :CalendarId, :SelfDepend, :UpstreamDependencyConfigList, :EventListenerList, :AllowRedoType, :ParamTaskOutList, :ParamTaskInList, :TaskOutputRegistryList, :InitStrategy, :ScheduleRunType, :RunPriority, :RetryWait, :MaxRetryAttempts, :ExecutionTTL, :WaitExecutionTotalTTL, :ScheduleType, :RunPriorityType, :RetryWaitMinute, :MaxRetryNumber, :ExecutionTTLMinute, :WaitExecutionTotalTTLMinute
2251
+ extend Gem::Deprecate
2252
+ deprecate :ScheduleRunType, :none, 2025, 12
2253
+ deprecate :ScheduleRunType=, :none, 2025, 12
2254
+ deprecate :RunPriority, :none, 2025, 12
2255
+ deprecate :RunPriority=, :none, 2025, 12
2256
+ deprecate :RetryWait, :none, 2025, 12
2257
+ deprecate :RetryWait=, :none, 2025, 12
2258
+ deprecate :MaxRetryAttempts, :none, 2025, 12
2259
+ deprecate :MaxRetryAttempts=, :none, 2025, 12
2260
+ deprecate :ExecutionTTL, :none, 2025, 12
2261
+ deprecate :ExecutionTTL=, :none, 2025, 12
2262
+ deprecate :WaitExecutionTotalTTL, :none, 2025, 12
2263
+ deprecate :WaitExecutionTotalTTL=, :none, 2025, 12
2264
+
2265
+ def initialize(cycletype=nil, scheduletimezone=nil, crontabexpression=nil, starttime=nil, endtime=nil, executionstarttime=nil, executionendtime=nil, calendaropen=nil, calendarid=nil, selfdepend=nil, upstreamdependencyconfiglist=nil, eventlistenerlist=nil, allowredotype=nil, paramtaskoutlist=nil, paramtaskinlist=nil, taskoutputregistrylist=nil, initstrategy=nil, scheduleruntype=nil, runpriority=nil, retrywait=nil, maxretryattempts=nil, executionttl=nil, waitexecutiontotalttl=nil, scheduletype=nil, runprioritytype=nil, retrywaitminute=nil, maxretrynumber=nil, executionttlminute=nil, waitexecutiontotalttlminute=nil)
2233
2266
  @CycleType = cycletype
2234
2267
  @ScheduleTimeZone = scheduletimezone
2235
2268
  @CrontabExpression = crontabexpression
@@ -2237,22 +2270,28 @@ module TencentCloud
2237
2270
  @EndTime = endtime
2238
2271
  @ExecutionStartTime = executionstarttime
2239
2272
  @ExecutionEndTime = executionendtime
2240
- @ScheduleRunType = scheduleruntype
2241
2273
  @CalendarOpen = calendaropen
2242
2274
  @CalendarId = calendarid
2243
2275
  @SelfDepend = selfdepend
2244
2276
  @UpstreamDependencyConfigList = upstreamdependencyconfiglist
2245
2277
  @EventListenerList = eventlistenerlist
2246
- @RunPriority = runpriority
2247
- @RetryWait = retrywait
2248
- @MaxRetryAttempts = maxretryattempts
2249
- @ExecutionTTL = executionttl
2250
- @WaitExecutionTotalTTL = waitexecutiontotalttl
2251
2278
  @AllowRedoType = allowredotype
2252
2279
  @ParamTaskOutList = paramtaskoutlist
2253
2280
  @ParamTaskInList = paramtaskinlist
2254
2281
  @TaskOutputRegistryList = taskoutputregistrylist
2255
2282
  @InitStrategy = initstrategy
2283
+ @ScheduleRunType = scheduleruntype
2284
+ @RunPriority = runpriority
2285
+ @RetryWait = retrywait
2286
+ @MaxRetryAttempts = maxretryattempts
2287
+ @ExecutionTTL = executionttl
2288
+ @WaitExecutionTotalTTL = waitexecutiontotalttl
2289
+ @ScheduleType = scheduletype
2290
+ @RunPriorityType = runprioritytype
2291
+ @RetryWaitMinute = retrywaitminute
2292
+ @MaxRetryNumber = maxretrynumber
2293
+ @ExecutionTTLMinute = executionttlminute
2294
+ @WaitExecutionTotalTTLMinute = waitexecutiontotalttlminute
2256
2295
  end
2257
2296
 
2258
2297
  def deserialize(params)
@@ -2263,7 +2302,6 @@ module TencentCloud
2263
2302
  @EndTime = params['EndTime']
2264
2303
  @ExecutionStartTime = params['ExecutionStartTime']
2265
2304
  @ExecutionEndTime = params['ExecutionEndTime']
2266
- @ScheduleRunType = params['ScheduleRunType']
2267
2305
  @CalendarOpen = params['CalendarOpen']
2268
2306
  @CalendarId = params['CalendarId']
2269
2307
  @SelfDepend = params['SelfDepend']
@@ -2283,11 +2321,6 @@ module TencentCloud
2283
2321
  @EventListenerList << eventlistener_tmp
2284
2322
  end
2285
2323
  end
2286
- @RunPriority = params['RunPriority']
2287
- @RetryWait = params['RetryWait']
2288
- @MaxRetryAttempts = params['MaxRetryAttempts']
2289
- @ExecutionTTL = params['ExecutionTTL']
2290
- @WaitExecutionTotalTTL = params['WaitExecutionTotalTTL']
2291
2324
  @AllowRedoType = params['AllowRedoType']
2292
2325
  unless params['ParamTaskOutList'].nil?
2293
2326
  @ParamTaskOutList = []
@@ -2314,6 +2347,18 @@ module TencentCloud
2314
2347
  end
2315
2348
  end
2316
2349
  @InitStrategy = params['InitStrategy']
2350
+ @ScheduleRunType = params['ScheduleRunType']
2351
+ @RunPriority = params['RunPriority']
2352
+ @RetryWait = params['RetryWait']
2353
+ @MaxRetryAttempts = params['MaxRetryAttempts']
2354
+ @ExecutionTTL = params['ExecutionTTL']
2355
+ @WaitExecutionTotalTTL = params['WaitExecutionTotalTTL']
2356
+ @ScheduleType = params['ScheduleType']
2357
+ @RunPriorityType = params['RunPriorityType']
2358
+ @RetryWaitMinute = params['RetryWaitMinute']
2359
+ @MaxRetryNumber = params['MaxRetryNumber']
2360
+ @ExecutionTTLMinute = params['ExecutionTTLMinute']
2361
+ @WaitExecutionTotalTTLMinute = params['WaitExecutionTotalTTLMinute']
2317
2362
  end
2318
2363
  end
2319
2364
 
@@ -11570,10 +11615,17 @@ module TencentCloud
11570
11615
  # @param CreateUserUin: 创建用户ID
11571
11616
  # 注意:此字段可能返回 null,表示取不到有效值。
11572
11617
  # @type CreateUserUin: String
11618
+ # @param TaskFolderPath: 任务文件夹路径
11619
+
11620
+ # 注意:
11621
+ # - 路径上不要填写任务节点类型;例如,在 一个名为 wf01 的工作流,“通用” 分类下,现在想要在这个分类下的 tf_01 文件夹下,新建一个 shell 任务;则 填写 /tf_01 即可;
11622
+ # - 如果 tf_01 文件夹不存在,则需要先创建这个文件夹(使用 CreateTaskFolder 接口)才能操作成功;
11623
+ # 注意:此字段可能返回 null,表示取不到有效值。
11624
+ # @type TaskFolderPath: String
11573
11625
 
11574
- attr_accessor :TaskId, :TaskTypeId, :WorkflowId, :TaskName, :TaskLatestVersionNo, :TaskLatestSubmitVersionNo, :WorkflowName, :Status, :Submit, :CreateTime, :LastUpdateTime, :LastUpdateUserName, :LastOpsTime, :LastOpsUserName, :OwnerUin, :TaskDescription, :UpdateUserUin, :CreateUserUin
11626
+ attr_accessor :TaskId, :TaskTypeId, :WorkflowId, :TaskName, :TaskLatestVersionNo, :TaskLatestSubmitVersionNo, :WorkflowName, :Status, :Submit, :CreateTime, :LastUpdateTime, :LastUpdateUserName, :LastOpsTime, :LastOpsUserName, :OwnerUin, :TaskDescription, :UpdateUserUin, :CreateUserUin, :TaskFolderPath
11575
11627
 
11576
- def initialize(taskid=nil, tasktypeid=nil, workflowid=nil, taskname=nil, tasklatestversionno=nil, tasklatestsubmitversionno=nil, workflowname=nil, status=nil, submit=nil, createtime=nil, lastupdatetime=nil, lastupdateusername=nil, lastopstime=nil, lastopsusername=nil, owneruin=nil, taskdescription=nil, updateuseruin=nil, createuseruin=nil)
11628
+ def initialize(taskid=nil, tasktypeid=nil, workflowid=nil, taskname=nil, tasklatestversionno=nil, tasklatestsubmitversionno=nil, workflowname=nil, status=nil, submit=nil, createtime=nil, lastupdatetime=nil, lastupdateusername=nil, lastopstime=nil, lastopsusername=nil, owneruin=nil, taskdescription=nil, updateuseruin=nil, createuseruin=nil, taskfolderpath=nil)
11577
11629
  @TaskId = taskid
11578
11630
  @TaskTypeId = tasktypeid
11579
11631
  @WorkflowId = workflowid
@@ -11592,6 +11644,7 @@ module TencentCloud
11592
11644
  @TaskDescription = taskdescription
11593
11645
  @UpdateUserUin = updateuseruin
11594
11646
  @CreateUserUin = createuseruin
11647
+ @TaskFolderPath = taskfolderpath
11595
11648
  end
11596
11649
 
11597
11650
  def deserialize(params)
@@ -11613,6 +11666,7 @@ module TencentCloud
11613
11666
  @TaskDescription = params['TaskDescription']
11614
11667
  @UpdateUserUin = params['UpdateUserUin']
11615
11668
  @CreateUserUin = params['CreateUserUin']
11669
+ @TaskFolderPath = params['TaskFolderPath']
11616
11670
  end
11617
11671
  end
11618
11672
 
@@ -12592,9 +12646,6 @@ module TencentCloud
12592
12646
  # @param ExecutionEndTime: 执行时间 右闭区间
12593
12647
  # 注意:此字段可能返回 null,表示取不到有效值。
12594
12648
  # @type ExecutionEndTime: String
12595
- # @param ScheduleRunType: 调度类型: 0 正常调度 1 空跑调度
12596
- # 注意:此字段可能返回 null,表示取不到有效值。
12597
- # @type ScheduleRunType: Integer
12598
12649
  # @param CalendarOpen: 日历调度 取值为 0 和 1, 1为打开,0为关闭,默认为0
12599
12650
  # 注意:此字段可能返回 null,表示取不到有效值。
12600
12651
  # @type CalendarOpen: String
@@ -12610,27 +12661,12 @@ module TencentCloud
12610
12661
  # @param UpstreamDependencyConfigList: 上游依赖数组
12611
12662
  # 注意:此字段可能返回 null,表示取不到有效值。
12612
12663
  # @type UpstreamDependencyConfigList: Array
12613
- # @param DownStreamDependencyConfigList: 下游依赖数组
12664
+ # @param DownstreamDependencyConfigList: 下游依赖数组
12614
12665
  # 注意:此字段可能返回 null,表示取不到有效值。
12615
- # @type DownStreamDependencyConfigList: Array
12666
+ # @type DownstreamDependencyConfigList: Array
12616
12667
  # @param EventListenerList: 事件数组
12617
12668
  # 注意:此字段可能返回 null,表示取不到有效值。
12618
12669
  # @type EventListenerList: Array
12619
- # @param RunPriority: 任务调度优先级 运行优先级 4高 5中 6低 , 默认:6
12620
- # 注意:此字段可能返回 null,表示取不到有效值。
12621
- # @type RunPriority: Integer
12622
- # @param RetryWait: 重试策略 重试等待时间,单位分钟: 默认: 5
12623
- # 注意:此字段可能返回 null,表示取不到有效值。
12624
- # @type RetryWait: Integer
12625
- # @param MaxRetryAttempts: 重试策略 最大尝试次数, 默认: 4
12626
- # 注意:此字段可能返回 null,表示取不到有效值。
12627
- # @type MaxRetryAttempts: Integer
12628
- # @param ExecutionTTL: 超时处理策略 运行耗时超时(单位:分钟)默认为 -1
12629
- # 注意:此字段可能返回 null,表示取不到有效值。
12630
- # @type ExecutionTTL: Integer
12631
- # @param WaitExecutionTotalTTL: 超时处理策略 等待总时长耗时超时(单位:分钟)默认为 -1
12632
- # 注意:此字段可能返回 null,表示取不到有效值。
12633
- # @type WaitExecutionTotalTTL: String
12634
12670
  # @param AllowRedoType: 重跑&补录配置, 默认为 ALL; , ALL 运行成功或失败后皆可重跑或补录, FAILURE 运行成功后不可重跑或补录,运行失败后可重跑或补录, NONE 运行成功或失败后皆不可重跑或补录;
12635
12671
  # 注意:此字段可能返回 null,表示取不到有效值。
12636
12672
  # @type AllowRedoType: String
@@ -12648,10 +12684,64 @@ module TencentCloud
12648
12684
  # * T_PLUS_1: T+1生成
12649
12685
  # 注意:此字段可能返回 null,表示取不到有效值。
12650
12686
  # @type InitStrategy: String
12651
-
12652
- attr_accessor :CycleType, :ScheduleTimeZone, :CrontabExpression, :StartTime, :EndTime, :ExecutionStartTime, :ExecutionEndTime, :ScheduleRunType, :CalendarOpen, :CalendarId, :CalendarName, :SelfDepend, :UpstreamDependencyConfigList, :DownStreamDependencyConfigList, :EventListenerList, :RunPriority, :RetryWait, :MaxRetryAttempts, :ExecutionTTL, :WaitExecutionTotalTTL, :AllowRedoType, :ParamTaskOutList, :ParamTaskInList, :TaskOutputRegistryList, :InitStrategy
12653
-
12654
- def initialize(cycletype=nil, scheduletimezone=nil, crontabexpression=nil, starttime=nil, endtime=nil, executionstarttime=nil, executionendtime=nil, scheduleruntype=nil, calendaropen=nil, calendarid=nil, calendarname=nil, selfdepend=nil, upstreamdependencyconfiglist=nil, downstreamdependencyconfiglist=nil, eventlistenerlist=nil, runpriority=nil, retrywait=nil, maxretryattempts=nil, executionttl=nil, waitexecutiontotalttl=nil, allowredotype=nil, paramtaskoutlist=nil, paramtaskinlist=nil, taskoutputregistrylist=nil, initstrategy=nil)
12687
+ # @param ScheduleRunType: 调度类型: 0 正常调度 1 空跑调度,默认为 0
12688
+ # 注意:此字段可能返回 null,表示取不到有效值。
12689
+ # @type ScheduleRunType: Integer
12690
+ # @param DownStreamDependencyConfigList: (废弃,建议使用 DownstreamDependencyConfigList)下游依赖数组
12691
+ # 注意:此字段可能返回 null,表示取不到有效值。
12692
+ # @type DownStreamDependencyConfigList: Array
12693
+ # @param RunPriority: 任务调度优先级 运行优先级 4高 5中 6低 , 默认:6
12694
+ # 注意:此字段可能返回 null,表示取不到有效值。
12695
+ # @type RunPriority: Integer
12696
+ # @param RetryWait: 重试策略 重试等待时间,单位分钟: 默认: 5
12697
+ # 注意:此字段可能返回 null,表示取不到有效值。
12698
+ # @type RetryWait: Integer
12699
+ # @param MaxRetryAttempts: 重试策略 最大尝试次数, 默认: 4
12700
+ # 注意:此字段可能返回 null,表示取不到有效值。
12701
+ # @type MaxRetryAttempts: Integer
12702
+ # @param ExecutionTTL: 超时处理策略 运行耗时超时(单位:分钟)默认为 -1
12703
+ # 注意:此字段可能返回 null,表示取不到有效值。
12704
+ # @type ExecutionTTL: Integer
12705
+ # @param WaitExecutionTotalTTL: 超时处理策略 等待总时长耗时超时(单位:分钟)默认为 -1
12706
+ # 注意:此字段可能返回 null,表示取不到有效值。
12707
+ # @type WaitExecutionTotalTTL: String
12708
+ # @param ScheduleType: 调度类型: 0 正常调度 1 空跑调度,默认为 0
12709
+ # 注意:此字段可能返回 null,表示取不到有效值。
12710
+ # @type ScheduleType: Integer
12711
+ # @param RunPriorityType: 任务调度优先级 运行优先级 4高 5中 6低 , 默认:6
12712
+ # 注意:此字段可能返回 null,表示取不到有效值。
12713
+ # @type RunPriorityType: Integer
12714
+ # @param RetryWaitMinute: 重试策略 重试等待时间,单位分钟: 默认: 5
12715
+ # 注意:此字段可能返回 null,表示取不到有效值。
12716
+ # @type RetryWaitMinute: Integer
12717
+ # @param MaxRetryNumber: 重试策略 最大尝试次数, 默认: 4
12718
+ # 注意:此字段可能返回 null,表示取不到有效值。
12719
+ # @type MaxRetryNumber: Integer
12720
+ # @param ExecutionTTLMinute: 超时处理策略 运行耗时超时(单位:分钟)默认为 -1
12721
+ # 注意:此字段可能返回 null,表示取不到有效值。
12722
+ # @type ExecutionTTLMinute: Integer
12723
+ # @param WaitExecutionTotalTTLMinute: 超时处理策略 等待总时长耗时超时(单位:分钟)默认为 -1
12724
+ # 注意:此字段可能返回 null,表示取不到有效值。
12725
+ # @type WaitExecutionTotalTTLMinute: Integer
12726
+
12727
+ attr_accessor :CycleType, :ScheduleTimeZone, :CrontabExpression, :StartTime, :EndTime, :ExecutionStartTime, :ExecutionEndTime, :CalendarOpen, :CalendarId, :CalendarName, :SelfDepend, :UpstreamDependencyConfigList, :DownstreamDependencyConfigList, :EventListenerList, :AllowRedoType, :ParamTaskOutList, :ParamTaskInList, :TaskOutputRegistryList, :InitStrategy, :ScheduleRunType, :DownStreamDependencyConfigList, :RunPriority, :RetryWait, :MaxRetryAttempts, :ExecutionTTL, :WaitExecutionTotalTTL, :ScheduleType, :RunPriorityType, :RetryWaitMinute, :MaxRetryNumber, :ExecutionTTLMinute, :WaitExecutionTotalTTLMinute
12728
+ extend Gem::Deprecate
12729
+ deprecate :ScheduleRunType, :none, 2025, 12
12730
+ deprecate :ScheduleRunType=, :none, 2025, 12
12731
+ deprecate :DownStreamDependencyConfigList, :none, 2025, 12
12732
+ deprecate :DownStreamDependencyConfigList=, :none, 2025, 12
12733
+ deprecate :RunPriority, :none, 2025, 12
12734
+ deprecate :RunPriority=, :none, 2025, 12
12735
+ deprecate :RetryWait, :none, 2025, 12
12736
+ deprecate :RetryWait=, :none, 2025, 12
12737
+ deprecate :MaxRetryAttempts, :none, 2025, 12
12738
+ deprecate :MaxRetryAttempts=, :none, 2025, 12
12739
+ deprecate :ExecutionTTL, :none, 2025, 12
12740
+ deprecate :ExecutionTTL=, :none, 2025, 12
12741
+ deprecate :WaitExecutionTotalTTL, :none, 2025, 12
12742
+ deprecate :WaitExecutionTotalTTL=, :none, 2025, 12
12743
+
12744
+ def initialize(cycletype=nil, scheduletimezone=nil, crontabexpression=nil, starttime=nil, endtime=nil, executionstarttime=nil, executionendtime=nil, calendaropen=nil, calendarid=nil, calendarname=nil, selfdepend=nil, upstreamdependencyconfiglist=nil, downstreamdependencyconfiglist=nil, eventlistenerlist=nil, allowredotype=nil, paramtaskoutlist=nil, paramtaskinlist=nil, taskoutputregistrylist=nil, initstrategy=nil, scheduleruntype=nil, runpriority=nil, retrywait=nil, maxretryattempts=nil, executionttl=nil, waitexecutiontotalttl=nil, scheduletype=nil, runprioritytype=nil, retrywaitminute=nil, maxretrynumber=nil, executionttlminute=nil, waitexecutiontotalttlminute=nil)
12655
12745
  @CycleType = cycletype
12656
12746
  @ScheduleTimeZone = scheduletimezone
12657
12747
  @CrontabExpression = crontabexpression
@@ -12659,24 +12749,30 @@ module TencentCloud
12659
12749
  @EndTime = endtime
12660
12750
  @ExecutionStartTime = executionstarttime
12661
12751
  @ExecutionEndTime = executionendtime
12662
- @ScheduleRunType = scheduleruntype
12663
12752
  @CalendarOpen = calendaropen
12664
12753
  @CalendarId = calendarid
12665
12754
  @CalendarName = calendarname
12666
12755
  @SelfDepend = selfdepend
12667
12756
  @UpstreamDependencyConfigList = upstreamdependencyconfiglist
12668
- @DownStreamDependencyConfigList = downstreamdependencyconfiglist
12757
+ @DownstreamDependencyConfigList = downstreamdependencyconfiglist
12669
12758
  @EventListenerList = eventlistenerlist
12670
- @RunPriority = runpriority
12671
- @RetryWait = retrywait
12672
- @MaxRetryAttempts = maxretryattempts
12673
- @ExecutionTTL = executionttl
12674
- @WaitExecutionTotalTTL = waitexecutiontotalttl
12675
12759
  @AllowRedoType = allowredotype
12676
12760
  @ParamTaskOutList = paramtaskoutlist
12677
12761
  @ParamTaskInList = paramtaskinlist
12678
12762
  @TaskOutputRegistryList = taskoutputregistrylist
12679
12763
  @InitStrategy = initstrategy
12764
+ @ScheduleRunType = scheduleruntype
12765
+ @RunPriority = runpriority
12766
+ @RetryWait = retrywait
12767
+ @MaxRetryAttempts = maxretryattempts
12768
+ @ExecutionTTL = executionttl
12769
+ @WaitExecutionTotalTTL = waitexecutiontotalttl
12770
+ @ScheduleType = scheduletype
12771
+ @RunPriorityType = runprioritytype
12772
+ @RetryWaitMinute = retrywaitminute
12773
+ @MaxRetryNumber = maxretrynumber
12774
+ @ExecutionTTLMinute = executionttlminute
12775
+ @WaitExecutionTotalTTLMinute = waitexecutiontotalttlminute
12680
12776
  end
12681
12777
 
12682
12778
  def deserialize(params)
@@ -12687,7 +12783,6 @@ module TencentCloud
12687
12783
  @EndTime = params['EndTime']
12688
12784
  @ExecutionStartTime = params['ExecutionStartTime']
12689
12785
  @ExecutionEndTime = params['ExecutionEndTime']
12690
- @ScheduleRunType = params['ScheduleRunType']
12691
12786
  @CalendarOpen = params['CalendarOpen']
12692
12787
  @CalendarId = params['CalendarId']
12693
12788
  @CalendarName = params['CalendarName']
@@ -12700,12 +12795,12 @@ module TencentCloud
12700
12795
  @UpstreamDependencyConfigList << dependencytaskbrief_tmp
12701
12796
  end
12702
12797
  end
12703
- unless params['DownStreamDependencyConfigList'].nil?
12704
- @DownStreamDependencyConfigList = []
12705
- params['DownStreamDependencyConfigList'].each do |i|
12798
+ unless params['DownstreamDependencyConfigList'].nil?
12799
+ @DownstreamDependencyConfigList = []
12800
+ params['DownstreamDependencyConfigList'].each do |i|
12706
12801
  dependencytaskbrief_tmp = DependencyTaskBrief.new
12707
12802
  dependencytaskbrief_tmp.deserialize(i)
12708
- @DownStreamDependencyConfigList << dependencytaskbrief_tmp
12803
+ @DownstreamDependencyConfigList << dependencytaskbrief_tmp
12709
12804
  end
12710
12805
  end
12711
12806
  unless params['EventListenerList'].nil?
@@ -12716,11 +12811,6 @@ module TencentCloud
12716
12811
  @EventListenerList << eventlistener_tmp
12717
12812
  end
12718
12813
  end
12719
- @RunPriority = params['RunPriority']
12720
- @RetryWait = params['RetryWait']
12721
- @MaxRetryAttempts = params['MaxRetryAttempts']
12722
- @ExecutionTTL = params['ExecutionTTL']
12723
- @WaitExecutionTotalTTL = params['WaitExecutionTotalTTL']
12724
12814
  @AllowRedoType = params['AllowRedoType']
12725
12815
  unless params['ParamTaskOutList'].nil?
12726
12816
  @ParamTaskOutList = []
@@ -12747,6 +12837,18 @@ module TencentCloud
12747
12837
  end
12748
12838
  end
12749
12839
  @InitStrategy = params['InitStrategy']
12840
+ @ScheduleRunType = params['ScheduleRunType']
12841
+ @RunPriority = params['RunPriority']
12842
+ @RetryWait = params['RetryWait']
12843
+ @MaxRetryAttempts = params['MaxRetryAttempts']
12844
+ @ExecutionTTL = params['ExecutionTTL']
12845
+ @WaitExecutionTotalTTL = params['WaitExecutionTotalTTL']
12846
+ @ScheduleType = params['ScheduleType']
12847
+ @RunPriorityType = params['RunPriorityType']
12848
+ @RetryWaitMinute = params['RetryWaitMinute']
12849
+ @MaxRetryNumber = params['MaxRetryNumber']
12850
+ @ExecutionTTLMinute = params['ExecutionTTLMinute']
12851
+ @WaitExecutionTotalTTLMinute = params['WaitExecutionTotalTTLMinute']
12750
12852
  end
12751
12853
  end
12752
12854
 
@@ -13466,7 +13568,7 @@ module TencentCloud
13466
13568
  # @param ResourceId: 资源文件ID,可通过ListResourceFiles接口获取
13467
13569
  # @type ResourceId: String
13468
13570
  # @param ResourceFile: - 上传文件及手填两种方式只能选择其一,如果两者均提供,取值顺序为文件>手填值
13469
- # - 手填值必须是存在的cos路径, /datastudio/resource/ 为固定前缀, projectId 为项目ID,需传入具体值, parentFolderPath为父文件夹路径, name为文件名, 手填值取值示例:
13571
+ # - 手填值必须是存在的cos路径, parentFolderPath为父文件夹路径, name为文件名, 手填值取值示例:
13470
13572
  # /datastudio/resource/projectId/parentFolderPath/name
13471
13573
  # @type ResourceFile: String
13472
13574
  # @param ResourceName: 资源名称, 尽可能和文件名保持一致
@@ -13775,19 +13877,25 @@ module TencentCloud
13775
13877
  # @type OwnerUin: String
13776
13878
  # @param TaskDescription: 任务描述
13777
13879
  # @type TaskDescription: String
13880
+ # @param TaskFolderPath: 注意:
13881
+ # - 路径上不要填写任务节点类型;例如,在 一个名为 wf01 的工作流,“通用” 分类下,现在想要在这个分类下的 tf_01 文件夹下,新建一个 shell 任务;则 填写 /tf_01 即可;
13882
+ # - 如果 tf_01 文件夹不存在,则需要先创建这个文件夹(使用 CreateTaskFolder 接口)才能操作成功;
13883
+ # @type TaskFolderPath: String
13778
13884
 
13779
- attr_accessor :TaskName, :OwnerUin, :TaskDescription
13885
+ attr_accessor :TaskName, :OwnerUin, :TaskDescription, :TaskFolderPath
13780
13886
 
13781
- def initialize(taskname=nil, owneruin=nil, taskdescription=nil)
13887
+ def initialize(taskname=nil, owneruin=nil, taskdescription=nil, taskfolderpath=nil)
13782
13888
  @TaskName = taskname
13783
13889
  @OwnerUin = owneruin
13784
13890
  @TaskDescription = taskdescription
13891
+ @TaskFolderPath = taskfolderpath
13785
13892
  end
13786
13893
 
13787
13894
  def deserialize(params)
13788
13895
  @TaskName = params['TaskName']
13789
13896
  @OwnerUin = params['OwnerUin']
13790
13897
  @TaskDescription = params['TaskDescription']
13898
+ @TaskFolderPath = params['TaskFolderPath']
13791
13899
  end
13792
13900
  end
13793
13901
 
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.1185
4
+ version: 3.0.1189
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-12-19 00:00:00.000000000 Z
11
+ date: 2025-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common