tencentcloud-sdk-wedata 3.0.1196 → 3.0.1199

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: 5dfb05287f343ac17e936be4790060e91453b909
4
- data.tar.gz: 4c8da9d864ed2f101294f69bff4020d12a161ce5
3
+ metadata.gz: ca29439ee7a1310fdaed1cf525aa0cfd4aa08623
4
+ data.tar.gz: 8c7a2cea4bdd9ae34be61caf814fca17c191cfe6
5
5
  SHA512:
6
- metadata.gz: ca2755c494880fb8377eff9af63ad3bd4a9b3c54978bee4ac0c59f40e5cfcfda83c8baac21314ce091cf2c644efd161d2e33a0b7df93ad92eda842802d4c9e4c
7
- data.tar.gz: 3a201e16e58ed71a495ba8e0313cd95f8aa282dc12740a48dcee3c93fb6d4dba3da539c2871562abf08d4666c3c36ce9b779882ecad0ffa2e02c199296b14756
6
+ metadata.gz: 9b0e02203ea028b536a53b2c7d59c3023132fecba07e4b7266d1aa3b4a5f8e026e3840e9efda68695279348748f3e38ad58b60ba0f2ba7b6ebca4daf512b8393
7
+ data.tar.gz: 9a19ada213d47c7328ef3991072f18a2861ae4e757d51e14a186a38ff210fb544a61d6b1a33ce30ae230d2f8422232433856a4ccd991eb5d47415e8b238c2fbe
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1196
1
+ 3.0.1199
@@ -2,12 +2,12 @@
2
2
 
3
3
  require 'tencentcloud-sdk-common'
4
4
 
5
- require_relative 'v20210820/client'
6
- require_relative 'v20210820/models'
7
-
8
5
  require_relative 'v20250806/client'
9
6
  require_relative 'v20250806/models'
10
7
 
8
+ require_relative 'v20210820/client'
9
+ require_relative 'v20210820/models'
10
+
11
11
  module TencentCloud
12
12
  module Wedata
13
13
  end
@@ -293,6 +293,30 @@ module TencentCloud
293
293
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
294
  end
295
295
 
296
+ # 创建质量规则接口
297
+
298
+ # @param request: Request instance for CreateQualityRule.
299
+ # @type request: :class:`Tencentcloud::wedata::V20250806::CreateQualityRuleRequest`
300
+ # @rtype: :class:`Tencentcloud::wedata::V20250806::CreateQualityRuleResponse`
301
+ def CreateQualityRule(request)
302
+ body = send_request('CreateQualityRule', request.serialize)
303
+ response = JSON.parse(body)
304
+ if response['Response'].key?('Error') == false
305
+ model = CreateQualityRuleResponse.new
306
+ model.deserialize(response['Response'])
307
+ model
308
+ else
309
+ code = response['Response']['Error']['Code']
310
+ message = response['Response']['Error']['Message']
311
+ reqid = response['Response']['RequestId']
312
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
313
+ end
314
+ rescue TencentCloud::Common::TencentCloudSDKException => e
315
+ raise e
316
+ rescue StandardError => e
317
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
+ end
319
+
296
320
  # 创建监控任务
297
321
 
298
322
  # @param request: Request instance for CreateQualityRuleGroup.
@@ -773,6 +797,30 @@ module TencentCloud
773
797
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
798
  end
775
799
 
800
+ # 删除项目
801
+
802
+ # @param request: Request instance for DeleteProject.
803
+ # @type request: :class:`Tencentcloud::wedata::V20250806::DeleteProjectRequest`
804
+ # @rtype: :class:`Tencentcloud::wedata::V20250806::DeleteProjectResponse`
805
+ def DeleteProject(request)
806
+ body = send_request('DeleteProject', request.serialize)
807
+ response = JSON.parse(body)
808
+ if response['Response'].key?('Error') == false
809
+ model = DeleteProjectResponse.new
810
+ model.deserialize(response['Response'])
811
+ model
812
+ else
813
+ code = response['Response']['Error']['Code']
814
+ message = response['Response']['Error']['Message']
815
+ reqid = response['Response']['RequestId']
816
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
817
+ end
818
+ rescue TencentCloud::Common::TencentCloudSDKException => e
819
+ raise e
820
+ rescue StandardError => e
821
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
822
+ end
823
+
776
824
  # 删除项目用户
777
825
 
778
826
  # @param request: Request instance for DeleteProjectMember.
@@ -2693,6 +2741,33 @@ module TencentCloud
2693
2741
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2694
2742
  end
2695
2743
 
2744
+ # 【过滤条件】
2745
+ # {表idTableId,支持匹配} {任务负责人Operator,支持匹配}
2746
+ # 【必要字段】
2747
+ # {数据来源TableId}
2748
+
2749
+ # @param request: Request instance for ListQualityRuleGroups.
2750
+ # @type request: :class:`Tencentcloud::wedata::V20250806::ListQualityRuleGroupsRequest`
2751
+ # @rtype: :class:`Tencentcloud::wedata::V20250806::ListQualityRuleGroupsResponse`
2752
+ def ListQualityRuleGroups(request)
2753
+ body = send_request('ListQualityRuleGroups', request.serialize)
2754
+ response = JSON.parse(body)
2755
+ if response['Response'].key?('Error') == false
2756
+ model = ListQualityRuleGroupsResponse.new
2757
+ model.deserialize(response['Response'])
2758
+ model
2759
+ else
2760
+ code = response['Response']['Error']['Code']
2761
+ message = response['Response']['Error']['Message']
2762
+ reqid = response['Response']['RequestId']
2763
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2764
+ end
2765
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2766
+ raise e
2767
+ rescue StandardError => e
2768
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2769
+ end
2770
+
2696
2771
  # 查询监控列表
2697
2772
 
2698
2773
  # @param request: Request instance for ListQualityRuleGroupsTable.
@@ -2089,6 +2089,113 @@ module TencentCloud
2089
2089
  end
2090
2090
  end
2091
2091
 
