tencentcloud-sdk-wedata 3.0.1017 → 3.0.1018

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: 619b0e87fafcaccdf3d520d4423c1aad0d309588
4
- data.tar.gz: c154ca118c2b93bdffbeb8472c8eea4ce8657e39
3
+ metadata.gz: baaf76cd09c15de423a511350f1349f8ea92e410
4
+ data.tar.gz: 608b130f9f83f012ec0ad077860b1f345da4be4a
5
5
  SHA512:
6
- metadata.gz: d2f96041a42bdac5711df46ec7a8f8ad42743eb702f11273772d3a8c101c7fd7cd001dd44c5bb5fd8c2ed81bbab30cafcb5304c525e66b9decec0834ade5f045
7
- data.tar.gz: 7dc4f14ca36dc53b07a897346dec5286cecf5d31756e2c24306374b3850886196e30d5ed34c578ab13f4c4f0dc6394dcd42ebf8b26cf0d575dfff75a0e20c8ae
6
+ metadata.gz: 1849b1db91192a2c990452a488cdc5bdb13a4406d7ead9ecb51262727930bc8951d329c7aa97740355939c7cdbcf11cc274c124bbaad4c2531c420cc3e597e73
7
+ data.tar.gz: 22c6eb5fe374d1c19b5d3af668501d9601635bb61a39320771f9b4bf512d9c24e4d0f4aef6e0b492e3f970ac243169425648ebadb083a6248a5a35a46a265211
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1017
1
+ 3.0.1018
@@ -5782,6 +5782,30 @@ module TencentCloud
5782
5782
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5783
5783
  end
5784
5784
 
