tencentcloud-sdk-wedata 3.0.1039 → 3.0.1040
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 +72 -0
- data/lib/v20210820/models.rb +975 -22
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9202099ff171439701c38d2ceb0f0af4479291b9
|
4
|
+
data.tar.gz: e921548b6db6f4c8964f790483a1991900cb4a6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a3e77b88575d7b722a99ee14269fbfa588dde3e3312d8086a2924c2e455e7e15a51795215a4fdd4f67e5a88a157bd6407942e7b43033dd12b5ab57e63dd3872
|
7
|
+
data.tar.gz: d06763c9365ad3e4b38f9bd91dbc2e9209a8b7e87bc19f0b4bf0cf8b746eb564a373666dcac8b1186aacc730535e4efc7a20916a760c6fbea3a2195c40319a10
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1040
|
data/lib/v20210820/client.rb
CHANGED
@@ -4646,6 +4646,30 @@ module TencentCloud
|
|
4646
4646
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4647
4647
|
end
|
4648
4648
|
|
4649
|
+
# 获取实例列表
|
4650
|
+
|
4651
|
+
# @param request: Request instance for GetInstanceLog.
|
4652
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::GetInstanceLogRequest`
|
4653
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::GetInstanceLogResponse`
|
4654
|
+
def GetInstanceLog(request)
|
4655
|
+
body = send_request('GetInstanceLog', request.serialize)
|
4656
|
+
response = JSON.parse(body)
|
4657
|
+
if response['Response'].key?('Error') == false
|
4658
|
+
model = GetInstanceLogResponse.new
|
4659
|
+
model.deserialize(response['Response'])
|
4660
|
+
model
|
4661
|
+
else
|
4662
|
+
code = response['Response']['Error']['Code']
|
4663
|
+
message = response['Response']['Error']['Message']
|
4664
|
+
reqid = response['Response']['RequestId']
|
4665
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4666
|
+
end
|
4667
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4668
|
+
raise e
|
4669
|
+
rescue StandardError => e
|
4670
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4671
|
+
end
|
4672
|
+
|
4649
4673
|
# 提取数据集成节点字段Schema
|
4650
4674
|
|
4651
4675
|
# @param request: Request instance for GetIntegrationNodeColumnSchema.
|
@@ -4718,6 +4742,30 @@ module TencentCloud
|
|
4718
4742
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4719
4743
|
end
|
4720
4744
|
|
4745
|
+
# 获取实例列表
|
4746
|
+
|
4747
|
+
# @param request: Request instance for GetTaskInstance.
|
4748
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::GetTaskInstanceRequest`
|
4749
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::GetTaskInstanceResponse`
|
4750
|
+
def GetTaskInstance(request)
|
4751
|
+
body = send_request('GetTaskInstance', request.serialize)
|
4752
|
+
response = JSON.parse(body)
|
4753
|
+
if response['Response'].key?('Error') == false
|
4754
|
+
model = GetTaskInstanceResponse.new
|
4755
|
+
model.deserialize(response['Response'])
|
4756
|
+
model
|
4757
|
+
else
|
4758
|
+
code = response['Response']['Error']['Code']
|
4759
|
+
message = response['Response']['Error']['Message']
|
4760
|
+
reqid = response['Response']['RequestId']
|
4761
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4762
|
+
end
|
4763
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4764
|
+
raise e
|
4765
|
+
rescue StandardError => e
|
4766
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4767
|
+
end
|
4768
|
+
|
4721
4769
|
# 资源管理-判断资源文件是否存在
|
4722
4770
|
|
4723
4771
|
# @param request: Request instance for JudgeResourceFile.
|
@@ -4790,6 +4838,30 @@ module TencentCloud
|
|
4790
4838
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4791
4839
|
end
|
4792
4840
|
|
4841
|
+
# 获取实例列表
|
4842
|
+
|
4843
|
+
# @param request: Request instance for ListInstances.
|
4844
|
+
# @type request: :class:`Tencentcloud::wedata::V20210820::ListInstancesRequest`
|
4845
|
+
# @rtype: :class:`Tencentcloud::wedata::V20210820::ListInstancesResponse`
|
4846
|
+
def ListInstances(request)
|
4847
|
+
body = send_request('ListInstances', request.serialize)
|
4848
|
+
response = JSON.parse(body)
|
4849
|
+
if response['Response'].key?('Error') == false
|
4850
|
+
model = ListInstancesResponse.new
|
4851
|
+
model.deserialize(response['Response'])
|
4852
|
+
model
|
4853
|
+
else
|
4854
|
+
code = response['Response']['Error']['Code']
|
4855
|
+
message = response['Response']['Error']['Message']
|
4856
|
+
reqid = response['Response']['RequestId']
|
4857
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4858
|
+
end
|
4859
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4860
|
+
raise e
|
4861
|
+
rescue StandardError => e
|
4862
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4863
|
+
end
|
4864
|
+
|
4793
4865
|
# 锁定集成任务
|
4794
4866
|
|
4795
4867
|
# @param request: Request instance for LockIntegrationTask.
|
data/lib/v20210820/models.rb
CHANGED
@@ -9922,14 +9922,16 @@ module TencentCloud
|
|
9922
9922
|
# @type InstanceLifeDetailDtoList: Array
|
9923
9923
|
# @param CurrentLifeRound: 当前生命周期数
|
9924
9924
|
# @type CurrentLifeRound: Integer
|
9925
|
+
# @param MaxLifeRound: 最大生命周期数
|
9926
|
+
# @type MaxLifeRound: Integer
|
9925
9927
|
# @param Tries: 当前生命周期重试次数
|
9926
9928
|
# @type Tries: Integer
|
9927
9929
|
# @param Dynamic: 动态获取日志信息标识
|
9928
9930
|
# @type Dynamic: Boolean
|
9929
9931
|
|
9930
|
-
attr_accessor :ProjectId, :TaskId, :CurRunDate, :RequestFromSource, :BrokerIp, :OriginFileName, :ExecutionJobId, :LogLevelType, :ExecutionFileType, :InstanceLifeDetailDtoList, :CurrentLifeRound, :Tries, :Dynamic
|
9932
|
+
attr_accessor :ProjectId, :TaskId, :CurRunDate, :RequestFromSource, :BrokerIp, :OriginFileName, :ExecutionJobId, :LogLevelType, :ExecutionFileType, :InstanceLifeDetailDtoList, :CurrentLifeRound, :MaxLifeRound, :Tries, :Dynamic
|
9931
9933
|
|
9932
|
-
def initialize(projectid=nil, taskid=nil, currundate=nil, requestfromsource=nil, brokerip=nil, originfilename=nil, executionjobid=nil, logleveltype=nil, executionfiletype=nil, instancelifedetaildtolist=nil, currentliferound=nil, tries=nil, dynamic=nil)
|
9934
|
+
def initialize(projectid=nil, taskid=nil, currundate=nil, requestfromsource=nil, brokerip=nil, originfilename=nil, executionjobid=nil, logleveltype=nil, executionfiletype=nil, instancelifedetaildtolist=nil, currentliferound=nil, maxliferound=nil, tries=nil, dynamic=nil)
|
9933
9935
|
@ProjectId = projectid
|
9934
9936
|
@TaskId = taskid
|
9935
9937
|
@CurRunDate = currundate
|
@@ -9941,6 +9943,7 @@ module TencentCloud
|
|
9941
9943
|
@ExecutionFileType = executionfiletype
|
9942
9944
|
@InstanceLifeDetailDtoList = instancelifedetaildtolist
|
9943
9945
|
@CurrentLifeRound = currentliferound
|
9946
|
+
@MaxLifeRound = maxliferound
|
9944
9947
|
@Tries = tries
|
9945
9948
|
@Dynamic = dynamic
|
9946
9949
|
end
|
@@ -9964,6 +9967,7 @@ module TencentCloud
|
|
9964
9967
|
end
|
9965
9968
|
end
|
9966
9969
|
@CurrentLifeRound = params['CurrentLifeRound']
|
9970
|
+
@MaxLifeRound = params['MaxLifeRound']
|
9967
9971
|
@Tries = params['Tries']
|
9968
9972
|
@Dynamic = params['Dynamic']
|
9969
9973
|
end
|
@@ -17684,6 +17688,96 @@ module TencentCloud
|
|
17684
17688
|
end
|
17685
17689
|
end
|
17686
17690
|
|
17691
|
+
# GetInstanceLog请求参数结构体
|
17692
|
+
class GetInstanceLogRequest < TencentCloud::Common::AbstractModel
|
17693
|
+
# @param ProjectId: **项目ID**
|
17694
|
+
# @type ProjectId: String
|
17695
|
+
# @param InstanceKey: **实例唯一标识**
|
17696
|
+
# @type InstanceKey: String
|
17697
|
+
# @param LifeRoundNum: 生命周期编号
|
17698
|
+
# @type LifeRoundNum: Integer
|
17699
|
+
# @param ScheduleTimeZone: **时区**
|
17700
|
+
# timeZone, 默认UTC+8
|
17701
|
+
# @type ScheduleTimeZone: String
|
17702
|
+
# @param BrokerIp: **日志所在执行机Ip**
|
17703
|
+
# @type BrokerIp: String
|
17704
|
+
# @param OriginFileName: **日志文件**
|
17705
|
+
# 实例详情中 executionJobId 为空时,但 originFileName 不为空时,入参中必须包含 originFileName 与 brokerIp
|
17706
|
+
# 如果 executionJobId 与 originFileName 都为空,则说明实例未下发执行或没有产生日志。例如分支节点 或 归并节点
|
17707
|
+
# @type OriginFileName: String
|
17708
|
+
# @param ExecutionJobId: **执行ID**
|
17709
|
+
|
17710
|
+
# 实例详情中 executionJobId 不为空时,入参中需包含executionJobId 。originFileName 与 brokerIp为非必要参数
|
17711
|
+
# @type ExecutionJobId: String
|
17712
|
+
# @param LogLevel: **日志级别**
|
17713
|
+
# 默认All
|
17714
|
+
|
17715
|
+
# - Info
|
17716
|
+
# - Debug
|
17717
|
+
# - Warn
|
17718
|
+
# - Error
|
17719
|
+
# - All
|
17720
|
+
# @type LogLevel: String
|
17721
|
+
# @param StartLineNum: **获取日志的开始行 行号**
|
17722
|
+
# 默认 1
|
17723
|
+
# @type StartLineNum: Integer
|
17724
|
+
# @param EndLineCount: **获取日志的结束行 行号**
|
17725
|
+
# 默认 10000
|
17726
|
+
# @type EndLineCount: Integer
|
17727
|
+
|
17728
|
+
attr_accessor :ProjectId, :InstanceKey, :LifeRoundNum, :ScheduleTimeZone, :BrokerIp, :OriginFileName, :ExecutionJobId, :LogLevel, :StartLineNum, :EndLineCount
|
17729
|
+
|
17730
|
+
def initialize(projectid=nil, instancekey=nil, liferoundnum=nil, scheduletimezone=nil, brokerip=nil, originfilename=nil, executionjobid=nil, loglevel=nil, startlinenum=nil, endlinecount=nil)
|
17731
|
+
@ProjectId = projectid
|
17732
|
+
@InstanceKey = instancekey
|
17733
|
+
@LifeRoundNum = liferoundnum
|
17734
|
+
@ScheduleTimeZone = scheduletimezone
|
17735
|
+
@BrokerIp = brokerip
|
17736
|
+
@OriginFileName = originfilename
|
17737
|
+
@ExecutionJobId = executionjobid
|
17738
|
+
@LogLevel = loglevel
|
17739
|
+
@StartLineNum = startlinenum
|
17740
|
+
@EndLineCount = endlinecount
|
17741
|
+
end
|
17742
|
+
|
17743
|
+
def deserialize(params)
|
17744
|
+
@ProjectId = params['ProjectId']
|
17745
|
+
@InstanceKey = params['InstanceKey']
|
17746
|
+
@LifeRoundNum = params['LifeRoundNum']
|
17747
|
+
@ScheduleTimeZone = params['ScheduleTimeZone']
|
17748
|
+
@BrokerIp = params['BrokerIp']
|
17749
|
+
@OriginFileName = params['OriginFileName']
|
17750
|
+
@ExecutionJobId = params['ExecutionJobId']
|
17751
|
+
@LogLevel = params['LogLevel']
|
17752
|
+
@StartLineNum = params['StartLineNum']
|
17753
|
+
@EndLineCount = params['EndLineCount']
|
17754
|
+
end
|
17755
|
+
end
|
17756
|
+
|
17757
|
+
# GetInstanceLog返回参数结构体
|
17758
|
+
class GetInstanceLogResponse < TencentCloud::Common::AbstractModel
|
17759
|
+
# @param Data: 调度实例详情
|
17760
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
17761
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.InstanceLogVO`
|
17762
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17763
|
+
# @type RequestId: String
|
17764
|
+
|
17765
|
+
attr_accessor :Data, :RequestId
|
17766
|
+
|
17767
|
+
def initialize(data=nil, requestid=nil)
|
17768
|
+
@Data = data
|
17769
|
+
@RequestId = requestid
|
17770
|
+
end
|
17771
|
+
|
17772
|
+
def deserialize(params)
|
17773
|
+
unless params['Data'].nil?
|
17774
|
+
@Data = InstanceLogVO.new
|
17775
|
+
@Data.deserialize(params['Data'])
|
17776
|
+
end
|
17777
|
+
@RequestId = params['RequestId']
|
17778
|
+
end
|
17779
|
+
end
|
17780
|
+
|
17687
17781
|
# GetIntegrationNodeColumnSchema请求参数结构体
|
17688
17782
|
class GetIntegrationNodeColumnSchemaRequest < TencentCloud::Common::AbstractModel
|
17689
17783
|
# @param ColumnContent: 字段示例(json格式)
|
@@ -17856,6 +17950,55 @@ module TencentCloud
|
|
17856
17950
|
end
|
17857
17951
|
end
|
17858
17952
|
|
17953
|
+
# GetTaskInstance请求参数结构体
|
17954
|
+
class GetTaskInstanceRequest < TencentCloud::Common::AbstractModel
|
17955
|
+
# @param ProjectId: **项目ID**
|
17956
|
+
# @type ProjectId: String
|
17957
|
+
# @param InstanceKey: **实例唯一标识**
|
17958
|
+
# @type InstanceKey: String
|
17959
|
+
# @param ScheduleTimeZone: **时区**
|
17960
|
+
# timeZone, 默认UTC+8
|
17961
|
+
# @type ScheduleTimeZone: String
|
17962
|
+
|
17963
|
+
attr_accessor :ProjectId, :InstanceKey, :ScheduleTimeZone
|
17964
|
+
|
17965
|
+
def initialize(projectid=nil, instancekey=nil, scheduletimezone=nil)
|
17966
|
+
@ProjectId = projectid
|
17967
|
+
@InstanceKey = instancekey
|
17968
|
+
@ScheduleTimeZone = scheduletimezone
|
17969
|
+
end
|
17970
|
+
|
17971
|
+
def deserialize(params)
|
17972
|
+
@ProjectId = params['ProjectId']
|
17973
|
+
@InstanceKey = params['InstanceKey']
|
17974
|
+
@ScheduleTimeZone = params['ScheduleTimeZone']
|
17975
|
+
end
|
17976
|
+
end
|
17977
|
+
|
17978
|
+
# GetTaskInstance返回参数结构体
|
17979
|
+
class GetTaskInstanceResponse < TencentCloud::Common::AbstractModel
|
17980
|
+
# @param Data: 调度实例详情
|
17981
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
17982
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.InstanceDetailVO`
|
17983
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17984
|
+
# @type RequestId: String
|
17985
|
+
|
17986
|
+
attr_accessor :Data, :RequestId
|
17987
|
+
|
17988
|
+
def initialize(data=nil, requestid=nil)
|
17989
|
+
@Data = data
|
17990
|
+
@RequestId = requestid
|
17991
|
+
end
|
17992
|
+
|
17993
|
+
def deserialize(params)
|
17994
|
+
unless params['Data'].nil?
|
17995
|
+
@Data = InstanceDetailVO.new
|
17996
|
+
@Data.deserialize(params['Data'])
|
17997
|
+
end
|
17998
|
+
@RequestId = params['RequestId']
|
17999
|
+
end
|
18000
|
+
end
|
18001
|
+
|
17859
18002
|
# 数据源信息
|
17860
18003
|
class GovDatasourceInfo < TencentCloud::Common::AbstractModel
|
17861
18004
|
# @param DatasourceId: 数据源id
|
@@ -18075,6 +18218,209 @@ module TencentCloud
|
|
18075
18218
|
end
|
18076
18219
|
end
|
18077
18220
|
|
18221
|
+
# 调度实例详情
|
18222
|
+
class InstanceDetailVO < TencentCloud::Common::AbstractModel
|
18223
|
+
# @param InstanceKey: 实例唯一标识
|
18224
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18225
|
+
# @type InstanceKey: String
|
18226
|
+
# @param ProjectId: 项目ID
|
18227
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18228
|
+
# @type ProjectId: String
|
18229
|
+
# @param FolderId: 文件夹ID
|
18230
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18231
|
+
# @type FolderId: String
|
18232
|
+
# @param FolderName: 文件夹名称
|
18233
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18234
|
+
# @type FolderName: String
|
18235
|
+
# @param WorkflowId: 工作流ID
|
18236
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18237
|
+
# @type WorkflowId: String
|
18238
|
+
# @param WorkflowName: 工作流名称
|
18239
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18240
|
+
# @type WorkflowName: String
|
18241
|
+
# @param InChargeList: 负责人列表
|
18242
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18243
|
+
# @type InChargeList: Array
|
18244
|
+
# @param TaskId: 任务ID
|
18245
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18246
|
+
# @type TaskId: String
|
18247
|
+
# @param TaskName: 任务名称
|
18248
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18249
|
+
# @type TaskName: String
|
18250
|
+
# @param TaskCycleType: **任务周期类型**
|
18251
|
+
# 支持过滤多个,条件间为 或 的过滤关系
|
18252
|
+
# * O: ONEOFF_CYCLE
|
18253
|
+
# * Y: YEAR_CYCLE
|
18254
|
+
# * M: MONTH_CYCLE
|
18255
|
+
# * W: WEEK_CYCLE
|
18256
|
+
# * D: DAY_CYCLE
|
18257
|
+
# * H: HOUR_CYCLE
|
18258
|
+
# * I: MINUTE_CYCLE
|
18259
|
+
# * C: CRONTAB_CYCLE
|
18260
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18261
|
+
# @type TaskCycleType: String
|
18262
|
+
# @param TaskType: 任务类型
|
18263
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18264
|
+
# @type TaskType: :class:`Tencentcloud::Wedata.v20210820.models.TaskTypeOpsDto`
|
18265
|
+
# @param ExecutorGroupId: 执行资源组ID
|
18266
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18267
|
+
# @type ExecutorGroupId: String
|
18268
|
+
# @param ExecutorGroupName: 资源组名称
|
18269
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18270
|
+
# @type ExecutorGroupName: String
|
18271
|
+
# @param CurRunDate: 标准数据时间
|
18272
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18273
|
+
# @type CurRunDate: String
|
18274
|
+
# @param NextCurDate: 下一个标准数据时间
|
18275
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18276
|
+
# @type NextCurDate: String
|
18277
|
+
# @param TryLimit: 每次运行失败,下发重试次数限制
|
18278
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18279
|
+
# @type TryLimit: Integer
|
18280
|
+
# @param Tries: 当前运行已下发运行次数
|
18281
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18282
|
+
# @type Tries: Integer
|
18283
|
+
# @param TotalRunNum: 累计运行次数
|
18284
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18285
|
+
# @type TotalRunNum: Integer
|
18286
|
+
# @param LifeRoundNum: 生命周期编号
|
18287
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18288
|
+
# @type LifeRoundNum: Integer
|
18289
|
+
# @param InstanceType: **实例类型**
|
18290
|
+
|
18291
|
+
# - 0 表示补录类型
|
18292
|
+
# - 1 表示周期实例
|
18293
|
+
# - 2 表示非周期实例
|
18294
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18295
|
+
# @type InstanceType: Integer
|
18296
|
+
# @param InstanceState: **实例状态**
|
18297
|
+
|
18298
|
+
# - [0] 表示 等待事件
|
18299
|
+
# - [12] 表示 等待上游
|
18300
|
+
# - [6, 7, 9, 10, 18] 表示 等待运行
|
18301
|
+
# - [1, 19, 22] 表示 运行中
|
18302
|
+
# - [21] 表示 跳过运行
|
18303
|
+
# - [3] 表示 失败重试
|
18304
|
+
# - [8, 4, 5, 13] 表示 失败
|
18305
|
+
# - [2] 表示 成功
|
18306
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18307
|
+
# @type InstanceState: Integer
|
18308
|
+
# @param SchedulerTime: 计划调度时间
|
18309
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18310
|
+
# @type SchedulerTime: String
|
18311
|
+
# @param StartTime: 运行开始时间
|
18312
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18313
|
+
# @type StartTime: String
|
18314
|
+
# @param EndTime: 运行完成时间
|
18315
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18316
|
+
# @type EndTime: String
|
18317
|
+
# @param CostTime: 耗费时间
|
18318
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18319
|
+
# @type CostTime: String
|
18320
|
+
# @param InstanceRunType: **实例运行触发类型**
|
18321
|
+
|
18322
|
+
# - RERUN 表示重跑
|
18323
|
+
# - ADDITION 表示补录
|
18324
|
+
# - PERIODIC 表示周期
|
18325
|
+
# - APERIODIC 表示非周期
|
18326
|
+
# - RERUN_SKIP_RUN 表示重跑 - 空跑
|
18327
|
+
# - ADDITION_SKIP_RUN 表示补录 - 空跑
|
18328
|
+
# - PERIODIC_SKIP_RUN 表示周期 - 空跑
|
18329
|
+
# - APERIODIC_SKIP_RUN 表示非周期 - 空跑
|
18330
|
+
# - MANUAL_TRIGGER 表示手动触发
|
18331
|
+
# - RERUN_MANUAL_TRIGGER 表示手动触发 - 重跑
|
18332
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18333
|
+
# @type InstanceRunType: String
|
18334
|
+
# @param ExecutionJobId: **下发执行ID**
|
18335
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18336
|
+
# @type ExecutionJobId: String
|
18337
|
+
# @param InstanceLifeCycleList: **实例生命周期列表**
|
18338
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18339
|
+
# @type InstanceLifeCycleList: Array
|
18340
|
+
# @param LatestLog: **实例最近一次的执行日志**
|
18341
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18342
|
+
# @type LatestLog: :class:`Tencentcloud::Wedata.v20210820.models.InstanceLogVO`
|
18343
|
+
|
18344
|
+
attr_accessor :InstanceKey, :ProjectId, :FolderId, :FolderName, :WorkflowId, :WorkflowName, :InChargeList, :TaskId, :TaskName, :TaskCycleType, :TaskType, :ExecutorGroupId, :ExecutorGroupName, :CurRunDate, :NextCurDate, :TryLimit, :Tries, :TotalRunNum, :LifeRoundNum, :InstanceType, :InstanceState, :SchedulerTime, :StartTime, :EndTime, :CostTime, :InstanceRunType, :ExecutionJobId, :InstanceLifeCycleList, :LatestLog
|
18345
|
+
|
18346
|
+
def initialize(instancekey=nil, projectid=nil, folderid=nil, foldername=nil, workflowid=nil, workflowname=nil, inchargelist=nil, taskid=nil, taskname=nil, taskcycletype=nil, tasktype=nil, executorgroupid=nil, executorgroupname=nil, currundate=nil, nextcurdate=nil, trylimit=nil, tries=nil, totalrunnum=nil, liferoundnum=nil, instancetype=nil, instancestate=nil, schedulertime=nil, starttime=nil, endtime=nil, costtime=nil, instanceruntype=nil, executionjobid=nil, instancelifecyclelist=nil, latestlog=nil)
|
18347
|
+
@InstanceKey = instancekey
|
18348
|
+
@ProjectId = projectid
|
18349
|
+
@FolderId = folderid
|
18350
|
+
@FolderName = foldername
|
18351
|
+
@WorkflowId = workflowid
|
18352
|
+
@WorkflowName = workflowname
|
18353
|
+
@InChargeList = inchargelist
|
18354
|
+
@TaskId = taskid
|
18355
|
+
@TaskName = taskname
|
18356
|
+
@TaskCycleType = taskcycletype
|
18357
|
+
@TaskType = tasktype
|
18358
|
+
@ExecutorGroupId = executorgroupid
|
18359
|
+
@ExecutorGroupName = executorgroupname
|
18360
|
+
@CurRunDate = currundate
|
18361
|
+
@NextCurDate = nextcurdate
|
18362
|
+
@TryLimit = trylimit
|
18363
|
+
@Tries = tries
|
18364
|
+
@TotalRunNum = totalrunnum
|
18365
|
+
@LifeRoundNum = liferoundnum
|
18366
|
+
@InstanceType = instancetype
|
18367
|
+
@InstanceState = instancestate
|
18368
|
+
@SchedulerTime = schedulertime
|
18369
|
+
@StartTime = starttime
|
18370
|
+
@EndTime = endtime
|
18371
|
+
@CostTime = costtime
|
18372
|
+
@InstanceRunType = instanceruntype
|
18373
|
+
@ExecutionJobId = executionjobid
|
18374
|
+
@InstanceLifeCycleList = instancelifecyclelist
|
18375
|
+
@LatestLog = latestlog
|
18376
|
+
end
|
18377
|
+
|
18378
|
+
def deserialize(params)
|
18379
|
+
@InstanceKey = params['InstanceKey']
|
18380
|
+
@ProjectId = params['ProjectId']
|
18381
|
+
@FolderId = params['FolderId']
|
18382
|
+
@FolderName = params['FolderName']
|
18383
|
+
@WorkflowId = params['WorkflowId']
|
18384
|
+
@WorkflowName = params['WorkflowName']
|
18385
|
+
@InChargeList = params['InChargeList']
|
18386
|
+
@TaskId = params['TaskId']
|
18387
|
+
@TaskName = params['TaskName']
|
18388
|
+
@TaskCycleType = params['TaskCycleType']
|
18389
|
+
unless params['TaskType'].nil?
|
18390
|
+
@TaskType = TaskTypeOpsDto.new
|
18391
|
+
@TaskType.deserialize(params['TaskType'])
|
18392
|
+
end
|
18393
|
+
@ExecutorGroupId = params['ExecutorGroupId']
|
18394
|
+
@ExecutorGroupName = params['ExecutorGroupName']
|
18395
|
+
@CurRunDate = params['CurRunDate']
|
18396
|
+
@NextCurDate = params['NextCurDate']
|
18397
|
+
@TryLimit = params['TryLimit']
|
18398
|
+
@Tries = params['Tries']
|
18399
|
+
@TotalRunNum = params['TotalRunNum']
|
18400
|
+
@LifeRoundNum = params['LifeRoundNum']
|
18401
|
+
@InstanceType = params['InstanceType']
|
18402
|
+
@InstanceState = params['InstanceState']
|
18403
|
+
@SchedulerTime = params['SchedulerTime']
|
18404
|
+
@StartTime = params['StartTime']
|
18405
|
+
@EndTime = params['EndTime']
|
18406
|
+
@CostTime = params['CostTime']
|
18407
|
+
@InstanceRunType = params['InstanceRunType']
|
18408
|
+
@ExecutionJobId = params['ExecutionJobId']
|
18409
|
+
unless params['InstanceLifeCycleList'].nil?
|
18410
|
+
@InstanceLifeCycleList = []
|
18411
|
+
params['InstanceLifeCycleList'].each do |i|
|
18412
|
+
instancelifecyclevo_tmp = InstanceLifeCycleVO.new
|
18413
|
+
instancelifecyclevo_tmp.deserialize(i)
|
18414
|
+
@InstanceLifeCycleList << instancelifecyclevo_tmp
|
18415
|
+
end
|
18416
|
+
end
|
18417
|
+
unless params['LatestLog'].nil?
|
18418
|
+
@LatestLog = InstanceLogVO.new
|
18419
|
+
@LatestLog.deserialize(params['LatestLog'])
|
18420
|
+
end
|
18421
|
+
end
|
18422
|
+
end
|
18423
|
+
|
18078
18424
|
# 下载日志详情
|
18079
18425
|
class InstanceDownloadLogInfo < TencentCloud::Common::AbstractModel
|
18080
18426
|
# @param FileName: 文件名
|
@@ -18206,15 +18552,135 @@ module TencentCloud
|
|
18206
18552
|
end
|
18207
18553
|
end
|
18208
18554
|
|
18555
|
+
# 调度实例详情
|
18556
|
+
class InstanceLifeCycleVO < TencentCloud::Common::AbstractModel
|
18557
|
+
# @param InstanceKey: 实例唯一标识
|
18558
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18559
|
+
# @type InstanceKey: String
|
18560
|
+
# @param InstanceState: **实例状态**
|
18561
|
+
|
18562
|
+
# - [0] 表示 等待事件
|
18563
|
+
# - [12] 表示 等待上游
|
18564
|
+
# - [6, 7, 9, 10, 18] 表示 等待运行
|
18565
|
+
# - [1, 19, 22] 表示 运行中
|
18566
|
+
# - [21] 表示 跳过运行
|
18567
|
+
# - [3] 表示 失败重试
|
18568
|
+
# - [8, 4, 5, 13] 表示 失败
|
18569
|
+
# - [2] 表示 成功
|
18570
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18571
|
+
# @type InstanceState: Integer
|
18572
|
+
# @param LifeRoundNum: 生命周期编号
|
18573
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18574
|
+
# @type LifeRoundNum: Integer
|
18575
|
+
# @param RunType: **实例运行触发类型**
|
18576
|
+
|
18577
|
+
# - RERUN 表示重跑
|
18578
|
+
# - ADDITION 表示补录
|
18579
|
+
# - PERIODIC 表示周期
|
18580
|
+
# - APERIODIC 表示非周期
|
18581
|
+
# - RERUN_SKIP_RUN 表示重跑 - 空跑
|
18582
|
+
# - ADDITION_SKIP_RUN 表示补录 - 空跑
|
18583
|
+
# - PERIODIC_SKIP_RUN 表示周期 - 空跑
|
18584
|
+
# - APERIODIC_SKIP_RUN 表示非周期 - 空跑
|
18585
|
+
# - MANUAL_TRIGGER 表示手动触发
|
18586
|
+
# - RERUN_MANUAL_TRIGGER 表示手动触发 - 重跑
|
18587
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18588
|
+
# @type RunType: String
|
18589
|
+
# @param Tries: 失败重试次数
|
18590
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18591
|
+
# @type Tries: Integer
|
18592
|
+
# @param LifeCycleDetailList: **实例生命周期列表**
|
18593
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18594
|
+
# @type LifeCycleDetailList: Array
|
18595
|
+
# @param CodeFileName: **实例代码文件**
|
18596
|
+
# 该文件内容为当次执行实例运行使用的代码,仅部分任务支持
|
18597
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18598
|
+
# @type CodeFileName: String
|
18599
|
+
# @param ExecutionJobId: **下发执行ID**
|
18600
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18601
|
+
# @type ExecutionJobId: String
|
18602
|
+
# @param BrokerIp: 日志所在执行节点
|
18603
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18604
|
+
# @type BrokerIp: String
|
18605
|
+
# @param OriginFileName: 日志文件名
|
18606
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18607
|
+
# @type OriginFileName: String
|
18608
|
+
# @param LogType: **实例日志类型**
|
18609
|
+
|
18610
|
+
# - run: 运行;
|
18611
|
+
# - kill: 终止
|
18612
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18613
|
+
# @type LogType: String
|
18614
|
+
# @param CostTime: 耗费时间
|
18615
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18616
|
+
# @type CostTime: String
|
18617
|
+
|
18618
|
+
attr_accessor :InstanceKey, :InstanceState, :LifeRoundNum, :RunType, :Tries, :LifeCycleDetailList, :CodeFileName, :ExecutionJobId, :BrokerIp, :OriginFileName, :LogType, :CostTime
|
18619
|
+
|
18620
|
+
def initialize(instancekey=nil, instancestate=nil, liferoundnum=nil, runtype=nil, tries=nil, lifecycledetaillist=nil, codefilename=nil, executionjobid=nil, brokerip=nil, originfilename=nil, logtype=nil, costtime=nil)
|
18621
|
+
@InstanceKey = instancekey
|
18622
|
+
@InstanceState = instancestate
|
18623
|
+
@LifeRoundNum = liferoundnum
|
18624
|
+
@RunType = runtype
|
18625
|
+
@Tries = tries
|
18626
|
+
@LifeCycleDetailList = lifecycledetaillist
|
18627
|
+
@CodeFileName = codefilename
|
18628
|
+
@ExecutionJobId = executionjobid
|
18629
|
+
@BrokerIp = brokerip
|
18630
|
+
@OriginFileName = originfilename
|
18631
|
+
@LogType = logtype
|
18632
|
+
@CostTime = costtime
|
18633
|
+
end
|
18634
|
+
|
18635
|
+
def deserialize(params)
|
18636
|
+
@InstanceKey = params['InstanceKey']
|
18637
|
+
@InstanceState = params['InstanceState']
|
18638
|
+
@LifeRoundNum = params['LifeRoundNum']
|
18639
|
+
@RunType = params['RunType']
|
18640
|
+
@Tries = params['Tries']
|
18641
|
+
unless params['LifeCycleDetailList'].nil?
|
18642
|
+
@LifeCycleDetailList = []
|
18643
|
+
params['LifeCycleDetailList'].each do |i|
|
18644
|
+
instancelifedetaildto_tmp = InstanceLifeDetailDto.new
|
18645
|
+
instancelifedetaildto_tmp.deserialize(i)
|
18646
|
+
@LifeCycleDetailList << instancelifedetaildto_tmp
|
18647
|
+
end
|
18648
|
+
end
|
18649
|
+
@CodeFileName = params['CodeFileName']
|
18650
|
+
@ExecutionJobId = params['ExecutionJobId']
|
18651
|
+
@BrokerIp = params['BrokerIp']
|
18652
|
+
@OriginFileName = params['OriginFileName']
|
18653
|
+
@LogType = params['LogType']
|
18654
|
+
@CostTime = params['CostTime']
|
18655
|
+
end
|
18656
|
+
end
|
18657
|
+
|
18209
18658
|
# 实例生命周期detail
|
18210
18659
|
class InstanceLifeDetailDto < TencentCloud::Common::AbstractModel
|
18211
|
-
# @param State:
|
18660
|
+
# @param State: **实例状态**
|
18661
|
+
# - [0] 表示 等待事件
|
18662
|
+
# - [12] 表示 等待上游
|
18663
|
+
# - [6, 7, 9, 10, 18] 表示 等待运行
|
18664
|
+
# - [1, 19, 22] 表示 运行中
|
18665
|
+
# - [21] 表示 跳过运行
|
18666
|
+
# - [3] 表示 失败重试
|
18667
|
+
# - [8, 4, 5, 13] 表示 失败
|
18668
|
+
# - [2] 表示 成功
|
18212
18669
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
18213
18670
|
# @type State: String
|
18214
18671
|
# @param StartTime: 该状态开始时间
|
18215
18672
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
18216
18673
|
# @type StartTime: String
|
18217
|
-
# @param DetailState:
|
18674
|
+
# @param DetailState: **实例生命周期阶段状态**
|
18675
|
+
|
18676
|
+
# - WAIT_UPSTREAM 表示 等待事件/上游状态
|
18677
|
+
# - WAIT_RUN 表示 等待运行状态
|
18678
|
+
# - RUNNING 表示 运行中状态
|
18679
|
+
# - COMPLETE 表示 终态-完成
|
18680
|
+
# - FAILED 表示 终态-失败重试
|
18681
|
+
# - EXPIRED 表示 终态-失败
|
18682
|
+
# - SKIP_RUNNING 表示 终态-被上游分支节点跳过的分支
|
18683
|
+
# - HISTORY 表示 兼容历史实例
|
18218
18684
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
18219
18685
|
# @type DetailState: String
|
18220
18686
|
# @param EndTime: 该状态结束时间
|
@@ -18520,26 +18986,130 @@ module TencentCloud
|
|
18520
18986
|
@Tries = tries
|
18521
18987
|
@LastUpdate = lastupdate
|
18522
18988
|
@BrokerIp = brokerip
|
18523
|
-
@FileSize = filesize
|
18524
|
-
@OriginFileName = originfilename
|
18525
|
-
@CreateTime = createtime
|
18526
|
-
@InstanceLogType = instancelogtype
|
18527
|
-
@TaskName = taskname
|
18528
|
-
@CostTime = costtime
|
18989
|
+
@FileSize = filesize
|
18990
|
+
@OriginFileName = originfilename
|
18991
|
+
@CreateTime = createtime
|
18992
|
+
@InstanceLogType = instancelogtype
|
18993
|
+
@TaskName = taskname
|
18994
|
+
@CostTime = costtime
|
18995
|
+
end
|
18996
|
+
|
18997
|
+
def deserialize(params)
|
18998
|
+
@TaskId = params['TaskId']
|
18999
|
+
@CurRunDate = params['CurRunDate']
|
19000
|
+
@Tries = params['Tries']
|
19001
|
+
@LastUpdate = params['LastUpdate']
|
19002
|
+
@BrokerIp = params['BrokerIp']
|
19003
|
+
@FileSize = params['FileSize']
|
19004
|
+
@OriginFileName = params['OriginFileName']
|
19005
|
+
@CreateTime = params['CreateTime']
|
19006
|
+
@InstanceLogType = params['InstanceLogType']
|
19007
|
+
@TaskName = params['TaskName']
|
19008
|
+
@CostTime = params['CostTime']
|
19009
|
+
end
|
19010
|
+
end
|
19011
|
+
|
19012
|
+
# 实例日志内容
|
19013
|
+
class InstanceLogVO < TencentCloud::Common::AbstractModel
|
19014
|
+
# @param InstanceKey: 实例唯一标识
|
19015
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19016
|
+
# @type InstanceKey: String
|
19017
|
+
# @param ProjectId: 项目ID
|
19018
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19019
|
+
# @type ProjectId: String
|
19020
|
+
# @param InstanceState: **实例状态**
|
19021
|
+
|
19022
|
+
# - [0] 表示 等待事件
|
19023
|
+
# - [12] 表示 等待上游
|
19024
|
+
# - [6, 7, 9, 10, 18] 表示 等待运行
|
19025
|
+
# - [1, 19, 22] 表示 运行中
|
19026
|
+
# - [21] 表示 跳过运行
|
19027
|
+
# - [3] 表示 失败重试
|
19028
|
+
# - [8, 4, 5, 13] 表示 失败
|
19029
|
+
# - [2] 表示 成功
|
19030
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19031
|
+
# @type InstanceState: Integer
|
19032
|
+
# @param RunType: **实例运行触发类型**
|
19033
|
+
|
19034
|
+
# - RERUN 表示重跑
|
19035
|
+
# - ADDITION 表示补录
|
19036
|
+
# - PERIODIC 表示周期
|
19037
|
+
# - APERIODIC 表示非周期
|
19038
|
+
# - RERUN_SKIP_RUN 表示重跑 - 空跑
|
19039
|
+
# - ADDITION_SKIP_RUN 表示补录 - 空跑
|
19040
|
+
# - PERIODIC_SKIP_RUN 表示周期 - 空跑
|
19041
|
+
# - APERIODIC_SKIP_RUN 表示非周期 - 空跑
|
19042
|
+
# - MANUAL_TRIGGER 表示手动触发
|
19043
|
+
# - RERUN_MANUAL_TRIGGER 表示手动触发 - 重跑
|
19044
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19045
|
+
# @type RunType: String
|
19046
|
+
# @param StartTime: 开始运行时间
|
19047
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19048
|
+
# @type StartTime: String
|
19049
|
+
# @param EndTime: 运行完成时间
|
19050
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19051
|
+
# @type EndTime: String
|
19052
|
+
# @param CodeInfo: **运行代码内容**
|
19053
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19054
|
+
# @type CodeInfo: String
|
19055
|
+
# @param CodeFileSize: **运行代码文件大小**
|
19056
|
+
# 单位KB
|
19057
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19058
|
+
# @type CodeFileSize: String
|
19059
|
+
# @param BrokerIp: 日志所在节点信息
|
19060
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19061
|
+
# @type BrokerIp: String
|
19062
|
+
# @param LogInfo: **日志内容**
|
19063
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19064
|
+
# @type LogInfo: String
|
19065
|
+
# @param LogFileSize: **日志文件大小**
|
19066
|
+
# 单位KB
|
19067
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19068
|
+
# @type LogFileSize: String
|
19069
|
+
# @param LineCount: **本次查询返回的日志行数**
|
19070
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19071
|
+
# @type LineCount: Integer
|
19072
|
+
# @param ExtInfo: 执行平台日志分页查询参数, 每次请求透明传入。第一页查询时值为空字符串
|
19073
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19074
|
+
# @type ExtInfo: String
|
19075
|
+
# @param IsEnd: 日志分页查询,是否最后一页
|
19076
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19077
|
+
# @type IsEnd: Boolean
|
19078
|
+
|
19079
|
+
attr_accessor :InstanceKey, :ProjectId, :InstanceState, :RunType, :StartTime, :EndTime, :CodeInfo, :CodeFileSize, :BrokerIp, :LogInfo, :LogFileSize, :LineCount, :ExtInfo, :IsEnd
|
19080
|
+
|
19081
|
+
def initialize(instancekey=nil, projectid=nil, instancestate=nil, runtype=nil, starttime=nil, endtime=nil, codeinfo=nil, codefilesize=nil, brokerip=nil, loginfo=nil, logfilesize=nil, linecount=nil, extinfo=nil, isend=nil)
|
19082
|
+
@InstanceKey = instancekey
|
19083
|
+
@ProjectId = projectid
|
19084
|
+
@InstanceState = instancestate
|
19085
|
+
@RunType = runtype
|
19086
|
+
@StartTime = starttime
|
19087
|
+
@EndTime = endtime
|
19088
|
+
@CodeInfo = codeinfo
|
19089
|
+
@CodeFileSize = codefilesize
|
19090
|
+
@BrokerIp = brokerip
|
19091
|
+
@LogInfo = loginfo
|
19092
|
+
@LogFileSize = logfilesize
|
19093
|
+
@LineCount = linecount
|
19094
|
+
@ExtInfo = extinfo
|
19095
|
+
@IsEnd = isend
|
18529
19096
|
end
|
18530
19097
|
|
18531
19098
|
def deserialize(params)
|
18532
|
-
@
|
18533
|
-
@
|
18534
|
-
@
|
18535
|
-
@
|
19099
|
+
@InstanceKey = params['InstanceKey']
|
19100
|
+
@ProjectId = params['ProjectId']
|
19101
|
+
@InstanceState = params['InstanceState']
|
19102
|
+
@RunType = params['RunType']
|
19103
|
+
@StartTime = params['StartTime']
|
19104
|
+
@EndTime = params['EndTime']
|
19105
|
+
@CodeInfo = params['CodeInfo']
|
19106
|
+
@CodeFileSize = params['CodeFileSize']
|
18536
19107
|
@BrokerIp = params['BrokerIp']
|
18537
|
-
@
|
18538
|
-
@
|
18539
|
-
@
|
18540
|
-
@
|
18541
|
-
@
|
18542
|
-
@CostTime = params['CostTime']
|
19108
|
+
@LogInfo = params['LogInfo']
|
19109
|
+
@LogFileSize = params['LogFileSize']
|
19110
|
+
@LineCount = params['LineCount']
|
19111
|
+
@ExtInfo = params['ExtInfo']
|
19112
|
+
@IsEnd = params['IsEnd']
|
18543
19113
|
end
|
18544
19114
|
end
|
18545
19115
|
|
@@ -18951,6 +19521,55 @@ module TencentCloud
|
|
18951
19521
|
end
|
18952
19522
|
end
|
18953
19523
|
|
19524
|
+
# 实例列表分页实体
|
19525
|
+
class InstancePageVO < TencentCloud::Common::AbstractModel
|
19526
|
+
# @param TotalCount: **总条数**
|
19527
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19528
|
+
# @type TotalCount: Integer
|
19529
|
+
# @param TotalPage: **总分页数**
|
19530
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19531
|
+
# @type TotalPage: Integer
|
19532
|
+
# @param PageNumber: 页码
|
19533
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19534
|
+
# @type PageNumber: Integer
|
19535
|
+
# @param PageSize: 每页条目数
|
19536
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19537
|
+
# @type PageSize: Integer
|
19538
|
+
# @param PageCount: 总分页数
|
19539
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19540
|
+
# @type PageCount: Integer
|
19541
|
+
# @param Items: 数据列表
|
19542
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19543
|
+
# @type Items: Array
|
19544
|
+
|
19545
|
+
attr_accessor :TotalCount, :TotalPage, :PageNumber, :PageSize, :PageCount, :Items
|
19546
|
+
|
19547
|
+
def initialize(totalcount=nil, totalpage=nil, pagenumber=nil, pagesize=nil, pagecount=nil, items=nil)
|
19548
|
+
@TotalCount = totalcount
|
19549
|
+
@TotalPage = totalpage
|
19550
|
+
@PageNumber = pagenumber
|
19551
|
+
@PageSize = pagesize
|
19552
|
+
@PageCount = pagecount
|
19553
|
+
@Items = items
|
19554
|
+
end
|
19555
|
+
|
19556
|
+
def deserialize(params)
|
19557
|
+
@TotalCount = params['TotalCount']
|
19558
|
+
@TotalPage = params['TotalPage']
|
19559
|
+
@PageNumber = params['PageNumber']
|
19560
|
+
@PageSize = params['PageSize']
|
19561
|
+
@PageCount = params['PageCount']
|
19562
|
+
unless params['Items'].nil?
|
19563
|
+
@Items = []
|
19564
|
+
params['Items'].each do |i|
|
19565
|
+
instancevo_tmp = InstanceVO.new
|
19566
|
+
instancevo_tmp.deserialize(i)
|
19567
|
+
@Items << instancevo_tmp
|
19568
|
+
end
|
19569
|
+
end
|
19570
|
+
end
|
19571
|
+
end
|
19572
|
+
|
18954
19573
|
# 实例检索条件
|
18955
19574
|
class InstanceSearchCondition < TencentCloud::Common::AbstractModel
|
18956
19575
|
# @param CycleList: 任务调度周期类型
|
@@ -19043,6 +19662,159 @@ module TencentCloud
|
|
19043
19662
|
end
|
19044
19663
|
end
|
19045
19664
|
|
19665
|
+
# 调度运行实例实体
|
19666
|
+
class InstanceVO < TencentCloud::Common::AbstractModel
|
19667
|
+
# @param InstanceKey: **实例唯一标识**
|
19668
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19669
|
+
# @type InstanceKey: String
|
19670
|
+
# @param ProjectId: 项目ID
|
19671
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19672
|
+
# @type ProjectId: String
|
19673
|
+
# @param FolderId: 文件夹ID
|
19674
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19675
|
+
# @type FolderId: String
|
19676
|
+
# @param FolderName: 文件夹名称
|
19677
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19678
|
+
# @type FolderName: String
|
19679
|
+
# @param WorkflowId: 工作流ID
|
19680
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19681
|
+
# @type WorkflowId: String
|
19682
|
+
# @param WorkflowName: 工作流名称
|
19683
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19684
|
+
# @type WorkflowName: String
|
19685
|
+
# @param InChargeList: 负责人列表
|
19686
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19687
|
+
# @type InChargeList: Array
|
19688
|
+
# @param TaskId: 任务ID
|
19689
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19690
|
+
# @type TaskId: String
|
19691
|
+
# @param TaskName: 任务名称
|
19692
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19693
|
+
# @type TaskName: String
|
19694
|
+
# @param TaskType: 任务类型
|
19695
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19696
|
+
# @type TaskType: :class:`Tencentcloud::Wedata.v20210820.models.TaskTypeOpsDto`
|
19697
|
+
# @param TaskCycleType: **任务周期类型**
|
19698
|
+
# 支持过滤多个,条件间为 或 的过滤关系
|
19699
|
+
# * O: ONEOFF_CYCLE
|
19700
|
+
# * Y: YEAR_CYCLE
|
19701
|
+
# * M: MONTH_CYCLE
|
19702
|
+
# * W: WEEK_CYCLE
|
19703
|
+
# * D: DAY_CYCLE
|
19704
|
+
# * H: HOUR_CYCLE
|
19705
|
+
# * I: MINUTE_CYCLE
|
19706
|
+
# * C: CRONTAB_CYCLE
|
19707
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19708
|
+
# @type TaskCycleType: String
|
19709
|
+
# @param CurRunDate: 标准数据时间
|
19710
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19711
|
+
# @type CurRunDate: String
|
19712
|
+
# @param TryLimit: 每次运行失败,下发重试次数限制
|
19713
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19714
|
+
# @type TryLimit: Integer
|
19715
|
+
# @param Tries: **失败重试次数**
|
19716
|
+
# 再次使用 手动重跑 或 补录实例等方式触发运行时,会被重置为 0 后重新计数
|
19717
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19718
|
+
# @type Tries: Integer
|
19719
|
+
# @param TotalRunNum: 累计运行次数
|
19720
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19721
|
+
# @type TotalRunNum: Integer
|
19722
|
+
# @param InstanceType: **实例类型**
|
19723
|
+
|
19724
|
+
# - 0 表示补录类型
|
19725
|
+
# - 1 表示周期实例
|
19726
|
+
# - 2 表示非周期实例
|
19727
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19728
|
+
# @type InstanceType: Integer
|
19729
|
+
# @param InstanceState: **实例状态**
|
19730
|
+
|
19731
|
+
# - [0] 表示 等待事件
|
19732
|
+
# - [12] 表示 等待上游
|
19733
|
+
# - [6, 7, 9, 10, 18] 表示 等待运行
|
19734
|
+
# - [1, 19, 22] 表示 运行中
|
19735
|
+
# - [21] 表示 跳过运行
|
19736
|
+
# - [3] 表示 失败重试
|
19737
|
+
# - [8, 4, 5, 13] 表示 失败
|
19738
|
+
# - [2] 表示 成功
|
19739
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19740
|
+
# @type InstanceState: Integer
|
19741
|
+
# @param StartTime: 运行开始时间
|
19742
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19743
|
+
# @type StartTime: String
|
19744
|
+
# @param EndTime: 运行完成时间
|
19745
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19746
|
+
# @type EndTime: String
|
19747
|
+
# @param CostTime: 耗费时间
|
19748
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19749
|
+
# @type CostTime: String
|
19750
|
+
# @param SchedulerTime: 计划调度时间
|
19751
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19752
|
+
# @type SchedulerTime: String
|
19753
|
+
# @param ExecutorGroupId: 执行资源组ID
|
19754
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19755
|
+
# @type ExecutorGroupId: String
|
19756
|
+
# @param ExecutorGroupName: 资源组名称
|
19757
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19758
|
+
# @type ExecutorGroupName: String
|
19759
|
+
|
19760
|
+
attr_accessor :InstanceKey, :ProjectId, :FolderId, :FolderName, :WorkflowId, :WorkflowName, :InChargeList, :TaskId, :TaskName, :TaskType, :TaskCycleType, :CurRunDate, :TryLimit, :Tries, :TotalRunNum, :InstanceType, :InstanceState, :StartTime, :EndTime, :CostTime, :SchedulerTime, :ExecutorGroupId, :ExecutorGroupName
|
19761
|
+
|
19762
|
+
def initialize(instancekey=nil, projectid=nil, folderid=nil, foldername=nil, workflowid=nil, workflowname=nil, inchargelist=nil, taskid=nil, taskname=nil, tasktype=nil, taskcycletype=nil, currundate=nil, trylimit=nil, tries=nil, totalrunnum=nil, instancetype=nil, instancestate=nil, starttime=nil, endtime=nil, costtime=nil, schedulertime=nil, executorgroupid=nil, executorgroupname=nil)
|
19763
|
+
@InstanceKey = instancekey
|
19764
|
+
@ProjectId = projectid
|
19765
|
+
@FolderId = folderid
|
19766
|
+
@FolderName = foldername
|
19767
|
+
@WorkflowId = workflowid
|
19768
|
+
@WorkflowName = workflowname
|
19769
|
+
@InChargeList = inchargelist
|
19770
|
+
@TaskId = taskid
|
19771
|
+
@TaskName = taskname
|
19772
|
+
@TaskType = tasktype
|
19773
|
+
@TaskCycleType = taskcycletype
|
19774
|
+
@CurRunDate = currundate
|
19775
|
+
@TryLimit = trylimit
|
19776
|
+
@Tries = tries
|
19777
|
+
@TotalRunNum = totalrunnum
|
19778
|
+
@InstanceType = instancetype
|
19779
|
+
@InstanceState = instancestate
|
19780
|
+
@StartTime = starttime
|
19781
|
+
@EndTime = endtime
|
19782
|
+
@CostTime = costtime
|
19783
|
+
@SchedulerTime = schedulertime
|
19784
|
+
@ExecutorGroupId = executorgroupid
|
19785
|
+
@ExecutorGroupName = executorgroupname
|
19786
|
+
end
|
19787
|
+
|
19788
|
+
def deserialize(params)
|
19789
|
+
@InstanceKey = params['InstanceKey']
|
19790
|
+
@ProjectId = params['ProjectId']
|
19791
|
+
@FolderId = params['FolderId']
|
19792
|
+
@FolderName = params['FolderName']
|
19793
|
+
@WorkflowId = params['WorkflowId']
|
19794
|
+
@WorkflowName = params['WorkflowName']
|
19795
|
+
@InChargeList = params['InChargeList']
|
19796
|
+
@TaskId = params['TaskId']
|
19797
|
+
@TaskName = params['TaskName']
|
19798
|
+
unless params['TaskType'].nil?
|
19799
|
+
@TaskType = TaskTypeOpsDto.new
|
19800
|
+
@TaskType.deserialize(params['TaskType'])
|
19801
|
+
end
|
19802
|
+
@TaskCycleType = params['TaskCycleType']
|
19803
|
+
@CurRunDate = params['CurRunDate']
|
19804
|
+
@TryLimit = params['TryLimit']
|
19805
|
+
@Tries = params['Tries']
|
19806
|
+
@TotalRunNum = params['TotalRunNum']
|
19807
|
+
@InstanceType = params['InstanceType']
|
19808
|
+
@InstanceState = params['InstanceState']
|
19809
|
+
@StartTime = params['StartTime']
|
19810
|
+
@EndTime = params['EndTime']
|
19811
|
+
@CostTime = params['CostTime']
|
19812
|
+
@SchedulerTime = params['SchedulerTime']
|
19813
|
+
@ExecutorGroupId = params['ExecutorGroupId']
|
19814
|
+
@ExecutorGroupName = params['ExecutorGroupName']
|
19815
|
+
end
|
19816
|
+
end
|
19817
|
+
|
19046
19818
|
# 实例日志信息
|
19047
19819
|
class IntegrationInstanceLog < TencentCloud::Common::AbstractModel
|
19048
19820
|
# @param LogInfo: 任务日志信息
|
@@ -20072,6 +20844,167 @@ module TencentCloud
|
|
20072
20844
|
end
|
20073
20845
|
end
|
20074
20846
|
|
20847
|
+
# ListInstances请求参数结构体
|
20848
|
+
class ListInstancesRequest < TencentCloud::Common::AbstractModel
|
20849
|
+
# @param ProjectId: **项目ID**
|
20850
|
+
# @type ProjectId: String
|
20851
|
+
# @param ScheduleTimeFrom: **实例计划调度时间**
|
20852
|
+
# 过滤起始时间,时间格式为 yyyy-MM-dd HH:mm:ss
|
20853
|
+
# @type ScheduleTimeFrom: String
|
20854
|
+
# @param ScheduleTimeTo: **实例计划调度时间**
|
20855
|
+
# 过滤截止时间,时间格式为 yyyy-MM-dd HH:mm:ss
|
20856
|
+
# @type ScheduleTimeTo: String
|
20857
|
+
# @param PageNumber: **页码,整型**
|
20858
|
+
# 配合pageSize使用且不能小于1, 默认值1
|
20859
|
+
# @type PageNumber: Integer
|
20860
|
+
# @param PageSize: **每页数目,整型**
|
20861
|
+
# 配合pageNumber使用且不能大于200, 默认值 10
|
20862
|
+
# @type PageSize: Integer
|
20863
|
+
# @param SortColumn: **查询结果排序字段**
|
20864
|
+
|
20865
|
+
# - SCHEDULE_DATE 表示 计划调度时间
|
20866
|
+
# - START_TIME 表示 实例开始执行时间
|
20867
|
+
# - END_TIME 表示 实例结束执行时间
|
20868
|
+
# - COST_TIME 表示 实例执行时长
|
20869
|
+
# @type SortColumn: String
|
20870
|
+
# @param SortType: **实例排序方式**
|
20871
|
+
|
20872
|
+
# - ASC
|
20873
|
+
# - DESC
|
20874
|
+
# @type SortType: String
|
20875
|
+
# @param InstanceType: **实例类型**
|
20876
|
+
|
20877
|
+
# - 0 表示补录类型
|
20878
|
+
# - 1 表示周期实例
|
20879
|
+
# - 2 表示非周期实例
|
20880
|
+
# @type InstanceType: Integer
|
20881
|
+
# @param InstanceStateList: **实例执行状态**
|
20882
|
+
# 支持过滤多个,条件间为 或 的过滤关系
|
20883
|
+
|
20884
|
+
# - [0] 表示 等待事件
|
20885
|
+
# - [12] 表示 等待上游
|
20886
|
+
# - [6, 7, 9, 10, 18] 表示 等待运行
|
20887
|
+
# - [1, 19, 22] 表示 运行中
|
20888
|
+
# - [21] 表示 跳过运行
|
20889
|
+
# - [3] 表示 失败重试
|
20890
|
+
# - [8, 4, 5, 13] 表示 失败
|
20891
|
+
# - [2] 表示 成功
|
20892
|
+
# @type InstanceStateList: Array
|
20893
|
+
# @param TaskTypeIdList: **任务类型Id**
|
20894
|
+
|
20895
|
+
# - 支持过滤多个,条件间为 或 的过滤关系
|
20896
|
+
# - 可以通过接口 DescribeAllTaskType 获取项目支持的全部任务类型
|
20897
|
+
# @type TaskTypeIdList: Array
|
20898
|
+
# @param TaskCycleList: **任务周期类型**
|
20899
|
+
# 支持过滤多个,条件间为 或 的过滤关系
|
20900
|
+
# * O: ONEOFF_CYCLE
|
20901
|
+
# * Y: YEAR_CYCLE
|
20902
|
+
# * M: MONTH_CYCLE
|
20903
|
+
# * W: WEEK_CYCLE
|
20904
|
+
# * D: DAY_CYCLE
|
20905
|
+
# * H: HOUR_CYCLE
|
20906
|
+
# * I: MINUTE_CYCLE
|
20907
|
+
# * C: CRONTAB_CYCLE
|
20908
|
+
# @type TaskCycleList: Array
|
20909
|
+
# @param Keyword: **任务名称 或 任务ID**
|
20910
|
+
# 支持模糊搜索过滤, 多个用 英文逗号, 分割
|
20911
|
+
# @type Keyword: String
|
20912
|
+
# @param InChargeList: **任务负责人**
|
20913
|
+
# 支持过滤多个,条件间为 或 的过滤关系
|
20914
|
+
# @type InChargeList: Array
|
20915
|
+
# @param TaskFolderIdList: **任务所属文件件**
|
20916
|
+
# 支持过滤多个,条件间为 或 的过滤关系
|
20917
|
+
# 可以通过接口 FindAllFolder 获取项目下的所有文件夹列表
|
20918
|
+
# @type TaskFolderIdList: Array
|
20919
|
+
# @param WorkflowIdList: **任务所属工作流**
|
20920
|
+
# 支持过滤多个,条件间为 或 的过滤关系
|
20921
|
+
# 可以通过接口 DescribeOpsWorkflows 获取项目下的所有工作流列表
|
20922
|
+
# @type WorkflowIdList: Array
|
20923
|
+
# @param ExecutorGroupIdList: **执行资源组Id**
|
20924
|
+
# 支持过滤多个,条件间为 或 的过滤关系
|
20925
|
+
# 可以通过接口 DescribeNormalSchedulerExecutorGroups 获取项目下的所有调度资源组列表
|
20926
|
+
# 可以通过接口 DescribeNormalIntegrationExecutorGroups 获取项目下的所有集成资源组列表
|
20927
|
+
# @type ExecutorGroupIdList: Array
|
20928
|
+
# @param StartTimeFrom: **开始时间**
|
20929
|
+
# 过滤起始时间,时间格式为 yyyy-MM-dd HH:mm:ss
|
20930
|
+
# @type StartTimeFrom: String
|
20931
|
+
# @param StartTimeTo: **开始时间**
|
20932
|
+
# 过滤截止时间,时间格式为 yyyy-MM-dd HH:mm:ss
|
20933
|
+
# @type StartTimeTo: String
|
20934
|
+
# @param ScheduleTimeZone: **时区**
|
20935
|
+
# timeZone, 默认UTC+8
|
20936
|
+
# @type ScheduleTimeZone: String
|
20937
|
+
|
20938
|
+
attr_accessor :ProjectId, :ScheduleTimeFrom, :ScheduleTimeTo, :PageNumber, :PageSize, :SortColumn, :SortType, :InstanceType, :InstanceStateList, :TaskTypeIdList, :TaskCycleList, :Keyword, :InChargeList, :TaskFolderIdList, :WorkflowIdList, :ExecutorGroupIdList, :StartTimeFrom, :StartTimeTo, :ScheduleTimeZone
|
20939
|
+
|
20940
|
+
def initialize(projectid=nil, scheduletimefrom=nil, scheduletimeto=nil, pagenumber=nil, pagesize=nil, sortcolumn=nil, sorttype=nil, instancetype=nil, instancestatelist=nil, tasktypeidlist=nil, taskcyclelist=nil, keyword=nil, inchargelist=nil, taskfolderidlist=nil, workflowidlist=nil, executorgroupidlist=nil, starttimefrom=nil, starttimeto=nil, scheduletimezone=nil)
|
20941
|
+
@ProjectId = projectid
|
20942
|
+
@ScheduleTimeFrom = scheduletimefrom
|
20943
|
+
@ScheduleTimeTo = scheduletimeto
|
20944
|
+
@PageNumber = pagenumber
|
20945
|
+
@PageSize = pagesize
|
20946
|
+
@SortColumn = sortcolumn
|
20947
|
+
@SortType = sorttype
|
20948
|
+
@InstanceType = instancetype
|
20949
|
+
@InstanceStateList = instancestatelist
|
20950
|
+
@TaskTypeIdList = tasktypeidlist
|
20951
|
+
@TaskCycleList = taskcyclelist
|
20952
|
+
@Keyword = keyword
|
20953
|
+
@InChargeList = inchargelist
|
20954
|
+
@TaskFolderIdList = taskfolderidlist
|
20955
|
+
@WorkflowIdList = workflowidlist
|
20956
|
+
@ExecutorGroupIdList = executorgroupidlist
|
20957
|
+
@StartTimeFrom = starttimefrom
|
20958
|
+
@StartTimeTo = starttimeto
|
20959
|
+
@ScheduleTimeZone = scheduletimezone
|
20960
|
+
end
|
20961
|
+
|
20962
|
+
def deserialize(params)
|
20963
|
+
@ProjectId = params['ProjectId']
|
20964
|
+
@ScheduleTimeFrom = params['ScheduleTimeFrom']
|
20965
|
+
@ScheduleTimeTo = params['ScheduleTimeTo']
|
20966
|
+
@PageNumber = params['PageNumber']
|
20967
|
+
@PageSize = params['PageSize']
|
20968
|
+
@SortColumn = params['SortColumn']
|
20969
|
+
@SortType = params['SortType']
|
20970
|
+
@InstanceType = params['InstanceType']
|
20971
|
+
@InstanceStateList = params['InstanceStateList']
|
20972
|
+
@TaskTypeIdList = params['TaskTypeIdList']
|
20973
|
+
@TaskCycleList = params['TaskCycleList']
|
20974
|
+
@Keyword = params['Keyword']
|
20975
|
+
@InChargeList = params['InChargeList']
|
20976
|
+
@TaskFolderIdList = params['TaskFolderIdList']
|
20977
|
+
@WorkflowIdList = params['WorkflowIdList']
|
20978
|
+
@ExecutorGroupIdList = params['ExecutorGroupIdList']
|
20979
|
+
@StartTimeFrom = params['StartTimeFrom']
|
20980
|
+
@StartTimeTo = params['StartTimeTo']
|
20981
|
+
@ScheduleTimeZone = params['ScheduleTimeZone']
|
20982
|
+
end
|
20983
|
+
end
|
20984
|
+
|
20985
|
+
# ListInstances返回参数结构体
|
20986
|
+
class ListInstancesResponse < TencentCloud::Common::AbstractModel
|
20987
|
+
# @param Data: 实例结果集
|
20988
|
+
# @type Data: :class:`Tencentcloud::Wedata.v20210820.models.InstancePageVO`
|
20989
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
20990
|
+
# @type RequestId: String
|
20991
|
+
|
20992
|
+
attr_accessor :Data, :RequestId
|
20993
|
+
|
20994
|
+
def initialize(data=nil, requestid=nil)
|
20995
|
+
@Data = data
|
20996
|
+
@RequestId = requestid
|
20997
|
+
end
|
20998
|
+
|
20999
|
+
def deserialize(params)
|
21000
|
+
unless params['Data'].nil?
|
21001
|
+
@Data = InstancePageVO.new
|
21002
|
+
@Data.deserialize(params['Data'])
|
21003
|
+
end
|
21004
|
+
@RequestId = params['RequestId']
|
21005
|
+
end
|
21006
|
+
end
|
21007
|
+
|
20075
21008
|
# LockIntegrationTask请求参数结构体
|
20076
21009
|
class LockIntegrationTaskRequest < TencentCloud::Common::AbstractModel
|
20077
21010
|
# @param TaskId: 任务id
|
@@ -28853,13 +29786,25 @@ module TencentCloud
|
|
28853
29786
|
# @param IfSupportCreateAndDDL: 是否支持select or ddl
|
28854
29787
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
28855
29788
|
# @type IfSupportCreateAndDDL: :class:`Tencentcloud::Wedata.v20210820.models.CreateAndDDLSupport`
|
29789
|
+
# @param DataFromType: 资产来源 历史默认值都是CRAWLER
|
29790
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
29791
|
+
# @type DataFromType: String
|
29792
|
+
# @param EngineOwner: 引擎侧责任人
|
29793
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
29794
|
+
# @type EngineOwner: String
|
29795
|
+
# @param DataLayerUuid: 数据分层UUID
|
29796
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
29797
|
+
# @type DataLayerUuid: String
|
29798
|
+
# @param DataLayerName: 数据分层名称
|
29799
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
29800
|
+
# @type DataLayerName: String
|
28856
29801
|
# @param ColumnCount: 字段数量
|
28857
29802
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
28858
29803
|
# @type ColumnCount: Integer
|
28859
29804
|
|
28860
|
-
attr_accessor :TableId, :TableName, :TableOwnerName, :DatasourceId, :ClusterName, :DatasourceName, :DatabaseName, :TablePath, :TableNameCn, :MetastoreId, :MetastoreType, :Description, :ColumnSeparator, :StorageFormat, :StorageSize, :TableType, :CreateTime, :ModifyTime, :DdlModifyTime, :LastAccessTime, :ProjectName, :BizCatalogIds, :BizCatalogNames, :HasFavorite, :LifeCycleTime, :StorageSizeWithUnit, :InstanceId, :TechnologyType, :TableNameEn, :ProjectId, :Partitions, :ReplicationFactor, :ProjectDisplayName, :DataModifyTime, :ClusterId, :HasAdminAuthority, :DatasourceDisplayName, :DatabaseId, :FavoriteCount, :LikeCount, :HasLike, :TablePropertyScore, :TableHeat, :OwnerProjectId, :TableOwnerId, :DataSourceCategory, :Columns, :MetaCrawlType, :IsView, :Location, :IsPartitionTable, :PartitionColumns, :PartitionExpireDays, :TableProperties, :Environment, :Schema, :CollectDatasourceList, :CollectJobId, :CollectJobName, :Urn, :HasBizPermission, :OwnerByEngine, :ErrorTips, :IfSupportCreateAndDDL, :ColumnCount
|
29805
|
+
attr_accessor :TableId, :TableName, :TableOwnerName, :DatasourceId, :ClusterName, :DatasourceName, :DatabaseName, :TablePath, :TableNameCn, :MetastoreId, :MetastoreType, :Description, :ColumnSeparator, :StorageFormat, :StorageSize, :TableType, :CreateTime, :ModifyTime, :DdlModifyTime, :LastAccessTime, :ProjectName, :BizCatalogIds, :BizCatalogNames, :HasFavorite, :LifeCycleTime, :StorageSizeWithUnit, :InstanceId, :TechnologyType, :TableNameEn, :ProjectId, :Partitions, :ReplicationFactor, :ProjectDisplayName, :DataModifyTime, :ClusterId, :HasAdminAuthority, :DatasourceDisplayName, :DatabaseId, :FavoriteCount, :LikeCount, :HasLike, :TablePropertyScore, :TableHeat, :OwnerProjectId, :TableOwnerId, :DataSourceCategory, :Columns, :MetaCrawlType, :IsView, :Location, :IsPartitionTable, :PartitionColumns, :PartitionExpireDays, :TableProperties, :Environment, :Schema, :CollectDatasourceList, :CollectJobId, :CollectJobName, :Urn, :HasBizPermission, :OwnerByEngine, :ErrorTips, :IfSupportCreateAndDDL, :DataFromType, :EngineOwner, :DataLayerUuid, :DataLayerName, :ColumnCount
|
28861
29806
|
|
28862
|
-
def initialize(tableid=nil, tablename=nil, tableownername=nil, datasourceid=nil, clustername=nil, datasourcename=nil, databasename=nil, tablepath=nil, tablenamecn=nil, metastoreid=nil, metastoretype=nil, description=nil, columnseparator=nil, storageformat=nil, storagesize=nil, tabletype=nil, createtime=nil, modifytime=nil, ddlmodifytime=nil, lastaccesstime=nil, projectname=nil, bizcatalogids=nil, bizcatalognames=nil, hasfavorite=nil, lifecycletime=nil, storagesizewithunit=nil, instanceid=nil, technologytype=nil, tablenameen=nil, projectid=nil, partitions=nil, replicationfactor=nil, projectdisplayname=nil, datamodifytime=nil, clusterid=nil, hasadminauthority=nil, datasourcedisplayname=nil, databaseid=nil, favoritecount=nil, likecount=nil, haslike=nil, tablepropertyscore=nil, tableheat=nil, ownerprojectid=nil, tableownerid=nil, datasourcecategory=nil, columns=nil, metacrawltype=nil, isview=nil, location=nil, ispartitiontable=nil, partitioncolumns=nil, partitionexpiredays=nil, tableproperties=nil, environment=nil, schema=nil, collectdatasourcelist=nil, collectjobid=nil, collectjobname=nil, urn=nil, hasbizpermission=nil, ownerbyengine=nil, errortips=nil, ifsupportcreateandddl=nil, columncount=nil)
|
29807
|
+
def initialize(tableid=nil, tablename=nil, tableownername=nil, datasourceid=nil, clustername=nil, datasourcename=nil, databasename=nil, tablepath=nil, tablenamecn=nil, metastoreid=nil, metastoretype=nil, description=nil, columnseparator=nil, storageformat=nil, storagesize=nil, tabletype=nil, createtime=nil, modifytime=nil, ddlmodifytime=nil, lastaccesstime=nil, projectname=nil, bizcatalogids=nil, bizcatalognames=nil, hasfavorite=nil, lifecycletime=nil, storagesizewithunit=nil, instanceid=nil, technologytype=nil, tablenameen=nil, projectid=nil, partitions=nil, replicationfactor=nil, projectdisplayname=nil, datamodifytime=nil, clusterid=nil, hasadminauthority=nil, datasourcedisplayname=nil, databaseid=nil, favoritecount=nil, likecount=nil, haslike=nil, tablepropertyscore=nil, tableheat=nil, ownerprojectid=nil, tableownerid=nil, datasourcecategory=nil, columns=nil, metacrawltype=nil, isview=nil, location=nil, ispartitiontable=nil, partitioncolumns=nil, partitionexpiredays=nil, tableproperties=nil, environment=nil, schema=nil, collectdatasourcelist=nil, collectjobid=nil, collectjobname=nil, urn=nil, hasbizpermission=nil, ownerbyengine=nil, errortips=nil, ifsupportcreateandddl=nil, datafromtype=nil, engineowner=nil, datalayeruuid=nil, datalayername=nil, columncount=nil)
|
28863
29808
|
@TableId = tableid
|
28864
29809
|
@TableName = tablename
|
28865
29810
|
@TableOwnerName = tableownername
|
@@ -28924,6 +29869,10 @@ module TencentCloud
|
|
28924
29869
|
@OwnerByEngine = ownerbyengine
|
28925
29870
|
@ErrorTips = errortips
|
28926
29871
|
@IfSupportCreateAndDDL = ifsupportcreateandddl
|
29872
|
+
@DataFromType = datafromtype
|
29873
|
+
@EngineOwner = engineowner
|
29874
|
+
@DataLayerUuid = datalayeruuid
|
29875
|
+
@DataLayerName = datalayername
|
28927
29876
|
@ColumnCount = columncount
|
28928
29877
|
end
|
28929
29878
|
|
@@ -29022,6 +29971,10 @@ module TencentCloud
|
|
29022
29971
|
@IfSupportCreateAndDDL = CreateAndDDLSupport.new
|
29023
29972
|
@IfSupportCreateAndDDL.deserialize(params['IfSupportCreateAndDDL'])
|
29024
29973
|
end
|
29974
|
+
@DataFromType = params['DataFromType']
|
29975
|
+
@EngineOwner = params['EngineOwner']
|
29976
|
+
@DataLayerUuid = params['DataLayerUuid']
|
29977
|
+
@DataLayerName = params['DataLayerName']
|
29025
29978
|
@ColumnCount = params['ColumnCount']
|
29026
29979
|
end
|
29027
29980
|
end
|
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.1040
|
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-04-
|
11
|
+
date: 2025-04-14 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/tencentcloud-sdk-wedata.rb
|
36
37
|
- lib/v20210820/client.rb
|
37
38
|
- lib/v20210820/models.rb
|
38
|
-
- lib/tencentcloud-sdk-wedata.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|