2092
+ # CreateQualityRule请求参数结构体
2093
+ class CreateQualityRuleRequest < TencentCloud::Common::AbstractModel
2094
+ # @param ProjectId: 项目id
2095
+ # @type ProjectId: String
2096
+ # @param CreateRuleScene: 规则创建场景
2097
+ # 1:单表多规则
2098
+ # 2:多表单规则
2099
+ # 3:克隆创建规则
2100
+ # @type CreateRuleScene: Integer
2101
+ # @param RuleBOList: 单条规则信息集合
2102
+ # @type RuleBOList: Array
2103
+
2104
+ attr_accessor :ProjectId, :CreateRuleScene, :RuleBOList
2105
+
2106
+ def initialize(projectid=nil, createrulescene=nil, rulebolist=nil)
2107
+ @ProjectId = projectid
2108
+ @CreateRuleScene = createrulescene
2109
+ @RuleBOList = rulebolist
2110
+ end
2111
+
2112
+ def deserialize(params)
2113
+ @ProjectId = params['ProjectId']
2114
+ @CreateRuleScene = params['CreateRuleScene']
2115
+ unless params['RuleBOList'].nil?
2116
+ @RuleBOList = []
2117
+ params['RuleBOList'].each do |i|
2118
+ qualityruleinfo_tmp = QualityRuleInfo.new
2119
+ qualityruleinfo_tmp.deserialize(i)
2120
+ @RuleBOList << qualityruleinfo_tmp
2121
+ end
2122
+ end
2123
+ end
2124
+ end
2125
+
2126
+ # CreateQualityRule返回参数结构体
2127
+ class CreateQualityRuleResponse < TencentCloud::Common::AbstractModel
2128
+ # @param Data: 规则创建结果
2129
+ # 注意:此字段可能返回 null,表示取不到有效值。
2130
+ # @type Data: :class:`Tencentcloud::Wedata.v20250806.models.CreateQualityRuleVO`
2131
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2132
+ # @type RequestId: String
2133
+
2134
+ attr_accessor :Data, :RequestId
2135
+
2136
+ def initialize(data=nil, requestid=nil)
2137
+ @Data = data
2138
+ @RequestId = requestid
2139
+ end
2140
+
2141
+ def deserialize(params)
2142
+ unless params['Data'].nil?
2143
+ @Data = CreateQualityRuleVO.new
2144
+ @Data.deserialize(params['Data'])
2145
+ end
2146
+ @RequestId = params['RequestId']
2147
+ end
2148
+ end
2149
+
2150
+ # 数据质量规则批量创建结果
2151
+ class CreateQualityRuleVO < TencentCloud::Common::AbstractModel
2152
+ # @param Msg: 操作结果文案
2153
+ # 注意:此字段可能返回 null,表示取不到有效值。
2154
+ # @type Msg: String
2155
+ # @param Results: 单条数据新增结果对象
2156
+ # 注意:此字段可能返回 null,表示取不到有效值。
2157
+ # @type Results: Array
2158
+ # @param SumCount: 总新增条数
2159
+ # 注意:此字段可能返回 null,表示取不到有效值。
2160
+ # @type SumCount: Integer
2161
+ # @param SuccessCount: 新增成功条数
2162
+ # 注意:此字段可能返回 null,表示取不到有效值。
2163
+ # @type SuccessCount: Integer
2164
+ # @param FailedCount: 新增失败条数
2165
+ # 注意:此字段可能返回 null,表示取不到有效值。
2166
+ # @type FailedCount: Integer
2167
+ # @param SuccessRuleIds: 新增成功的 ruleId集合
2168
+ # 注意:此字段可能返回 null,表示取不到有效值。
2169
+ # @type SuccessRuleIds: Array
2170
+
2171
+ attr_accessor :Msg, :Results, :SumCount, :SuccessCount, :FailedCount, :SuccessRuleIds
2172
+
2173
+ def initialize(msg=nil, results=nil, sumcount=nil, successcount=nil, failedcount=nil, successruleids=nil)
2174
+ @Msg = msg
2175
+ @Results = results
2176
+ @SumCount = sumcount
2177
+ @SuccessCount = successcount
2178
+ @FailedCount = failedcount
2179
+ @SuccessRuleIds = successruleids
2180
+ end
2181
+
2182
+ def deserialize(params)
2183
+ @Msg = params['Msg']
2184
+ unless params['Results'].nil?
2185
+ @Results = []
2186
+ params['Results'].each do |i|
2187
+ qualityrulecreateresult_tmp = QualityRuleCreateResult.new
2188
+ qualityrulecreateresult_tmp.deserialize(i)
2189
+ @Results << qualityrulecreateresult_tmp
2190
+ end
2191
+ end
2192
+ @SumCount = params['SumCount']
2193
+ @SuccessCount = params['SuccessCount']
2194
+ @FailedCount = params['FailedCount']
2195
+ @SuccessRuleIds = params['SuccessRuleIds']
2196
+ end
2197
+ end
2198
+
2092
2199
  # CreateResourceFile请求参数结构体
2093
2200
  class CreateResourceFileRequest < TencentCloud::Common::AbstractModel
2094
2201
  # @param ProjectId: 项目ID
@@ -4370,6 +4477,45 @@ module TencentCloud
4370
4477
  end
4371
4478
  end
4372
4479
 
4480
+ # DeleteProject请求参数结构体
4481
+ class DeleteProjectRequest < TencentCloud::Common::AbstractModel
4482
+ # @param ProjectId: 删除的项目ID
4483
+ # @type ProjectId: String
4484
+
4485
+ attr_accessor :ProjectId
4486
+
4487
+ def initialize(projectid=nil)
4488
+ @ProjectId = projectid
4489
+ end
4490
+
4491
+ def deserialize(params)
4492
+ @ProjectId = params['ProjectId']
4493
+ end
4494
+ end
4495
+
4496
+ # DeleteProject返回参数结构体
4497
+ class DeleteProjectResponse < TencentCloud::Common::AbstractModel
4498
+ # @param Data: 删除结果
4499
+ # @type Data: :class:`Tencentcloud::Wedata.v20250806.models.ProjectResult`
4500
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4501
+ # @type RequestId: String
4502
+
4503
+ attr_accessor :Data, :RequestId
4504
+
4505
+ def initialize(data=nil, requestid=nil)
4506
+ @Data = data
4507
+ @RequestId = requestid
4508
+ end
4509
+
4510
+ def deserialize(params)
4511
+ unless params['Data'].nil?
4512
+ @Data = ProjectResult.new
4513
+ @Data.deserialize(params['Data'])
4514
+ end
4515
+ @RequestId = params['RequestId']
4516
+ end
4517
+ end
4518
+
4373
4519
  # DeleteQualityRuleGroup请求参数结构体
4374
4520
  class DeleteQualityRuleGroupRequest < TencentCloud::Common::AbstractModel
4375
4521
  # @param ProjectId: 项目Id
@@ -10680,6 +10826,123 @@ module TencentCloud
10680
10826
  end
10681
10827
  end
10682
10828
 