5785
+ # 手动任务触发运行
5786
+
5787
+ # @param request: Request instance for TriggerManualTasks.
5788
+ # @type request: :class:`Tencentcloud::wedata::V20210820::TriggerManualTasksRequest`
5789
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::TriggerManualTasksResponse`
5790
+ def TriggerManualTasks(request)
5791
+ body = send_request('TriggerManualTasks', request.serialize)
5792
+ response = JSON.parse(body)
5793
+ if response['Response'].key?('Error') == false
5794
+ model = TriggerManualTasksResponse.new
5795
+ model.deserialize(response['Response'])
5796
+ model
5797
+ else
5798
+ code = response['Response']['Error']['Code']
5799
+ message = response['Response']['Error']['Message']
5800
+ reqid = response['Response']['RequestId']
5801
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
5802
+ end
5803
+ rescue TencentCloud::Common::TencentCloudSDKException => e
5804
+ raise e
5805
+ rescue StandardError => e
5806
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
5807
+ end
5808
+
5785
5809
  # 解锁集成任务
5786
5810
 
5787
5811
  # @param request: Request instance for UnlockIntegrationTask.
@@ -19531,6 +19531,28 @@ module TencentCloud
19531
19531
  end
19532
19532
  end
19533
19533
 
19534
+ # 键值对
19535
+ class KVPair < TencentCloud::Common::AbstractModel
19536
+ # @param K: 键名
19537
+ # 注意:此字段可能返回 null,表示取不到有效值。
19538
+ # @type K: String
19539
+ # @param V: 值
19540
+ # 注意:此字段可能返回 null,表示取不到有效值。
19541
+ # @type V: String
19542
+
19543
+ attr_accessor :K, :V
19544
+
19545
+ def initialize(k=nil, v=nil)
19546
+ @K = k
19547
+ @V = v
19548
+ end
19549
+
19550
+ def deserialize(params)
19551
+ @K = params['K']
19552
+ @V = params['V']
19553
+ end
19554
+ end
19555
+
19534
19556
  # KillOpsMakePlanInstances请求参数结构体
19535
19557
  class KillOpsMakePlanInstancesRequest < TencentCloud::Common::AbstractModel
19536
19558
  # @param ProjectId: 项目ID
@@ -20280,6 +20302,104 @@ module TencentCloud
20280
20302
  end
20281
20303
  end
20282
20304
 
20305
+ # 手动工作流触发运行记录实体
20306
+ class ManualTriggerRecordOpsDto < TencentCloud::Common::AbstractModel
20307
+ # @param TriggerId: 运行触发记录ID
20308
+ # 注意:此字段可能返回 null,表示取不到有效值。
20309
+ # @type TriggerId: String
20310
+ # @param TriggerName: 用户提交运行时配置的运行名称
20311
+ # 注意:此字段可能返回 null,表示取不到有效值。
20312
+ # @type TriggerName: String
20313
+ # @param Remark: 用户提交运行的备注
20314
+ # 注意:此字段可能返回 null,表示取不到有效值。
20315
+ # @type Remark: String
20316
+ # @param DatetimeList: 数据时间列表
20317
+ # 注意:此字段可能返回 null,表示取不到有效值。
20318
+ # @type DatetimeList: Array
20319
+ # @param TaskCnt: 任务数
20320
+ # 注意:此字段可能返回 null,表示取不到有效值。
20321
+ # @type TaskCnt: Integer
20322
+ # @param InstanceCnt: 实例数
20323
+ # 注意:此字段可能返回 null,表示取不到有效值。
20324
+ # @type InstanceCnt: Integer
20325
+ # @param FinishedInstanceCnt: 已完成的实例数
20326
+ # 注意:此字段可能返回 null,表示取不到有效值。
20327
+ # @type FinishedInstanceCnt: Integer
20328
+ # @param SuccessInstanceCnt: 成功的实例数
20329
+ # 注意:此字段可能返回 null,表示取不到有效值。
20330
+ # @type SuccessInstanceCnt: Integer
20331
+ # @param Status: 记录运行状态
20332
+ # INIT, RUNNING, FINISHED
20333
+ # 注意:此字段可能返回 null,表示取不到有效值。
20334
+ # @type Status: String
20335
+ # @param TriggerParams: 用户提交运行时的入参,主要用于前端反显和记录原始提交信息
20336
+ # 注意:此字段可能返回 null,表示取不到有效值。
20337
+ # @type TriggerParams: String
20338
+ # @param OwnerUin: 用户主账号ID
20339
+ # 注意:此字段可能返回 null,表示取不到有效值。
20340
+ # @type OwnerUin: String
20341
+ # @param UserUin: 用户ID
20342
+ # 注意:此字段可能返回 null,表示取不到有效值。
20343
+ # @type UserUin: String
20344
+ # @param UserName: 用户展示名
20345
+ # 注意:此字段可能返回 null,表示取不到有效值。
20346
+ # @type UserName: String
20347
+ # @param TenantId: 租户ID
20348
+ # 注意:此字段可能返回 null,表示取不到有效值。
20349
+ # @type TenantId: String
20350
+ # @param ProjectId: 项目ID
20351
+ # 注意:此字段可能返回 null,表示取不到有效值。
20352
+ # @type ProjectId: String
20353
+ # @param CreateTime: 创建时间
20354
+ # 注意:此字段可能返回 null,表示取不到有效值。
20355
+ # @type CreateTime: String
20356
+ # @param ScheduleTimeZone: 数据实例时间的时区
20357
+ # 注意:此字段可能返回 null,表示取不到有效值。
20358
+ # @type ScheduleTimeZone: String
20359
+
20360
+ attr_accessor :TriggerId, :TriggerName, :Remark, :DatetimeList, :TaskCnt, :InstanceCnt, :FinishedInstanceCnt, :SuccessInstanceCnt, :Status, :TriggerParams, :OwnerUin, :UserUin, :UserName, :TenantId, :ProjectId, :CreateTime, :ScheduleTimeZone
20361
+
20362
+ def initialize(triggerid=nil, triggername=nil, remark=nil, datetimelist=nil, taskcnt=nil, instancecnt=nil, finishedinstancecnt=nil, successinstancecnt=nil, status=nil, triggerparams=nil, owneruin=nil, useruin=nil, username=nil, tenantid=nil, projectid=nil, createtime=nil, scheduletimezone=nil)
20363
+ @TriggerId = triggerid
20364
+ @TriggerName = triggername
20365
+ @Remark = remark
20366
+ @DatetimeList = datetimelist
20367
+ @TaskCnt = taskcnt
20368
+ @InstanceCnt = instancecnt
20369
+ @FinishedInstanceCnt = finishedinstancecnt
20370
+ @SuccessInstanceCnt = successinstancecnt
20371
+ @Status = status
20372
+ @TriggerParams = triggerparams
20373
+ @OwnerUin = owneruin
20374
+ @UserUin = useruin
20375
+ @UserName = username
20376
+ @TenantId = tenantid
20377
+ @ProjectId = projectid
20378
+ @CreateTime = createtime
20379
+ @ScheduleTimeZone = scheduletimezone
20380
+ end
20381
+
20382
+ def deserialize(params)
20383
+ @TriggerId = params['TriggerId']
20384
+ @TriggerName = params['TriggerName']
20385
+ @Remark = params['Remark']
20386
+ @DatetimeList = params['DatetimeList']
20387
+ @TaskCnt = params['TaskCnt']
20388
+ @InstanceCnt = params['InstanceCnt']
20389
+ @FinishedInstanceCnt = params['FinishedInstanceCnt']
20390
+ @SuccessInstanceCnt = params['SuccessInstanceCnt']
20391
+ @Status = params['Status']
20392
+ @TriggerParams = params['TriggerParams']
20393
+ @OwnerUin = params['OwnerUin']
20394
+ @UserUin = params['UserUin']
20395
+ @UserName = params['UserName']
20396
+ @TenantId = params['TenantId']
20397
+ @ProjectId = params['ProjectId']
20398
+ @CreateTime = params['CreateTime']
20399
+ @ScheduleTimeZone = params['ScheduleTimeZone']
20400
+ end
20401
+ end
20402
+
20283
20403
  # ModifyApproveStatus请求参数结构体
20284
20404
  class ModifyApproveStatusRequest < TencentCloud::Common::AbstractModel
20285
20405
  # @param ApproveIds: 审批单ids
@@ -30561,6 +30681,107 @@ module TencentCloud
30561
30681
  end
30562
30682
  end
30563
30683
 
30684
+ # TriggerManualTasks请求参数结构体
30685
+ class TriggerManualTasksRequest < TencentCloud::Common::AbstractModel
30686
+ # @param ProjectId: 项目ID
30687
+ # @type ProjectId: String
30688
+ # @param TriggerName: 触发运行名称
30689
+ # @type TriggerName: String
30690
+ # @param TriggerScope: 运行范围 ENTIRE_WORKFLOW or SPECIFIED_TASK
30691
+ # @type TriggerScope: String
30692
+ # @param DataTimeList: 运行数据时间列表
30693
+ # @type DataTimeList: Array
30694
+ # @param WorkflowId: 工作流ID
30695
+ # @type WorkflowId: String
30696
+ # @param Remark: 备注
30697
+ # @type Remark: String
30698
+ # @param TaskIds: 需要运行的任务列表
30699
+ # TriggerScope=ENTIRE_WORKFLOW 时无需传此参数,TriggerScope=SPECIFIED_TASK此参数必传
30700
+ # @type TaskIds: Array
30701
+ # @param SchedulerResourceGroup: 用户提交运行时指定的调度资源组,未指定时使用任务配置的调度资源组
30702
+ # @type SchedulerResourceGroup: String
30703
+ # @param IntegrationResourceGroup: 用户提交运行时指定的集成资源组,未指定时使用任务配置的集成资源组
30704
+ # @type IntegrationResourceGroup: String
30705
+ # @param ExecOrder: 执行顺序 ASC、RAND、DESC
30706
+ # @type ExecOrder: String
30707
+ # @param CustomParams: 自定义参数,最高优先级
30708
+ # @type CustomParams: Array
30709
+ # @param ExtraParams: 页面反显使用,无业务含义
30710
+ # @type ExtraParams: String
30711
+ # @param ScheduleTimeZone: 实例时间的时区
30712
+ # @type ScheduleTimeZone: String
30713
+
30714
+ attr_accessor :ProjectId, :TriggerName, :TriggerScope, :DataTimeList, :WorkflowId, :Remark, :TaskIds, :SchedulerResourceGroup, :IntegrationResourceGroup, :ExecOrder, :CustomParams, :ExtraParams, :ScheduleTimeZone
30715
+
30716
+ def initialize(projectid=nil, triggername=nil, triggerscope=nil, datatimelist=nil, workflowid=nil, remark=nil, taskids=nil, schedulerresourcegroup=nil, integrationresourcegroup=nil, execorder=nil, customparams=nil, extraparams=nil, scheduletimezone=nil)
30717
+ @ProjectId = projectid
30718
+ @TriggerName = triggername
30719
+ @TriggerScope = triggerscope
30720
+ @DataTimeList = datatimelist
30721
+ @WorkflowId = workflowid
30722
+ @Remark = remark
30723
+ @TaskIds = taskids
30724
+ @SchedulerResourceGroup = schedulerresourcegroup
30725
+ @IntegrationResourceGroup = integrationresourcegroup
30726
+ @ExecOrder = execorder
30727
+ @CustomParams = customparams
30728
+ @ExtraParams = extraparams
30729
+ @ScheduleTimeZone = scheduletimezone
30730
+ end
30731
+
30732
+ def deserialize(params)
30733
+ @ProjectId = params['ProjectId']
30734
+ @TriggerName = params['TriggerName']
30735
+ @TriggerScope = params['TriggerScope']
30736
+ @DataTimeList = params['DataTimeList']
30737
+ @WorkflowId = params['WorkflowId']
30738
+ @Remark = params['Remark']
30739
+ @TaskIds = params['TaskIds']
30740
+ @SchedulerResourceGroup = params['SchedulerResourceGroup']
30741
+ @IntegrationResourceGroup = params['IntegrationResourceGroup']
30742
+ @ExecOrder = params['ExecOrder']
30743
+ unless params['CustomParams'].nil?
30744
+ @CustomParams = []
30745
+ params['CustomParams'].each do |i|
30746
+ kvpair_tmp = KVPair.new
30747
+ kvpair_tmp.deserialize(i)
30748
+ @CustomParams << kvpair_tmp
30749
+ end
30750
+ end
30751
+ @ExtraParams = params['ExtraParams']
30752
+ @ScheduleTimeZone = params['ScheduleTimeZone']
30753
+ end
30754
+ end
30755
+
30756
+ # TriggerManualTasks返回参数结构体
30757
+ class TriggerManualTasksResponse < TencentCloud::Common::AbstractModel
30758
+ # @param RequestFromSource: 请求来源,WEB 前端;CLIENT 客户端
30759
+ # 注意:此字段可能返回 null,表示取不到有效值。
30760
+ # @type RequestFromSource: String
30761
+ # @param Data: 详情结果
30762
+ # 注意:此字段可能返回 null,表示取不到有效值。
30763
+ # @type Data: :class:`Tencentcloud::Wedata.v20210820.models.ManualTriggerRecordOpsDto`
30764
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
30765
+ # @type RequestId: String
30766
+
30767
+ attr_accessor :RequestFromSource, :Data, :RequestId
30768
+
30769
+ def initialize(requestfromsource=nil, data=nil, requestid=nil)
30770
+ @RequestFromSource = requestfromsource
30771
+ @Data = data
30772
+ @RequestId = requestid
30773
+ end
30774
+
30775
+ def deserialize(params)
30776
+ @RequestFromSource = params['RequestFromSource']
30777
+ unless params['Data'].nil?
30778
+ @Data = ManualTriggerRecordOpsDto.new
30779
+ @Data.deserialize(params['Data'])
30780
+ end
30781
+ @RequestId = params['RequestId']
30782
+ end
30783
+ end
30784
+
30564
30785
  # UnlockIntegrationTask请求参数结构体
30565
30786
  class UnlockIntegrationTaskRequest < TencentCloud::Common::AbstractModel
30566
30787
  # @param TaskId: 任务id
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.1017
4
+ version: 3.0.1018
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-12 00:00:00.000000000 Z
11
+ date: 2025-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20210820/models.rb
37
- - lib/v20210820/client.rb
38
36
  - lib/tencentcloud-sdk-wedata.rb
37
+ - lib/v20210820/client.rb
38
+ - lib/v20210820/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: