tencentcloud-sdk-wedata 3.0.845 → 3.0.847

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 57fd919a0319c6e3210392095c96b54a2a919723
4
- data.tar.gz: c39915d51d2b4f2cccf88a4defb00676946ad352
3
+ metadata.gz: 52e70089c1110bd7b749d3fbefc689582cdb904d
4
+ data.tar.gz: 91cd9a647de4cdd624cd363caa0120b1d513021b
5
5
  SHA512:
6
- metadata.gz: 041a7ff2557ef7bc025616564063bfe13b04eb507e5029656ddbc44f9cd9806148d49266883ce7f0d22266f56d2866c04c26d1f3ef49430f36367ffa1cf47c6d
7
- data.tar.gz: 6226d4446169c10e1663e8aad9fa5cd671f572b9d5d314661b48b86efd7d97cc4ebf476f70db171c6d586b9887cface210283806f9f4ba8d96906a317429b2d6
6
+ metadata.gz: 6586371212c4448efdc33101905f7fbdfae9cf051296f0435ba0dbc790ac380042e680ca5eb7eb79581de0beeea525230a093d4c0b70a8bffedc818440bcfe12
7
+ data.tar.gz: 9aef7f33472278e55afc3a7130b5ec21d0a7fa2a16624f4a6e43ff36a0c917df2433e9eeefd6ac00d829d73396d07b54ed8031dc7311a1ce774d553d621c4291
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.845
1
+ 3.0.847
@@ -4016,7 +4016,7 @@ module TencentCloud
4016
4016
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4017
4017
  end
4018
4018
 
4019
- # 实例诊断
4019
+ # 实例诊断,用于诊断 INITIAL、DEPENDENCE、ALLOCATED、LAUNCHED、EVENT_LISTENING、BEFORE_ASPECT、EXPIRED、FAILED状态的实例
4020
4020
 
4021
4021
  # @param request: Request instance for DiagnosePro.
4022
4022
  # @type request: :class:`Tencentcloud::wedata::V20210820::DiagnoseProRequest`
@@ -4763,6 +4763,30 @@ module TencentCloud
4763
4763
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4764
4764
  end
4765
4765
 
4766
+ # 编排空间-工作流-移动任务到工作流文件夹
4767
+
4768
+ # @param request: Request instance for MoveTasksToFolder.
4769
+ # @type request: :class:`Tencentcloud::wedata::V20210820::MoveTasksToFolderRequest`
4770
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::MoveTasksToFolderResponse`
4771
+ def MoveTasksToFolder(request)
4772
+ body = send_request('MoveTasksToFolder', request.serialize)
4773
+ response = JSON.parse(body)
4774
+ if response['Response'].key?('Error') == false
4775
+ model = MoveTasksToFolderResponse.new
4776
+ model.deserialize(response['Response'])
4777
+ model
4778
+ else
4779
+ code = response['Response']['Error']['Code']
4780
+ message = response['Response']['Error']['Message']
4781
+ reqid = response['Response']['RequestId']
4782
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4783
+ end
4784
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4785
+ raise e
4786
+ rescue StandardError => e
4787
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4788
+ end
4789
+
4766
4790
  # <p style="color:red;">[注意:该版本只满足广州区部分白名单客户使用]</p>
4767
4791
  # 注册事件
4768
4792
 
@@ -12876,6 +12876,10 @@ module TencentCloud
12876
12876
 
12877
12877
  # DiagnosePro请求参数结构体
12878
12878
  class DiagnoseProRequest < TencentCloud::Common::AbstractModel
12879
+ # @param SearchCondition: 查询条件(当前接口TaskId和CurRunDate需要填充在该字段方可诊断)
12880
+ # @type SearchCondition: :class:`Tencentcloud::Wedata.v20210820.models.InstanceApiOpsRequest`
12881
+ # @param ProjectId: 项目id
12882
+ # @type ProjectId: String
12879
12883
  # @param Instances: 实例列表
12880
12884
  # @type Instances: Array
12881
12885
  # @param CheckFather: 检查父任务类型, true: 检查父任务; false: 不检查父任务
@@ -12888,16 +12892,12 @@ module TencentCloud
12888
12892
  # @type SkipEventListening: Boolean
12889
12893
  # @param SonInstanceType: 下游实例范围 1: 所在工作流 2: 所在项目 3: 所有跨工作流依赖的项目
12890
12894
  # @type SonInstanceType: String
12891
- # @param SearchCondition: 查询条件(当前接口TaskId和CurRunDate需要填充在该字段方可诊断)
12892
- # @type SearchCondition: :class:`Tencentcloud::Wedata.v20210820.models.InstanceApiOpsRequest`
12893
12895
  # @param OptType: 访问类型
12894
12896
  # @type OptType: String
12895
12897
  # @param OperatorName: 操作者名称
12896
12898
  # @type OperatorName: String
12897
12899
  # @param OperatorId: 操作者id
12898
12900
  # @type OperatorId: String
12899
- # @param ProjectId: 项目id
12900
- # @type ProjectId: String
12901
12901
  # @param ProjectIdent: 项目标志
12902
12902
  # @type ProjectIdent: String
12903
12903
  # @param ProjectName: 项目名称
@@ -12913,20 +12913,20 @@ module TencentCloud
12913
12913
  # @param IsCount: 是否计算总数
12914
12914
  # @type IsCount: Boolean
12915
12915
 
12916
- attr_accessor :Instances, :CheckFather, :RerunType, :DependentWay, :SkipEventListening, :SonInstanceType, :SearchCondition, :OptType, :OperatorName, :OperatorId, :ProjectId, :ProjectIdent, :ProjectName, :PageIndex, :PageSize, :Count, :RequestBaseInfo, :IsCount
12916
+ attr_accessor :SearchCondition, :ProjectId, :Instances, :CheckFather, :RerunType, :DependentWay, :SkipEventListening, :SonInstanceType, :OptType, :OperatorName, :OperatorId, :ProjectIdent, :ProjectName, :PageIndex, :PageSize, :Count, :RequestBaseInfo, :IsCount
12917
12917
 
12918
- def initialize(instances=nil, checkfather=nil, reruntype=nil, dependentway=nil, skipeventlistening=nil, soninstancetype=nil, searchcondition=nil, opttype=nil, operatorname=nil, operatorid=nil, projectid=nil, projectident=nil, projectname=nil, pageindex=nil, pagesize=nil, count=nil, requestbaseinfo=nil, iscount=nil)
12918
+ def initialize(searchcondition=nil, projectid=nil, instances=nil, checkfather=nil, reruntype=nil, dependentway=nil, skipeventlistening=nil, soninstancetype=nil, opttype=nil, operatorname=nil, operatorid=nil, projectident=nil, projectname=nil, pageindex=nil, pagesize=nil, count=nil, requestbaseinfo=nil, iscount=nil)
12919
+ @SearchCondition = searchcondition
12920
+ @ProjectId = projectid
12919
12921
  @Instances = instances
12920
12922
  @CheckFather = checkfather
12921
12923
  @RerunType = reruntype
12922
12924
  @DependentWay = dependentway
12923
12925
  @SkipEventListening = skipeventlistening
12924
12926
  @SonInstanceType = soninstancetype
12925
- @SearchCondition = searchcondition
12926
12927
  @OptType = opttype
12927
12928
  @OperatorName = operatorname
12928
12929
  @OperatorId = operatorid
12929
- @ProjectId = projectid
12930
12930
  @ProjectIdent = projectident
12931
12931
  @ProjectName = projectname
12932
12932
  @PageIndex = pageindex
@@ -12937,6 +12937,11 @@ module TencentCloud
12937
12937
  end
12938
12938
 
12939
12939
  def deserialize(params)
12940
+ unless params['SearchCondition'].nil?
12941
+ @SearchCondition = InstanceApiOpsRequest.new
12942
+ @SearchCondition.deserialize(params['SearchCondition'])
12943
+ end
12944
+ @ProjectId = params['ProjectId']
12940
12945
  unless params['Instances'].nil?
12941
12946
  @Instances = []
12942
12947
  params['Instances'].each do |i|
@@ -12950,14 +12955,9 @@ module TencentCloud
12950
12955
  @DependentWay = params['DependentWay']
12951
12956
  @SkipEventListening = params['SkipEventListening']
12952
12957
  @SonInstanceType = params['SonInstanceType']
12953
- unless params['SearchCondition'].nil?
12954
- @SearchCondition = InstanceApiOpsRequest.new
12955
- @SearchCondition.deserialize(params['SearchCondition'])
12956
- end
12957
12958
  @OptType = params['OptType']
12958
12959
  @OperatorName = params['OperatorName']
12959
12960
  @OperatorId = params['OperatorId']
12960
- @ProjectId = params['ProjectId']
12961
12961
  @ProjectIdent = params['ProjectIdent']
12962
12962
  @ProjectName = params['ProjectName']
12963
12963
  @PageIndex = params['PageIndex']
@@ -18660,6 +18660,59 @@ module TencentCloud
18660
18660
  end
18661
18661
  end
18662
18662
 
18663
+ # MoveTasksToFolder请求参数结构体
18664
+ class MoveTasksToFolderRequest < TencentCloud::Common::AbstractModel
18665
+ # @param ProjectId: 项目Id
18666
+ # @type ProjectId: String
18667
+ # @param WorkflowId: 工作流ID
18668
+ # @type WorkflowId: String
18669
+ # @param TaskFolderId: 任务文件夹ID
18670
+ # @type TaskFolderId: String
18671
+ # @param TaskIds: 任务ID
18672
+ # @type TaskIds: Array
18673
+ # @param VirtualTaskIds: 虚拟任务ID
18674
+ # @type VirtualTaskIds: Array
18675
+
18676
+ attr_accessor :ProjectId, :WorkflowId, :TaskFolderId, :TaskIds, :VirtualTaskIds
18677
+
18678
+ def initialize(projectid=nil, workflowid=nil, taskfolderid=nil, taskids=nil, virtualtaskids=nil)
18679
+ @ProjectId = projectid
18680
+ @WorkflowId = workflowid
18681
+ @TaskFolderId = taskfolderid
18682
+ @TaskIds = taskids
18683
+ @VirtualTaskIds = virtualtaskids
18684
+ end
18685
+
18686
+ def deserialize(params)
18687
+ @ProjectId = params['ProjectId']
18688
+ @WorkflowId = params['WorkflowId']
18689
+ @TaskFolderId = params['TaskFolderId']
18690
+ @TaskIds = params['TaskIds']
18691
+ @VirtualTaskIds = params['VirtualTaskIds']
18692
+ end
18693
+ end
18694
+
18695
+ # MoveTasksToFolder返回参数结构体
18696
+ class MoveTasksToFolderResponse < TencentCloud::Common::AbstractModel
18697
+ # @param Data: true代表成功
18698
+ # 注意:此字段可能返回 null,表示取不到有效值。
18699
+ # @type Data: Boolean
18700
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18701
+ # @type RequestId: String
18702
+
18703
+ attr_accessor :Data, :RequestId
18704
+
18705
+ def initialize(data=nil, requestid=nil)
18706
+ @Data = data
18707
+ @RequestId = requestid
18708
+ end
18709
+
18710
+ def deserialize(params)
18711
+ @Data = params['Data']
18712
+ @RequestId = params['RequestId']
18713
+ end
18714
+ end
18715
+
18663
18716
  # 离线实例
18664
18717
  class OfflineInstance < TencentCloud::Common::AbstractModel
18665
18718
  # @param CreateUin: 创建账号sub uin
@@ -19105,7 +19158,7 @@ module TencentCloud
19105
19158
  # @type LinksList: Array
19106
19159
  # @param CirculateTaskList: 画布循环依赖任务信息
19107
19160
  # 注意:此字段可能返回 null,表示取不到有效值。
19108
- # @type CirculateTaskList: :class:`Tencentcloud::Wedata.v20210820.models.OpsTaskCanvasDto`
19161
+ # @type CirculateTaskList: Array
19109
19162
 
19110
19163
  attr_accessor :TasksList, :LinksList, :CirculateTaskList
19111
19164
 
@@ -19133,8 +19186,12 @@ module TencentCloud
19133
19186
  end
19134
19187
  end
19135
19188
  unless params['CirculateTaskList'].nil?
19136
- @CirculateTaskList = OpsTaskCanvasDto.new
19137
- @CirculateTaskList.deserialize(params['CirculateTaskList'])
19189
+ @CirculateTaskList = []
19190
+ params['CirculateTaskList'].each do |i|
19191
+ opstaskcanvasdto_tmp = OpsTaskCanvasDto.new
19192
+ opstaskcanvasdto_tmp.deserialize(i)
19193
+ @CirculateTaskList << opstaskcanvasdto_tmp
19194
+ end
19138
19195
  end
19139
19196
  end
19140
19197
  end
@@ -25015,10 +25072,13 @@ module TencentCloud
25015
25072
  # @param LarkWebHooks: 飞书群Hook地址,多个hook地址使用,隔开
25016
25073
  # 注意:此字段可能返回 null,表示取不到有效值。
25017
25074
  # @type LarkWebHooks: String
25075
+ # @param DingDingWebHooks: 钉钉群Hook地址,多个hook地址使用,隔开
25076
+ # 注意:此字段可能返回 null,表示取不到有效值。
25077
+ # @type DingDingWebHooks: String
25018
25078
 
25019
- 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
25079
+ 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
25020
25080
 
25021
- 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)
25081
+ 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)
25022
25082
  @TaskId = taskid
25023
25083
  @RegularName = regularname
25024
25084
  @RegularStatus = regularstatus
@@ -25051,6 +25111,7 @@ module TencentCloud
25051
25111
  @LatestAlarmTime = latestalarmtime
25052
25112
  @Description = description
25053
25113
  @LarkWebHooks = larkwebhooks
25114
+ @DingDingWebHooks = dingdingwebhooks
25054
25115
  end
25055
25116
 
25056
25117
  def deserialize(params)
@@ -25100,6 +25161,7 @@ module TencentCloud
25100
25161
  @LatestAlarmTime = params['LatestAlarmTime']
25101
25162
  @Description = params['Description']
25102
25163
  @LarkWebHooks = params['LarkWebHooks']
25164
+ @DingDingWebHooks = params['DingDingWebHooks']
25103
25165
  end
25104
25166
  end
25105
25167
 
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.845
4
+ version: 3.0.847
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-17 00:00:00.000000000 Z
11
+ date: 2024-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common