10829
+ # ListQualityRuleGroups请求参数结构体
10830
+ class ListQualityRuleGroupsRequest < TencentCloud::Common::AbstractModel
10831
+ # @param ProjectId: 项目Id
10832
+ # @type ProjectId: String
10833
+ # @param PageNumber: 分页序号,默认1
10834
+ # @type PageNumber: Integer
10835
+ # @param PageSize: 分页大小,默认10
10836
+ # @type PageSize: Integer
10837
+ # @param Filters: 过滤条件,每次请求的Filters的上限为10,Filter.Values的上限为5,可选过滤条件如下:
10838
+
10839
+ # 1. RuleGroupId
10840
+ # 描述:规则组ID。
10841
+ # 取值:整数
10842
+
10843
+ # 2. RuleGroupName
10844
+ # 描述:规则组名称。
10845
+ # 取值:字符串
10846
+
10847
+ # 3. TableId
10848
+ # 描述:数据源表id
10849
+ # 取值:字符串
10850
+
10851
+ # 4. TableName
10852
+ # 描述:数据源表名称,支持模糊匹配。
10853
+ # 取值:字符串
10854
+
10855
+ # 5. TableOwnerName
10856
+ # 描述:表负责人名称,支持模糊匹配。
10857
+ # 取值:字符串
10858
+
10859
+
10860
+ # 6. DatasourceType
10861
+ # 描述:数据源类型。
10862
+ # 取值:1 - MYSQL;2 - HIVE;3 - DLC;4 - GBASE;5 - TCHouse-P/CDW;6 - ICEBERG;7 - DORIS;8 - TCHouse-D;9 - EMR_STARROCKS;10 - TBDS_STARROCKS;11 - TCHouse-X
10863
+
10864
+ # 7. DatasourceId
10865
+ # 描述:数据源ID。
10866
+ # 取值:字符串
10867
+
10868
+ # 8. DatabaseName
10869
+ # 描述:数据库名称。
10870
+ # 取值:字符串
10871
+
10872
+ # 9. SchemaName
10873
+ # 描述:Schema名称。
10874
+ # 取值:字符串
10875
+
10876
+ # 10. CatalogName
10877
+ # 描述:数据目录名称。
10878
+ # 取值:字符串
10879
+
10880
+ # @type Filters: Array
10881
+ # @param OrderFields: 通用排序,支持的排序字段:
10882
+ # CreateTime - 按创建时间排序
10883
+ # UpdateTime - 按更新时间排序(默认)
10884
+ # 排序方向:
10885
+ # 1 - 升序(ASC)
10886
+ # 2 - 降序(DESC)
10887
+ # @type OrderFields: Array
10888
+
10889
+ attr_accessor :ProjectId, :PageNumber, :PageSize, :Filters, :OrderFields
10890
+
10891
+ def initialize(projectid=nil, pagenumber=nil, pagesize=nil, filters=nil, orderfields=nil)
10892
+ @ProjectId = projectid
10893
+ @PageNumber = pagenumber
10894
+ @PageSize = pagesize
10895
+ @Filters = filters
10896
+ @OrderFields = orderfields
10897
+ end
10898
+
10899
+ def deserialize(params)
10900
+ @ProjectId = params['ProjectId']
10901
+ @PageNumber = params['PageNumber']
10902
+ @PageSize = params['PageSize']
10903
+ unless params['Filters'].nil?
10904
+ @Filters = []
10905
+ params['Filters'].each do |i|
10906
+ filter_tmp = Filter.new
10907
+ filter_tmp.deserialize(i)
10908
+ @Filters << filter_tmp
10909
+ end
10910
+ end
10911
+ unless params['OrderFields'].nil?
10912
+ @OrderFields = []
10913
+ params['OrderFields'].each do |i|
10914
+ orderfield_tmp = OrderField.new
10915
+ orderfield_tmp.deserialize(i)
10916
+ @OrderFields << orderfield_tmp
10917
+ end
10918
+ end
10919
+ end
10920
+ end
10921
+
10922
+ # ListQualityRuleGroups返回参数结构体
10923
+ class ListQualityRuleGroupsResponse < TencentCloud::Common::AbstractModel
10924
+ # @param Data: 任务列表
10925
+ # 注意:此字段可能返回 null,表示取不到有效值。
10926
+ # @type Data: :class:`Tencentcloud::Wedata.v20250806.models.QualityRuleGroupPage`
10927
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10928
+ # @type RequestId: String
10929
+
10930
+ attr_accessor :Data, :RequestId
10931
+
10932
+ def initialize(data=nil, requestid=nil)
10933
+ @Data = data
10934
+ @RequestId = requestid
10935
+ end
10936
+
10937
+ def deserialize(params)
10938
+ unless params['Data'].nil?
10939
+ @Data = QualityRuleGroupPage.new
10940
+ @Data.deserialize(params['Data'])
10941
+ end
10942
+ @RequestId = params['RequestId']
10943
+ end
10944
+ end
10945
+
10683
10946
  # ListQualityRuleGroupsTable请求参数结构体
10684
10947
  class ListQualityRuleGroupsTableRequest < TencentCloud::Common::AbstractModel
10685
10948
  # @param ProjectId: 项目Id
@@ -14458,10 +14721,10 @@ module TencentCloud
14458
14721
 
14459
14722
  # 比较条件
14460
14723
  class QualityCompareRuleItem < TencentCloud::Common::AbstractModel
14461
- # @param CompareType: 比较类型 1.固定值 2.波动值 3.数值范围比较 4.枚举范围比较 5.不用比较
14724
+ # @param CompareType: 比较类型【入参必填】,1.固定值 2.波动值 3.数值范围比较 4.枚举范围比较 5.不用比较 6.字段数据相关性 7.公平性
14462
14725
  # 注意:此字段可能返回 null,表示取不到有效值。
14463
14726
  # @type CompareType: Integer
14464
- # @param Operator: 比较操作类型
14727
+ # @param Operator: 比较操作类型【入参条件必填】,CompareType ∈ {1,2,6,7} 时必填
14465
14728
  # < <= == => > !=
14466
14729
  # IRLCRO:在区间内(左闭右开)
14467
14730
  # IRLORC:在区间内(左开右闭)
@@ -14473,10 +14736,23 @@ module TencentCloud
14473
14736
  # NRLORO:不在区间内(左开右开)
14474
14737
  # 注意:此字段可能返回 null,表示取不到有效值。
14475
14738
  # @type Operator: String
14476
- # @param ValueComputeType: 质量统计值类型 1.绝对值 2.上升 3. 下降 4._C包含 5. N_C不包含
14739
+ # @param ValueComputeType: 质量统计值类型【入参条件必填】,当 CompareType ∈ {2,3,7} 时必填
14740
+ # 可选值:
14741
+ # 当 compareType = 2(波动值) 时:
14742
+ # - 1 = 绝对值(ABS)
14743
+ # - 2 = 上升(ASCEND)
14744
+ # - 3 = 下降(DESCEND)
14745
+
14746
+ # 当 compareType = 3(数值范围) 时:
14747
+ # - 4 = 范围内(WITH_IN_RANGE)
14748
+ # - 5 = 范围外(OUT_OF_RANGE)
14749
+
14750
+ # 当 compareType = 7(公平性) 时:
14751
+ # - 6 = 公平率(FAIRNESS_RATE)
14752
+ # - 7 = 公平差(FAIRNESS_GAP)
14477
14753
  # 注意:此字段可能返回 null,表示取不到有效值。
14478
14754
  # @type ValueComputeType: Integer
14479
- # @param ValueList: 比较阈值列表
14755
+ # @param ValueList: 比较阈值列表【入参必填】
14480
14756
  # 注意:此字段可能返回 null,表示取不到有效值。
14481
14757
  # @type ValueList: Array
14482
14758
 
@@ -14905,6 +15181,48 @@ module TencentCloud
14905
15181
  end
14906
15182
  end
14907
15183
 
15184
+ # 批量创建规则时的单条数据创建结果
15185
+ class QualityRuleCreateResult < TencentCloud::Common::AbstractModel
15186
+ # @param Msg: 操作结果文案
15187
+ # 注意:此字段可能返回 null,表示取不到有效值。
15188
+ # @type Msg: String
15189
+ # @param Success: 操作结果
15190
+ # 注意:此字段可能返回 null,表示取不到有效值。
15191
+ # @type Success: Boolean
15192
+ # @param Name: 规则名
15193
+ # 注意:此字段可能返回 null,表示取不到有效值。
15194
+ # @type Name: String
15195
+ # @param RuleGroupId: 规则组id
15196
+ # 注意:此字段可能返回 null,表示取不到有效值。
15197
+ # @type RuleGroupId: Integer
15198
+ # @param RuleGroupTableId: 本地表id
15199
+ # 注意:此字段可能返回 null,表示取不到有效值。
15200
+ # @type RuleGroupTableId: Integer
15201
+ # @param RuleId: 规则id
15202
+ # 注意:此字段可能返回 null,表示取不到有效值。
15203
+ # @type RuleId: Integer
15204
+
15205
+ attr_accessor :Msg, :Success, :Name, :RuleGroupId, :RuleGroupTableId, :RuleId
15206
+
15207
+ def initialize(msg=nil, success=nil, name=nil, rulegroupid=nil, rulegrouptableid=nil, ruleid=nil)
15208
+ @Msg = msg
15209
+ @Success = success
15210
+ @Name = name
15211
+ @RuleGroupId = rulegroupid
15212
+ @RuleGroupTableId = rulegrouptableid
15213
+ @RuleId = ruleid
15214
+ end
15215
+
15216
+ def deserialize(params)
15217
+ @Msg = params['Msg']
15218
+ @Success = params['Success']
15219
+ @Name = params['Name']
15220
+ @RuleGroupId = params['RuleGroupId']
15221
+ @RuleGroupTableId = params['RuleGroupTableId']
15222
+ @RuleId = params['RuleId']
15223
+ end
15224
+ end
15225
+
14908
15226
  # 规则执行结果
14909
15227
  class QualityRuleExecResult < TencentCloud::Common::AbstractModel
14910
15228
  # @param RuleExecId: 规则执行ID
@@ -15139,23 +15457,206 @@ module TencentCloud
15139
15457
  end
15140
15458
  end
15141
15459
 
15142
- # 任务配置
15143
- class QualityRuleGroupConfig < TencentCloud::Common::AbstractModel
15144
- # @param AnalysisType: 分析类型,可选值:
15145
- # INFERENCE-推理表
15146
- # TIME_SERIES-时序表
15147
- # SNAPSHOT-快照表
15460
+ # 数据质量监控任务
15461
+ class QualityRuleGroup < TencentCloud::Common::AbstractModel
15462
+ # @param RuleGroupId: 规则组Id
15148
15463
  # 注意:此字段可能返回 null,表示取不到有效值。
15149
- # @type AnalysisType: String
15150
- # @param ModelMonitorType: 模型检测类型,分析类型为推理表(INFERENCE)时必填,可选值:
15151
- # CLAASSIFICATION-分类
15152
- # REGRESSION-回归
15464
+ # @type RuleGroupId: Integer
15465
+ # @param DatasourceId: 数据源Id
15153
15466
  # 注意:此字段可能返回 null,表示取不到有效值。
15154
- # @type ModelMonitorType: String
15155
- # @param PredictColumn: 预测列
15467
+ # @type DatasourceId: String
15468
+ # @param DatasourceName: 数据源名称
15156
15469
  # 注意:此字段可能返回 null,表示取不到有效值。
15157
- # @type PredictColumn: String
15158
- # @param PredictColumnType: 预测列类型
15470
+ # @type DatasourceName: String
15471
+ # @param DatasourceType: 数据源类型
15472
+ # 注意:此字段可能返回 null,表示取不到有效值。
15473
+ # @type DatasourceType: Integer
15474
+ # @param MonitorType: 监控类型 1.未配置, 2.关联生产调度, 3.离线周期检测
15475
+ # 注意:此字段可能返回 null,表示取不到有效值。
15476
+ # @type MonitorType: Integer
15477
+ # @param UpdateTime: 更新时间
15478
+ # 注意:此字段可能返回 null,表示取不到有效值。
15479
+ # @type UpdateTime: String
15480
+ # @param TableName: 关联数据表名称
15481
+ # 注意:此字段可能返回 null,表示取不到有效值。
15482
+ # @type TableName: String
15483
+ # @param TableId: 关联数据表Id
15484
+ # 注意:此字段可能返回 null,表示取不到有效值。
15485
+ # @type TableId: String
15486
+ # @param TableOwnerName: 关联数据表负责人
15487
+ # 注意:此字段可能返回 null,表示取不到有效值。
15488
+ # @type TableOwnerName: String
15489
+ # @param ExecStrategy: 执行策略
15490
+ # 注意:此字段可能返回 null,表示取不到有效值。
15491
+ # @type ExecStrategy: :class:`Tencentcloud::Wedata.v20250806.models.QualityRuleGroupExecStrategy`
15492
+ # @param Subscription: 订阅信息
15493
+ # 注意:此字段可能返回 null,表示取不到有效值。
15494
+ # @type Subscription: :class:`Tencentcloud::Wedata.v20250806.models.QualityRuleGroupSubscribe`
15495
+ # @param DatabaseId: 数据库id
15496
+ # 注意:此字段可能返回 null,表示取不到有效值。
15497
+ # @type DatabaseId: String
15498
+ # @param DatabaseName: 数据库名称
15499
+ # 注意:此字段可能返回 null,表示取不到有效值。
15500
+ # @type DatabaseName: String
15501
+ # @param SchemaName: 模式名称
15502
+ # 注意:此字段可能返回 null,表示取不到有效值。
15503
+ # @type SchemaName: String
15504
+ # @param Permission: 是否有权限
15505
+ # 注意:此字段可能返回 null,表示取不到有效值。
15506
+ # @type Permission: Boolean
15507
+ # @param RuleCount: 已经配置的规则数量
15508
+ # 注意:此字段可能返回 null,表示取不到有效值。
15509
+ # @type RuleCount: Integer
15510
+ # @param MonitorStatus: 监控状态
15511
+ # 注意:此字段可能返回 null,表示取不到有效值。
15512
+ # @type MonitorStatus: Boolean
15513
+ # @param TableOwnerUserId: 表负责人UserId
15514
+ # 注意:此字段可能返回 null,表示取不到有效值。
15515
+ # @type TableOwnerUserId: Integer
15516
+ # @param InstanceId: 实例ID
15517
+ # 注意:此字段可能返回 null,表示取不到有效值。
15518
+ # @type InstanceId: String
15519
+ # @param CreateTime: 创建时间
15520
+ # 注意:此字段可能返回 null,表示取不到有效值。
15521
+ # @type CreateTime: String
15522
+ # @param StrategyConfig: 是否已配置执行策略
15523
+ # 注意:此字段可能返回 null,表示取不到有效值。
15524
+ # @type StrategyConfig: Boolean
15525
+ # @param SubscribeConfig: 是否已配置执行策略
15526
+ # 注意:此字段可能返回 null,表示取不到有效值。
15527
+ # @type SubscribeConfig: Boolean
15528
+ # @param DsEnvType: 数据源环境:0或者未返回.未定义,1.生产 2.开发
15529
+ # 注意:此字段可能返回 null,表示取不到有效值。
15530
+ # @type DsEnvType: Integer
15531
+ # @param ClusterDeployType: EMR集群部署方式:CVM/TKE
15532
+ # 注意:此字段可能返回 null,表示取不到有效值。
15533
+ # @type ClusterDeployType: String
15534
+ # @param Name: 任务名称
15535
+ # 注意:此字段可能返回 null,表示取不到有效值。
15536
+ # @type Name: String
15537
+ # @param ExecDetail: 执行详情
15538
+ # 注意:此字段可能返回 null,表示取不到有效值。
15539
+ # @type ExecDetail: String
15540
+ # @param PipelineTaskCount: 事中关联任务数量
15541
+ # 注意:此字段可能返回 null,表示取不到有效值。
15542
+ # @type PipelineTaskCount: Integer
15543
+ # @param EnableRuleCount: 有效规则数
15544
+ # 注意:此字段可能返回 null,表示取不到有效值。
15545
+ # @type EnableRuleCount: Integer
15546
+ # @param Description: 任务描述
15547
+ # 注意:此字段可能返回 null,表示取不到有效值。
15548
+ # @type Description: String
15549
+ # @param CreateUserName: 监控创建人
15550
+ # 注意:此字段可能返回 null,表示取不到有效值。
15551
+ # @type CreateUserName: String
15552
+ # @param GroupType: 任务类型
15553
+ # 注意:此字段可能返回 null,表示取不到有效值。
15554
+ # @type GroupType: String
15555
+ # @param AspectTaskId: 任务id
15556
+ # 注意:此字段可能返回 null,表示取不到有效值。
15557
+ # @type AspectTaskId: String
15558
+ # @param CatalogName: 数据目录名称
15559
+ # 注意:此字段可能返回 null,表示取不到有效值。
15560
+ # @type CatalogName: String
15561
+
15562
+ attr_accessor :RuleGroupId, :DatasourceId, :DatasourceName, :DatasourceType, :MonitorType, :UpdateTime, :TableName, :TableId, :TableOwnerName, :ExecStrategy, :Subscription, :DatabaseId, :DatabaseName, :SchemaName, :Permission, :RuleCount, :MonitorStatus, :TableOwnerUserId, :InstanceId, :CreateTime, :StrategyConfig, :SubscribeConfig, :DsEnvType, :ClusterDeployType, :Name, :ExecDetail, :PipelineTaskCount, :EnableRuleCount, :Description, :CreateUserName, :GroupType, :AspectTaskId, :CatalogName
15563
+
15564
+ def initialize(rulegroupid=nil, datasourceid=nil, datasourcename=nil, datasourcetype=nil, monitortype=nil, updatetime=nil, tablename=nil, tableid=nil, tableownername=nil, execstrategy=nil, subscription=nil, databaseid=nil, databasename=nil, schemaname=nil, permission=nil, rulecount=nil, monitorstatus=nil, tableowneruserid=nil, instanceid=nil, createtime=nil, strategyconfig=nil, subscribeconfig=nil, dsenvtype=nil, clusterdeploytype=nil, name=nil, execdetail=nil, pipelinetaskcount=nil, enablerulecount=nil, description=nil, createusername=nil, grouptype=nil, aspecttaskid=nil, catalogname=nil)
15565
+ @RuleGroupId = rulegroupid
15566
+ @DatasourceId = datasourceid
15567
+ @DatasourceName = datasourcename
15568
+ @DatasourceType = datasourcetype
15569
+ @MonitorType = monitortype
15570
+ @UpdateTime = updatetime
15571
+ @TableName = tablename
15572
+ @TableId = tableid
15573
+ @TableOwnerName = tableownername
15574
+ @ExecStrategy = execstrategy
15575
+ @Subscription = subscription
15576
+ @DatabaseId = databaseid
15577
+ @DatabaseName = databasename
15578
+ @SchemaName = schemaname
15579
+ @Permission = permission
15580
+ @RuleCount = rulecount
15581
+ @MonitorStatus = monitorstatus
15582
+ @TableOwnerUserId = tableowneruserid
15583
+ @InstanceId = instanceid
15584
+ @CreateTime = createtime
15585
+ @StrategyConfig = strategyconfig
15586
+ @SubscribeConfig = subscribeconfig
15587
+ @DsEnvType = dsenvtype
15588
+ @ClusterDeployType = clusterdeploytype
15589
+ @Name = name
15590
+ @ExecDetail = execdetail
15591
+ @PipelineTaskCount = pipelinetaskcount
15592
+ @EnableRuleCount = enablerulecount
15593
+ @Description = description
15594
+ @CreateUserName = createusername
15595
+ @GroupType = grouptype
15596
+ @AspectTaskId = aspecttaskid
15597
+ @CatalogName = catalogname
15598
+ end
15599
+
15600
+ def deserialize(params)
15601
+ @RuleGroupId = params['RuleGroupId']
15602
+ @DatasourceId = params['DatasourceId']
15603
+ @DatasourceName = params['DatasourceName']
15604
+ @DatasourceType = params['DatasourceType']
15605
+ @MonitorType = params['MonitorType']
15606
+ @UpdateTime = params['UpdateTime']
15607
+ @TableName = params['TableName']
15608
+ @TableId = params['TableId']
15609
+ @TableOwnerName = params['TableOwnerName']
15610
+ unless params['ExecStrategy'].nil?
15611
+ @ExecStrategy = QualityRuleGroupExecStrategy.new
15612
+ @ExecStrategy.deserialize(params['ExecStrategy'])
15613
+ end
15614
+ unless params['Subscription'].nil?
15615
+ @Subscription = QualityRuleGroupSubscribe.new
15616
+ @Subscription.deserialize(params['Subscription'])
15617
+ end
15618
+ @DatabaseId = params['DatabaseId']
15619
+ @DatabaseName = params['DatabaseName']
15620
+ @SchemaName = params['SchemaName']
15621
+ @Permission = params['Permission']
15622
+ @RuleCount = params['RuleCount']
15623
+ @MonitorStatus = params['MonitorStatus']
15624
+ @TableOwnerUserId = params['TableOwnerUserId']
15625
+ @InstanceId = params['InstanceId']
15626
+ @CreateTime = params['CreateTime']
15627
+ @StrategyConfig = params['StrategyConfig']
15628
+ @SubscribeConfig = params['SubscribeConfig']
15629
+ @DsEnvType = params['DsEnvType']
15630
+ @ClusterDeployType = params['ClusterDeployType']
15631
+ @Name = params['Name']
15632
+ @ExecDetail = params['ExecDetail']
15633
+ @PipelineTaskCount = params['PipelineTaskCount']
15634
+ @EnableRuleCount = params['EnableRuleCount']
15635
+ @Description = params['Description']
15636
+ @CreateUserName = params['CreateUserName']
15637
+ @GroupType = params['GroupType']
15638
+ @AspectTaskId = params['AspectTaskId']
15639
+ @CatalogName = params['CatalogName']
15640
+ end
15641
+ end
15642
+
15643
+ # 任务配置
15644
+ class QualityRuleGroupConfig < TencentCloud::Common::AbstractModel
15645
+ # @param AnalysisType: 分析类型,可选值:
15646
+ # INFERENCE-推理表
15647
+ # TIME_SERIES-时序表
15648
+ # SNAPSHOT-快照表
15649
+ # 注意:此字段可能返回 null,表示取不到有效值。
15650
+ # @type AnalysisType: String
15651
+ # @param ModelMonitorType: 模型检测类型,分析类型为推理表(INFERENCE)时必填,可选值:
15652
+ # CLAASSIFICATION-分类
15653
+ # REGRESSION-回归
15654
+ # 注意:此字段可能返回 null,表示取不到有效值。
15655
+ # @type ModelMonitorType: String
15656
+ # @param PredictColumn: 预测列
15657
+ # 注意:此字段可能返回 null,表示取不到有效值。
15658
+ # @type PredictColumn: String
15659
+ # @param PredictColumnType: 预测列类型
15159
15660
  # 注意:此字段可能返回 null,表示取不到有效值。
15160
15661
  # @type PredictColumnType: String
15161
15662
  # @param LabelColumn: 标签列
@@ -15352,7 +15853,7 @@ module TencentCloud
15352
15853
  # @param EngineParam: 引擎参数
15353
15854
  # 注意:此字段可能返回 null,表示取不到有效值。
15354
15855
  # @type EngineParam: String
15355
- # @param CatalogName: 数据目录名称,不填默认为DataLakeCatalog
15856
+ # @param CatalogName: 数据目录名称,不填默认为DataLakeCatalog(更新质量监控时该参数无效)
15356
15857
  # 注意:此字段可能返回 null,表示取不到有效值。
15357
15858
  # @type CatalogName: String
15358
15859
 
@@ -15431,6 +15932,35 @@ module TencentCloud
15431
15932
  end
15432
15933
  end
15433
15934
 
15935
+ # 质量监控分页
15936
+ class QualityRuleGroupPage < TencentCloud::Common::AbstractModel
15937
+ # @param TotalCount: 总数
15938
+ # 注意:此字段可能返回 null,表示取不到有效值。
15939
+ # @type TotalCount: Integer
15940
+ # @param Items: 质量监控列表
15941
+ # 注意:此字段可能返回 null,表示取不到有效值。
15942
+ # @type Items: Array
15943
+
15944
+ attr_accessor :TotalCount, :Items
15945
+
15946
+ def initialize(totalcount=nil, items=nil)
15947
+ @TotalCount = totalcount
15948
+ @Items = items
15949
+ end
15950
+
15951
+ def deserialize(params)
15952
+ @TotalCount = params['TotalCount']
15953
+ unless params['Items'].nil?
15954
+ @Items = []
15955
+ params['Items'].each do |i|
15956
+ qualityrulegroup_tmp = QualityRuleGroup.new
15957
+ qualityrulegroup_tmp.deserialize(i)
15958
+ @Items << qualityrulegroup_tmp
15959
+ end
15960
+ end
15961
+ end
15962
+ end
15963
+
15434
15964
  # 任务创建结果
15435
15965
  class QualityRuleGroupResult < TencentCloud::Common::AbstractModel
15436
15966
  # @param Id: 任务id
@@ -15695,6 +16225,213 @@ module TencentCloud
15695
16225
  end
15696
16226
  end
15697
16227
 
16228
+ # 数据质量规则
16229
+ class QualityRuleInfo < TencentCloud::Common::AbstractModel
16230
+ # @param Name: 规则名称
16231
+ # 注意:此字段可能返回 null,表示取不到有效值。
16232
+ # @type Name: String
16233
+ # @param Type: 规则类型
16234
+ # 1:系统模版
16235
+ # 2:自定义模版
16236
+ # 3:自定义SQL
16237
+ # 注意:此字段可能返回 null,表示取不到有效值。
16238
+ # @type Type: Integer
16239
+ # @param DatasourceId: 数据源Id
16240
+ # 注意:此字段可能返回 null,表示取不到有效值。
16241
+ # @type DatasourceId: String
16242
+ # @param DatabaseName: 数据库名称
16243
+ # 注意:此字段可能返回 null,表示取不到有效值。
16244
+ # @type DatabaseName: String
16245
+ # @param CompareRule: 报警触发条件
16246
+ # 注意:此字段可能返回 null,表示取不到有效值。
16247
+ # @type CompareRule: :class:`Tencentcloud::Wedata.v20250806.models.QualityCompareRule`
16248
+ # @param AlarmLevel: 报警触发级别 1.低, 2.中, 3.高
16249
+ # 注意:此字段可能返回 null,表示取不到有效值。
16250
+ # @type AlarmLevel: Integer
16251
+ # @param SourceEngineTypes: 该规则支持的执行引擎列表,可选值如下:
16252
+ # 1 - MYSQL
16253
+ # 2 - HIVE
16254
+ # 4 - SPARK
16255
+ # 8 - LIVY
16256
+ # 16 - DLC
16257
+ # 32 - GBASE
16258
+ # 64 - TCHouse-P
16259
+ # 128 - DORIS
16260
+ # 256 - TCHouse-D
16261
+ # 512 - EMR_STARROCKS
16262
+ # 1024 - TCHouse-X
16263
+ # 注意:此字段可能返回 null,表示取不到有效值。
16264
+ # @type SourceEngineTypes: Array
16265
+ # @param TableName: 表名称,TableId和TableName至少填一个
16266
+ # 注意:此字段可能返回 null,表示取不到有效值。
16267
+ # @type TableName: String
16268
+ # @param RuleTemplateId: 规则模板id,【条件必填】当Type≠3(自定义SQL)时必填
16269
+ # 注意:此字段可能返回 null,表示取不到有效值。
16270
+ # @type RuleTemplateId: Integer
16271
+ # @param QualityDim: 规则所属质量维度,Type=3(自定义SQL)时必填(1:准确性,2:唯一性,3:完整性,4:一致性,5:及时性,6:有效性)
16272
+ # 注意:此字段可能返回 null,表示取不到有效值。
16273
+ # @type QualityDim: Integer
16274
+ # @param ProjectId: 项目id
16275
+ # 注意:此字段可能返回 null,表示取不到有效值。
16276
+ # @type ProjectId: String
16277
+ # @param RuleGroupId: 规则组Id
16278
+ # 注意:此字段可能返回 null,表示取不到有效值。
16279
+ # @type RuleGroupId: Integer
16280
+ # @param TableId: 数据表ID,TableId和TableName至少要有一个
16281
+ # 注意:此字段可能返回 null,表示取不到有效值。
16282
+ # @type TableId: String
16283
+ # @param SourceObjectDataTypeName: 源数据对象(表、字段等)详细类型,【条件必填】当Type=1(系统模板)时必填
16284
+ # 表对应固定值“table”(模板是表级的)
16285
+ # 字段则是对应字段类型:int、string等(模板是字段级的)
16286
+ # 注意:此字段可能返回 null,表示取不到有效值。
16287
+ # @type SourceObjectDataTypeName: String
16288
+ # @param SourceObjectValue: 源数据对象(表、字段等)名称,【条件必填】当Type=1(系统模板)时必填
16289
+ # 注意:此字段可能返回 null,表示取不到有效值。
16290
+ # @type SourceObjectValue: String
16291
+ # @param ConditionType: 检测范围,【条件必填】当Type=1(系统模板)或2(自定义模板)时必填。
16292
+ # 1.全表
16293
+ # 2.条件扫描
16294
+ # 注意:CompareType为2(波动值)或 使用用户自定义模板时包含过滤条件${FILTER}时,检测范围必须为2条件扫描
16295
+ # 注意:此字段可能返回 null,表示取不到有效值。
16296
+ # @type ConditionType: Integer
16297
+ # @param ConditionExpression: 条件扫描WHERE条件表达式,【条件必填】ConditionType=2(条件扫描)时必填
16298
+ # 注意:此字段可能返回 null,表示取不到有效值。
16299
+ # @type ConditionExpression: String
16300
+ # @param CustomSql: 自定义SQL(Base64编码),【条件必填】Type=3(自定义SQL)时必填
16301
+ # 注意:此字段可能返回 null,表示取不到有效值。
16302
+ # @type CustomSql: String
16303
+ # @param Description: 规则描述
16304
+ # 注意:此字段可能返回 null,表示取不到有效值。
16305
+ # @type Description: String
16306
+ # @param DatabaseId: 数据库Id
16307
+ # 注意:此字段可能返回 null,表示取不到有效值。
16308
+ # @type DatabaseId: String
16309
+ # @param TargetDatabaseId: 目标库Id
16310
+ # 注意:此字段可能返回 null,表示取不到有效值。
16311
+ # @type TargetDatabaseId: String
16312
+ # @param TargetTableId: 目标表Id
16313
+ # 注意:此字段可能返回 null,表示取不到有效值。
16314
+ # @type TargetTableId: String
16315
+ # @param TargetConditionExpr: 目标过滤条件表达式
16316
+ # 注意:此字段可能返回 null,表示取不到有效值。
16317
+ # @type TargetConditionExpr: String
16318
+ # @param RelConditionExpr: 源字段与目标字段关联条件on表达式,【条件必填】仅在字段数据相关性规则时必填(ruleTemplate中qualityDim=4(一致性) 且 subQualityDim=3(字段数据相关性)),例如sourceTable.model_id=targetTable.model_id
16319
+ # 注意:此字段可能返回 null,表示取不到有效值。
16320
+ # @type RelConditionExpr: String
16321
+ # @param FieldConfig: 自定义模版sql表达式字段替换参数,【条件必填】Type=2(自定义模板)时必填
16322
+ # 注意:此字段可能返回 null,表示取不到有效值。
16323
+ # @type FieldConfig: :class:`Tencentcloud::Wedata.v20250806.models.QualityRuleFieldConfig`
16324
+ # @param TargetObjectValue: 目标字段名称 CITY
16325
+ # 注意:此字段可能返回 null,表示取不到有效值。
16326
+ # @type TargetObjectValue: String
16327
+ # @param Index: 下标,新增时区分不同数据
16328
+ # 注意:此字段可能返回 null,表示取不到有效值。
16329
+ # @type Index: String
16330
+ # @param SchemaName: 模式名称
16331
+ # 注意:此字段可能返回 null,表示取不到有效值。
16332
+ # @type SchemaName: String
16333
+ # @param TargetSchemaName: 目标schema名称,【条件必填】仅在系统模板的“字段数据相关性”规则以及数据源为TCHouse-P时必填(ruleTemplate的qualityDim=4 且 subQualityDim=3)。用于校验和关联跨表数据
16334
+ # 注意:此字段可能返回 null,表示取不到有效值。
16335
+ # @type TargetSchemaName: String
16336
+ # @param TargetDatabaseName: 目标库名称,【条件必填】仅在系统模板的“字段数据相关性”规则时必填(ruleTemplate的qualityDim=4 且 subQualityDim=3)。用于校验和关联跨表数据
16337
+ # 注意:此字段可能返回 null,表示取不到有效值。
16338
+ # @type TargetDatabaseName: String
16339
+ # @param TargetTableName: 目标表名称,【条件必填】仅在系统模板的“字段数据相关性”规则时必填(ruleTemplate的qualityDim=4 且 subQualityDim=3)。用于校验和关联跨表数据
16340
+ # 注意:此字段可能返回 null,表示取不到有效值。
16341
+ # @type TargetTableName: String
16342
+ # @param TaskId: 任务id
16343
+ # 注意:此字段可能返回 null,表示取不到有效值。
16344
+ # @type TaskId: String
16345
+ # @param CatalogName: 数据目录名称,主要用于dlc数据源
16346
+ # 注意:此字段可能返回 null,表示取不到有效值。
16347
+ # @type CatalogName: String
16348
+ # @param TargetCatalogName: 目标数据目录名称,【条件必填】仅在系统模板的“字段数据相关性”规则以及数据源为DLC时必填(ruleTemplate的qualityDim=4 且 subQualityDim=3)。用于校验和关联跨表数据
16349
+ # 注意:此字段可能返回 null,表示取不到有效值。
16350
+ # @type TargetCatalogName: String
16351
+
16352
+ attr_accessor :Name, :Type, :DatasourceId, :DatabaseName, :CompareRule, :AlarmLevel, :SourceEngineTypes, :TableName, :RuleTemplateId, :QualityDim, :ProjectId, :RuleGroupId, :TableId, :SourceObjectDataTypeName, :SourceObjectValue, :ConditionType, :ConditionExpression, :CustomSql, :Description, :DatabaseId, :TargetDatabaseId, :TargetTableId, :TargetConditionExpr, :RelConditionExpr, :FieldConfig, :TargetObjectValue, :Index, :SchemaName, :TargetSchemaName, :TargetDatabaseName, :TargetTableName, :TaskId, :CatalogName, :TargetCatalogName
16353
+
16354
+ def initialize(name=nil, type=nil, datasourceid=nil, databasename=nil, comparerule=nil, alarmlevel=nil, sourceenginetypes=nil, tablename=nil, ruletemplateid=nil, qualitydim=nil, projectid=nil, rulegroupid=nil, tableid=nil, sourceobjectdatatypename=nil, sourceobjectvalue=nil, conditiontype=nil, conditionexpression=nil, customsql=nil, description=nil, databaseid=nil, targetdatabaseid=nil, targettableid=nil, targetconditionexpr=nil, relconditionexpr=nil, fieldconfig=nil, targetobjectvalue=nil, index=nil, schemaname=nil, targetschemaname=nil, targetdatabasename=nil, targettablename=nil, taskid=nil, catalogname=nil, targetcatalogname=nil)
16355
+ @Name = name
16356
+ @Type = type
16357
+ @DatasourceId = datasourceid
16358
+ @DatabaseName = databasename
16359
+ @CompareRule = comparerule
16360
+ @AlarmLevel = alarmlevel
16361
+ @SourceEngineTypes = sourceenginetypes
16362
+ @TableName = tablename
16363
+ @RuleTemplateId = ruletemplateid
16364
+ @QualityDim = qualitydim
16365
+ @ProjectId = projectid
16366
+ @RuleGroupId = rulegroupid
16367
+ @TableId = tableid
16368
+ @SourceObjectDataTypeName = sourceobjectdatatypename
16369
+ @SourceObjectValue = sourceobjectvalue
16370
+ @ConditionType = conditiontype
16371
+ @ConditionExpression = conditionexpression
16372
+ @CustomSql = customsql
16373
+ @Description = description
16374
+ @DatabaseId = databaseid
16375
+ @TargetDatabaseId = targetdatabaseid
16376
+ @TargetTableId = targettableid
16377
+ @TargetConditionExpr = targetconditionexpr
16378
+ @RelConditionExpr = relconditionexpr
16379
+ @FieldConfig = fieldconfig
16380
+ @TargetObjectValue = targetobjectvalue
16381
+ @Index = index
16382
+ @SchemaName = schemaname
16383
+ @TargetSchemaName = targetschemaname
16384
+ @TargetDatabaseName = targetdatabasename
16385
+ @TargetTableName = targettablename
16386
+ @TaskId = taskid
16387
+ @CatalogName = catalogname
16388
+ @TargetCatalogName = targetcatalogname
16389
+ end
16390
+
16391
+ def deserialize(params)
16392
+ @Name = params['Name']
16393
+ @Type = params['Type']
16394
+ @DatasourceId = params['DatasourceId']
16395
+ @DatabaseName = params['DatabaseName']
16396
+ unless params['CompareRule'].nil?
16397
+ @CompareRule = QualityCompareRule.new
16398
+ @CompareRule.deserialize(params['CompareRule'])
16399
+ end
16400
+ @AlarmLevel = params['AlarmLevel']
16401
+ @SourceEngineTypes = params['SourceEngineTypes']
16402
+ @TableName = params['TableName']
16403
+ @RuleTemplateId = params['RuleTemplateId']
16404
+ @QualityDim = params['QualityDim']
16405
+ @ProjectId = params['ProjectId']
16406
+ @RuleGroupId = params['RuleGroupId']
16407
+ @TableId = params['TableId']
16408
+ @SourceObjectDataTypeName = params['SourceObjectDataTypeName']
16409
+ @SourceObjectValue = params['SourceObjectValue']
16410
+ @ConditionType = params['ConditionType']
16411
+ @ConditionExpression = params['ConditionExpression']
16412
+ @CustomSql = params['CustomSql']
16413
+ @Description = params['Description']
16414
+ @DatabaseId = params['DatabaseId']
16415
+ @TargetDatabaseId = params['TargetDatabaseId']
16416
+ @TargetTableId = params['TargetTableId']
16417
+ @TargetConditionExpr = params['TargetConditionExpr']
16418
+ @RelConditionExpr = params['RelConditionExpr']
16419
+ unless params['FieldConfig'].nil?
16420
+ @FieldConfig = QualityRuleFieldConfig.new
16421
+ @FieldConfig.deserialize(params['FieldConfig'])
16422
+ end
16423
+ @TargetObjectValue = params['TargetObjectValue']
16424
+ @Index = params['Index']
16425
+ @SchemaName = params['SchemaName']
16426
+ @TargetSchemaName = params['TargetSchemaName']
16427
+ @TargetDatabaseName = params['TargetDatabaseName']
16428
+ @TargetTableName = params['TargetTableName']
16429
+ @TaskId = params['TaskId']
16430
+ @CatalogName = params['CatalogName']
16431
+ @TargetCatalogName = params['TargetCatalogName']
16432
+ end
16433
+ end
16434
+
15698
16435
  # 数据质量规则分页
15699
16436
  class QualityRulePage < TencentCloud::Common::AbstractModel
15700
16437
  # @param TotalCount: 记录数
@@ -16021,10 +16758,10 @@ module TencentCloud
16021
16758
 
16022
16759
  # 数据质量阈值
16023
16760
  class QualityThresholdValue < TencentCloud::Common::AbstractModel
16024
- # @param ValueType: 阈值类型 1.低阈值 2.高阈值 3.普通阈值 4.枚举值
16761
+ # @param ValueType: 阈值类型【入参必填】 1.低阈值 2.高阈值 3.普通阈值 4.枚举值
16025
16762
  # 注意:此字段可能返回 null,表示取不到有效值。
16026
16763
  # @type ValueType: Integer
16027
- # @param Value: 阈值
16764
+ # @param Value: 阈值【入参必填】
16028
16765
  # 注意:此字段可能返回 null,表示取不到有效值。
16029
16766
  # @type Value: String
16030
16767
 
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.1196
4
+ version: 3.0.1199
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-05 00:00:00.000000000 Z
11
+ date: 2026-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,11 +33,11 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20210820/client.rb
37
- - lib/v20210820/models.rb
38
- - lib/tencentcloud-sdk-wedata.rb
39
36
  - lib/v20250806/client.rb
40
37
  - lib/v20250806/models.rb
38
+ - lib/tencentcloud-sdk-wedata.rb
39
+ - lib/v20210820/client.rb
40
+ - lib/v20210820/models.rb
41
41
  - lib/VERSION
42
42
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
43
43
  licenses: