tencentcloud-sdk-wedata 3.0.604 → 3.0.606

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20210820/models.rb +356 -20
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d52652a41be59ed8de2eadf730a661b2747981b8
4
- data.tar.gz: 7ec5ae8d867467ab10e305472053c4ca800f6efb
3
+ metadata.gz: 593f13718d5211dbfd047be4c132193b2788c850
4
+ data.tar.gz: 291d31cec350a290b216ffc2f93190ccf0fb3982
5
5
  SHA512:
6
- metadata.gz: f7b52458c9229bbae1e889aa53b4d7a1e5fd823b036398b7b8c150d4bfc957902093c0f1276c67dc9f33917afc081e280ec6ab7f577224c7f650730f53f16929
7
- data.tar.gz: f9380b721786b6f12c59367220ef7a7ce220a221d6337d2c20ef1d268c104a02813a6b2c0528f42d1504c1f89021ddb24e62204807a9ee313050baee34d5a9c0
6
+ metadata.gz: a9d494cc1f84ceec041640d65228b1311ac0573dae203793c1d1ba56753060c4b81649118bda29a8ac32f74dbf0832e4239d39d9fc9374028877b5d7e6280431
7
+ data.tar.gz: f76d84d33279d2bca17f8dcf68962b22b062581db56e39dc711573e03ffed48983a74c498b9fec112ca8965f005297b5a0a92f57e8c037a3741e48972ecab992
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.604
1
+ 3.0.606
@@ -133,10 +133,16 @@ module TencentCloud
133
133
  # @param AlarmIndicatorUnit: 告警指标阈值单位:ms(毫秒)、s(秒)、min(分钟)
134
134
  # 注意:此字段可能返回 null,表示取不到有效值。
135
135
  # @type AlarmIndicatorUnit: String
136
+ # @param Duration: 告警周期
137
+ # @type Duration: Integer
138
+ # @param DurationUnit: 告警周期单位
139
+ # @type DurationUnit: String
140
+ # @param MaxTimes: 周期内最多告警次数
141
+ # @type MaxTimes: Integer
136
142
 
137
- attr_accessor :Id, :AlarmIndicator, :AlarmIndicatorDesc, :TriggerType, :EstimatedTime, :Operator, :AlarmIndicatorUnit
143
+ attr_accessor :Id, :AlarmIndicator, :AlarmIndicatorDesc, :TriggerType, :EstimatedTime, :Operator, :AlarmIndicatorUnit, :Duration, :DurationUnit, :MaxTimes
138
144
 
139
- def initialize(id=nil, alarmindicator=nil, alarmindicatordesc=nil, triggertype=nil, estimatedtime=nil, operator=nil, alarmindicatorunit=nil)
145
+ def initialize(id=nil, alarmindicator=nil, alarmindicatordesc=nil, triggertype=nil, estimatedtime=nil, operator=nil, alarmindicatorunit=nil, duration=nil, durationunit=nil, maxtimes=nil)
140
146
  @Id = id
141
147
  @AlarmIndicator = alarmindicator
142
148
  @AlarmIndicatorDesc = alarmindicatordesc
@@ -144,6 +150,9 @@ module TencentCloud
144
150
  @EstimatedTime = estimatedtime
145
151
  @Operator = operator
146
152
  @AlarmIndicatorUnit = alarmindicatorunit
153
+ @Duration = duration
154
+ @DurationUnit = durationunit
155
+ @MaxTimes = maxtimes
147
156
  end
148
157
 
149
158
  def deserialize(params)
@@ -154,6 +163,9 @@ module TencentCloud
154
163
  @EstimatedTime = params['EstimatedTime']
155
164
  @Operator = params['Operator']
156
165
  @AlarmIndicatorUnit = params['AlarmIndicatorUnit']
166
+ @Duration = params['Duration']
167
+ @DurationUnit = params['DurationUnit']
168
+ @MaxTimes = params['MaxTimes']
157
169
  end
158
170
  end
159
171
 
@@ -1164,8 +1176,8 @@ module TencentCloud
1164
1176
 
1165
1177
  attr_accessor :ProjectId, :AlarmRegularName, :TaskId, :Id, :TaskType
1166
1178
  extend Gem::Deprecate
1167
- deprecate :TaskId, :none, 2023, 6
1168
- deprecate :TaskId=, :none, 2023, 6
1179
+ deprecate :TaskId, :none, 2023, 7
1180
+ deprecate :TaskId=, :none, 2023, 7
1169
1181
 
1170
1182
  def initialize(projectid=nil, alarmregularname=nil, taskid=nil, id=nil, tasktype=nil)
1171
1183
  @ProjectId = projectid
@@ -1505,14 +1517,17 @@ module TencentCloud
1505
1517
  # @type CommitType: Integer
1506
1518
  # @param TaskType: 实时任务 201 离线任务 202 默认实时任务
1507
1519
  # @type TaskType: Integer
1520
+ # @param ExtConfig: 额外参数
1521
+ # @type ExtConfig: Array
1508
1522
 
1509
- attr_accessor :TaskId, :ProjectId, :CommitType, :TaskType
1523
+ attr_accessor :TaskId, :ProjectId, :CommitType, :TaskType, :ExtConfig
1510
1524
 
1511
- def initialize(taskid=nil, projectid=nil, committype=nil, tasktype=nil)
1525
+ def initialize(taskid=nil, projectid=nil, committype=nil, tasktype=nil, extconfig=nil)
1512
1526
  @TaskId = taskid
1513
1527
  @ProjectId = projectid
1514
1528
  @CommitType = committype
1515
1529
  @TaskType = tasktype
1530
+ @ExtConfig = extconfig
1516
1531
  end
1517
1532
 
1518
1533
  def deserialize(params)
@@ -1520,6 +1535,14 @@ module TencentCloud
1520
1535
  @ProjectId = params['ProjectId']
1521
1536
  @CommitType = params['CommitType']
1522
1537
  @TaskType = params['TaskType']
1538
+ unless params['ExtConfig'].nil?
1539
+ @ExtConfig = []
1540
+ params['ExtConfig'].each do |i|
1541
+ recordfield_tmp = RecordField.new
1542
+ recordfield_tmp.deserialize(i)
1543
+ @ExtConfig << recordfield_tmp
1544
+ end
1545
+ end
1523
1546
  end
1524
1547
  end
1525
1548
 
@@ -9651,8 +9674,8 @@ module TencentCloud
9651
9674
 
9652
9675
  attr_accessor :DimType, :Count, :QualityDim
9653
9676
  extend Gem::Deprecate
9654
- deprecate :DimType, :none, 2023, 6
9655
- deprecate :DimType=, :none, 2023, 6
9677
+ deprecate :DimType, :none, 2023, 7
9678
+ deprecate :DimType=, :none, 2023, 7
9656
9679
 
9657
9680
  def initialize(dimtype=nil, count=nil, qualitydim=nil)
9658
9681
  @DimType = dimtype
@@ -9736,6 +9759,208 @@ module TencentCloud
9736
9759
  end
9737
9760
  end
9738
9761
 
9762
+ # 数据治理配置项
9763
+ class DlcDataGovernPolicy < TencentCloud::Common::AbstractModel
9764
+ # @param RewriteDataPolicy: 数据排布治理项
9765
+ # 注意:此字段可能返回 null,表示取不到有效值。
9766
+ # @type RewriteDataPolicy: :class:`Tencentcloud::Wedata.v20210820.models.DlcRewriteDataInfo`
9767
+ # @param ExpiredSnapshotsPolicy: 快照过期治理项
9768
+ # 注意:此字段可能返回 null,表示取不到有效值。
9769
+ # @type ExpiredSnapshotsPolicy: :class:`Tencentcloud::Wedata.v20210820.models.DlcExpiredSnapshotsInfo`
9770
+ # @param RemoveOrphanFilesPolicy: 移除孤立文件治理项
9771
+ # 注意:此字段可能返回 null,表示取不到有效值。
9772
+ # @type RemoveOrphanFilesPolicy: :class:`Tencentcloud::Wedata.v20210820.models.DlcRemoveOrphanFilesInfo`
9773
+ # @param MergeManifestsPolicy: 合并元数据Manifests治理项
9774
+ # 注意:此字段可能返回 null,表示取不到有效值。
9775
+ # @type MergeManifestsPolicy: :class:`Tencentcloud::Wedata.v20210820.models.DlcMergeManifestsInfo`
9776
+ # @param InheritDataBase: 是否集成库规则:default(默认继承)、none(不继承)
9777
+ # 注意:此字段可能返回 null,表示取不到有效值。
9778
+ # @type InheritDataBase: String
9779
+ # @param RuleType: 治理规则类型,Customize: 自定义;Intelligence: 智能治理
9780
+ # 注意:此字段可能返回 null,表示取不到有效值。
9781
+ # @type RuleType: String
9782
+ # @param GovernEngine: 治理引擎
9783
+ # 注意:此字段可能返回 null,表示取不到有效值。
9784
+ # @type GovernEngine: String
9785
+
9786
+ attr_accessor :RewriteDataPolicy, :ExpiredSnapshotsPolicy, :RemoveOrphanFilesPolicy, :MergeManifestsPolicy, :InheritDataBase, :RuleType, :GovernEngine
9787
+
9788
+ def initialize(rewritedatapolicy=nil, expiredsnapshotspolicy=nil, removeorphanfilespolicy=nil, mergemanifestspolicy=nil, inheritdatabase=nil, ruletype=nil, governengine=nil)
9789
+ @RewriteDataPolicy = rewritedatapolicy
9790
+ @ExpiredSnapshotsPolicy = expiredsnapshotspolicy
9791
+ @RemoveOrphanFilesPolicy = removeorphanfilespolicy
9792
+ @MergeManifestsPolicy = mergemanifestspolicy
9793
+ @InheritDataBase = inheritdatabase
9794
+ @RuleType = ruletype
9795
+ @GovernEngine = governengine
9796
+ end
9797
+
9798
+ def deserialize(params)
9799
+ unless params['RewriteDataPolicy'].nil?
9800
+ @RewriteDataPolicy = DlcRewriteDataInfo.new
9801
+ @RewriteDataPolicy.deserialize(params['RewriteDataPolicy'])
9802
+ end
9803
+ unless params['ExpiredSnapshotsPolicy'].nil?
9804
+ @ExpiredSnapshotsPolicy = DlcExpiredSnapshotsInfo.new
9805
+ @ExpiredSnapshotsPolicy.deserialize(params['ExpiredSnapshotsPolicy'])
9806
+ end
9807
+ unless params['RemoveOrphanFilesPolicy'].nil?
9808
+ @RemoveOrphanFilesPolicy = DlcRemoveOrphanFilesInfo.new
9809
+ @RemoveOrphanFilesPolicy.deserialize(params['RemoveOrphanFilesPolicy'])
9810
+ end
9811
+ unless params['MergeManifestsPolicy'].nil?
9812
+ @MergeManifestsPolicy = DlcMergeManifestsInfo.new
9813
+ @MergeManifestsPolicy.deserialize(params['MergeManifestsPolicy'])
9814
+ end
9815
+ @InheritDataBase = params['InheritDataBase']
9816
+ @RuleType = params['RuleType']
9817
+ @GovernEngine = params['GovernEngine']
9818
+ end
9819
+ end
9820
+
9821
+ # 快照过期治理项
9822
+ class DlcExpiredSnapshotsInfo < TencentCloud::Common::AbstractModel
9823
+ # @param ExpiredSnapshotsEnable: 是否启用快照过期治理项:enable、none
9824
+ # 注意:此字段可能返回 null,表示取不到有效值。
9825
+ # @type ExpiredSnapshotsEnable: String
9826
+ # @param Engine: 用于运行快照过期治理项的引擎名称
9827
+ # 注意:此字段可能返回 null,表示取不到有效值。
9828
+ # @type Engine: String
9829
+ # @param RetainLast: 需要保留的最近快照个数
9830
+ # 注意:此字段可能返回 null,表示取不到有效值。
9831
+ # @type RetainLast: Integer
9832
+ # @param BeforeDays: 过期指定天前的快照
9833
+ # 注意:此字段可能返回 null,表示取不到有效值。
9834
+ # @type BeforeDays: Integer
9835
+ # @param MaxConcurrentDeletes: 清理过期快照的并行数
9836
+ # 注意:此字段可能返回 null,表示取不到有效值。
9837
+ # @type MaxConcurrentDeletes: Integer
9838
+ # @param IntervalMin: 快照过期治理运行周期,单位为分钟
9839
+ # 注意:此字段可能返回 null,表示取不到有效值。
9840
+ # @type IntervalMin: Integer
9841
+
9842
+ attr_accessor :ExpiredSnapshotsEnable, :Engine, :RetainLast, :BeforeDays, :MaxConcurrentDeletes, :IntervalMin
9843
+
9844
+ def initialize(expiredsnapshotsenable=nil, engine=nil, retainlast=nil, beforedays=nil, maxconcurrentdeletes=nil, intervalmin=nil)
9845
+ @ExpiredSnapshotsEnable = expiredsnapshotsenable
9846
+ @Engine = engine
9847
+ @RetainLast = retainlast
9848
+ @BeforeDays = beforedays
9849
+ @MaxConcurrentDeletes = maxconcurrentdeletes
9850
+ @IntervalMin = intervalmin
9851
+ end
9852
+
9853
+ def deserialize(params)
9854
+ @ExpiredSnapshotsEnable = params['ExpiredSnapshotsEnable']
9855
+ @Engine = params['Engine']
9856
+ @RetainLast = params['RetainLast']
9857
+ @BeforeDays = params['BeforeDays']
9858
+ @MaxConcurrentDeletes = params['MaxConcurrentDeletes']
9859
+ @IntervalMin = params['IntervalMin']
9860
+ end
9861
+ end
9862
+
9863
+ # 合并元数据Manifests治理项
9864
+ class DlcMergeManifestsInfo < TencentCloud::Common::AbstractModel
9865
+ # @param MergeManifestsEnable: 是否启用合并元数据Manifests文件治理项:enable、none
9866
+ # 注意:此字段可能返回 null,表示取不到有效值。
9867
+ # @type MergeManifestsEnable: String
9868
+ # @param Engine: 用于运行合并元数据Manifests文件治理项的引擎名称
9869
+ # 注意:此字段可能返回 null,表示取不到有效值。
9870
+ # @type Engine: String
9871
+ # @param IntervalMin: 合并元数据Manifests文件治理运行周期,单位为分钟
9872
+ # 注意:此字段可能返回 null,表示取不到有效值。
9873
+ # @type IntervalMin: Integer
9874
+
9875
+ attr_accessor :MergeManifestsEnable, :Engine, :IntervalMin
9876
+
9877
+ def initialize(mergemanifestsenable=nil, engine=nil, intervalmin=nil)
9878
+ @MergeManifestsEnable = mergemanifestsenable
9879
+ @Engine = engine
9880
+ @IntervalMin = intervalmin
9881
+ end
9882
+
9883
+ def deserialize(params)
9884
+ @MergeManifestsEnable = params['MergeManifestsEnable']
9885
+ @Engine = params['Engine']
9886
+ @IntervalMin = params['IntervalMin']
9887
+ end
9888
+ end
9889
+
9890
+ # 移除孤立文件治理项
9891
+ class DlcRemoveOrphanFilesInfo < TencentCloud::Common::AbstractModel
9892
+ # @param RemoveOrphanFilesEnable: 是否启用移除孤立文件治理项:enable、none
9893
+ # 注意:此字段可能返回 null,表示取不到有效值。
9894
+ # @type RemoveOrphanFilesEnable: String
9895
+ # @param Engine: 用于运行移除孤立文件治理项的引擎名称
9896
+ # 注意:此字段可能返回 null,表示取不到有效值。
9897
+ # @type Engine: String
9898
+ # @param BeforeDays: 移除指定天前的孤立文件
9899
+ # 注意:此字段可能返回 null,表示取不到有效值。
9900
+ # @type BeforeDays: Integer
9901
+ # @param MaxConcurrentDeletes: 移除孤立文件的并行数
9902
+ # 注意:此字段可能返回 null,表示取不到有效值。
9903
+ # @type MaxConcurrentDeletes: Integer
9904
+ # @param IntervalMin: 移除孤立文件治理运行周期,单位为分钟
9905
+ # 注意:此字段可能返回 null,表示取不到有效值。
9906
+ # @type IntervalMin: Integer
9907
+
9908
+ attr_accessor :RemoveOrphanFilesEnable, :Engine, :BeforeDays, :MaxConcurrentDeletes, :IntervalMin
9909
+
9910
+ def initialize(removeorphanfilesenable=nil, engine=nil, beforedays=nil, maxconcurrentdeletes=nil, intervalmin=nil)
9911
+ @RemoveOrphanFilesEnable = removeorphanfilesenable
9912
+ @Engine = engine
9913
+ @BeforeDays = beforedays
9914
+ @MaxConcurrentDeletes = maxconcurrentdeletes
9915
+ @IntervalMin = intervalmin
9916
+ end
9917
+
9918
+ def deserialize(params)
9919
+ @RemoveOrphanFilesEnable = params['RemoveOrphanFilesEnable']
9920
+ @Engine = params['Engine']
9921
+ @BeforeDays = params['BeforeDays']
9922
+ @MaxConcurrentDeletes = params['MaxConcurrentDeletes']
9923
+ @IntervalMin = params['IntervalMin']
9924
+ end
9925
+ end
9926
+
9927
+ # 数据排布治理项
9928
+ class DlcRewriteDataInfo < TencentCloud::Common::AbstractModel
9929
+ # @param RewriteDataEnable: 是否启用数据重排布治理项:enable(启动)、disable(不启用,默认)
9930
+ # 注意:此字段可能返回 null,表示取不到有效值。
9931
+ # @type RewriteDataEnable: String
9932
+ # @param Engine: 用于运行数据重排布治理项的引擎名称
9933
+ # 注意:此字段可能返回 null,表示取不到有效值。
9934
+ # @type Engine: String
9935
+ # @param MinInputFiles: 重排布任务执行的文件个数
9936
+ # 注意:此字段可能返回 null,表示取不到有效值。
9937
+ # @type MinInputFiles: Integer
9938
+ # @param TargetFileSizeBytes: 数据重排布写后的数据文件大小,单位为字节
9939
+ # 注意:此字段可能返回 null,表示取不到有效值。
9940
+ # @type TargetFileSizeBytes: Integer
9941
+ # @param IntervalMin: 数据重排布治理运行周期,单位为分钟
9942
+ # 注意:此字段可能返回 null,表示取不到有效值。
9943
+ # @type IntervalMin: Integer
9944
+
9945
+ attr_accessor :RewriteDataEnable, :Engine, :MinInputFiles, :TargetFileSizeBytes, :IntervalMin
9946
+
9947
+ def initialize(rewritedataenable=nil, engine=nil, mininputfiles=nil, targetfilesizebytes=nil, intervalmin=nil)
9948
+ @RewriteDataEnable = rewritedataenable
9949
+ @Engine = engine
9950
+ @MinInputFiles = mininputfiles
9951
+ @TargetFileSizeBytes = targetfilesizebytes
9952
+ @IntervalMin = intervalmin
9953
+ end
9954
+
9955
+ def deserialize(params)
9956
+ @RewriteDataEnable = params['RewriteDataEnable']
9957
+ @Engine = params['Engine']
9958
+ @MinInputFiles = params['MinInputFiles']
9959
+ @TargetFileSizeBytes = params['TargetFileSizeBytes']
9960
+ @IntervalMin = params['IntervalMin']
9961
+ end
9962
+ end
9963
+
9739
9964
  # DryRunDIOfflineTask请求参数结构体
9740
9965
  class DryRunDIOfflineTaskRequest < TencentCloud::Common::AbstractModel
9741
9966
  # @param TaskId: 任务Id
@@ -10221,10 +10446,14 @@ module TencentCloud
10221
10446
  # @type AddDeleteFiles: Integer
10222
10447
  # @param TargetDatasourceId: 下游节点数据源ID
10223
10448
  # @type TargetDatasourceId: String
10449
+ # @param UpsertKeys: dlc upsert主键
10450
+ # @type UpsertKeys: Array
10451
+ # @param TableBaseInfo: dlc表治理信息
10452
+ # @type TableBaseInfo: :class:`Tencentcloud::Wedata.v20210820.models.TableBaseInfo`
10224
10453
 
10225
- attr_accessor :ProjectId, :SinkDatabase, :Id, :MsType, :DatasourceId, :SourceDatabase, :TableName, :SinkType, :SchemaName, :SourceFieldInfoList, :Partitions, :Properties, :TableMode, :TableVersion, :UpsertFlag, :TableComment, :AddDataFiles, :AddEqualityDeletes, :AddPositionDeletes, :AddDeleteFiles, :TargetDatasourceId
10454
+ attr_accessor :ProjectId, :SinkDatabase, :Id, :MsType, :DatasourceId, :SourceDatabase, :TableName, :SinkType, :SchemaName, :SourceFieldInfoList, :Partitions, :Properties, :TableMode, :TableVersion, :UpsertFlag, :TableComment, :AddDataFiles, :AddEqualityDeletes, :AddPositionDeletes, :AddDeleteFiles, :TargetDatasourceId, :UpsertKeys, :TableBaseInfo
10226
10455
 
10227
- def initialize(projectid=nil, sinkdatabase=nil, id=nil, mstype=nil, datasourceid=nil, sourcedatabase=nil, tablename=nil, sinktype=nil, schemaname=nil, sourcefieldinfolist=nil, partitions=nil, properties=nil, tablemode=nil, tableversion=nil, upsertflag=nil, tablecomment=nil, adddatafiles=nil, addequalitydeletes=nil, addpositiondeletes=nil, adddeletefiles=nil, targetdatasourceid=nil)
10456
+ def initialize(projectid=nil, sinkdatabase=nil, id=nil, mstype=nil, datasourceid=nil, sourcedatabase=nil, tablename=nil, sinktype=nil, schemaname=nil, sourcefieldinfolist=nil, partitions=nil, properties=nil, tablemode=nil, tableversion=nil, upsertflag=nil, tablecomment=nil, adddatafiles=nil, addequalitydeletes=nil, addpositiondeletes=nil, adddeletefiles=nil, targetdatasourceid=nil, upsertkeys=nil, tablebaseinfo=nil)
10228
10457
  @ProjectId = projectid
10229
10458
  @SinkDatabase = sinkdatabase
10230
10459
  @Id = id
@@ -10246,6 +10475,8 @@ module TencentCloud
10246
10475
  @AddPositionDeletes = addpositiondeletes
10247
10476
  @AddDeleteFiles = adddeletefiles
10248
10477
  @TargetDatasourceId = targetdatasourceid
10478
+ @UpsertKeys = upsertkeys
10479
+ @TableBaseInfo = tablebaseinfo
10249
10480
  end
10250
10481
 
10251
10482
  def deserialize(params)
@@ -10291,6 +10522,11 @@ module TencentCloud
10291
10522
  @AddPositionDeletes = params['AddPositionDeletes']
10292
10523
  @AddDeleteFiles = params['AddDeleteFiles']
10293
10524
  @TargetDatasourceId = params['TargetDatasourceId']
10525
+ @UpsertKeys = params['UpsertKeys']
10526
+ unless params['TableBaseInfo'].nil?
10527
+ @TableBaseInfo = TableBaseInfo.new
10528
+ @TableBaseInfo.deserialize(params['TableBaseInfo'])
10529
+ end
10294
10530
  end
10295
10531
  end
10296
10532
 
@@ -14244,17 +14480,32 @@ module TencentCloud
14244
14480
  # @type TaskId: String
14245
14481
  # @param ProjectId: 项目id
14246
14482
  # @type ProjectId: String
14483
+ # @param Event: 事件类型(START, STOP, SUSPEND, RESUME, COMMIT, TIMESTAMP)
14484
+ # @type Event: String
14485
+ # @param ExtConfig: 额外参数
14486
+ # @type ExtConfig: Array
14247
14487
 
14248
- attr_accessor :TaskId, :ProjectId
14488
+ attr_accessor :TaskId, :ProjectId, :Event, :ExtConfig
14249
14489
 
14250
- def initialize(taskid=nil, projectid=nil)
14490
+ def initialize(taskid=nil, projectid=nil, event=nil, extconfig=nil)
14251
14491
  @TaskId = taskid
14252
14492
  @ProjectId = projectid
14493
+ @Event = event
14494
+ @ExtConfig = extconfig
14253
14495
  end
14254
14496
 
14255
14497
  def deserialize(params)
14256
14498
  @TaskId = params['TaskId']
14257
14499
  @ProjectId = params['ProjectId']
14500
+ @Event = params['Event']
14501
+ unless params['ExtConfig'].nil?
14502
+ @ExtConfig = []
14503
+ params['ExtConfig'].each do |i|
14504
+ recordfield_tmp = RecordField.new
14505
+ recordfield_tmp.deserialize(i)
14506
+ @ExtConfig << recordfield_tmp
14507
+ end
14508
+ end
14258
14509
  end
14259
14510
  end
14260
14511
 
@@ -16529,19 +16780,24 @@ module TencentCloud
16529
16780
  # @type FieldType: String
16530
16781
  # @param Alias: 字段别名
16531
16782
  # @type Alias: String
16783
+ # @param Comment: 字段描述
16784
+ # 注意:此字段可能返回 null,表示取不到有效值。
16785
+ # @type Comment: String
16532
16786
 
16533
- attr_accessor :FieldName, :FieldType, :Alias
16787
+ attr_accessor :FieldName, :FieldType, :Alias, :Comment
16534
16788
 
16535
- def initialize(fieldname=nil, fieldtype=nil, _alias=nil)
16789
+ def initialize(fieldname=nil, fieldtype=nil, _alias=nil, comment=nil)
16536
16790
  @FieldName = fieldname
16537
16791
  @FieldType = fieldtype
16538
16792
  @Alias = _alias
16793
+ @Comment = comment
16539
16794
  end
16540
16795
 
16541
16796
  def deserialize(params)
16542
16797
  @FieldName = params['FieldName']
16543
16798
  @FieldType = params['FieldType']
16544
16799
  @Alias = params['Alias']
16800
+ @Comment = params['Comment']
16545
16801
  end
16546
16802
  end
16547
16803
 
@@ -16565,10 +16821,10 @@ module TencentCloud
16565
16821
 
16566
16822
  attr_accessor :SourceObjectDataTypeName, :SourceObjectValue, :ObjectDataTypeName, :ObjectValue, :ObjectType
16567
16823
  extend Gem::Deprecate
16568
- deprecate :SourceObjectDataTypeName, :none, 2023, 6
16569
- deprecate :SourceObjectDataTypeName=, :none, 2023, 6
16570
- deprecate :SourceObjectValue, :none, 2023, 6
16571
- deprecate :SourceObjectValue=, :none, 2023, 6
16824
+ deprecate :SourceObjectDataTypeName, :none, 2023, 7
16825
+ deprecate :SourceObjectDataTypeName=, :none, 2023, 7
16826
+ deprecate :SourceObjectValue, :none, 2023, 7
16827
+ deprecate :SourceObjectValue=, :none, 2023, 7
16572
16828
 
16573
16829
  def initialize(sourceobjectdatatypename=nil, sourceobjectvalue=nil, objectdatatypename=nil, objectvalue=nil, objecttype=nil)
16574
16830
  @SourceObjectDataTypeName = sourceobjectdatatypename
@@ -16615,17 +16871,32 @@ module TencentCloud
16615
16871
  # @type TaskId: String
16616
16872
  # @param ProjectId: 项目id
16617
16873
  # @type ProjectId: String
16874
+ # @param Event: 事件类型(START, STOP, SUSPEND, RESUME, COMMIT, TIMESTAMP)
16875
+ # @type Event: String
16876
+ # @param ExtConfig: 额外参数
16877
+ # @type ExtConfig: Array
16618
16878
 
16619
- attr_accessor :TaskId, :ProjectId
16879
+ attr_accessor :TaskId, :ProjectId, :Event, :ExtConfig
16620
16880
 
16621
- def initialize(taskid=nil, projectid=nil)
16881
+ def initialize(taskid=nil, projectid=nil, event=nil, extconfig=nil)
16622
16882
  @TaskId = taskid
16623
16883
  @ProjectId = projectid
16884
+ @Event = event
16885
+ @ExtConfig = extconfig
16624
16886
  end
16625
16887
 
16626
16888
  def deserialize(params)
16627
16889
  @TaskId = params['TaskId']
16628
16890
  @ProjectId = params['ProjectId']
16891
+ @Event = params['Event']
16892
+ unless params['ExtConfig'].nil?
16893
+ @ExtConfig = []
16894
+ params['ExtConfig'].each do |i|
16895
+ recordfield_tmp = RecordField.new
16896
+ recordfield_tmp.deserialize(i)
16897
+ @ExtConfig << recordfield_tmp
16898
+ end
16899
+ end
16629
16900
  end
16630
16901
  end
16631
16902
 
@@ -16957,6 +17228,71 @@ module TencentCloud
16957
17228
  end
16958
17229
  end
16959
17230
 
17231
+ # 建dlc表所需信息
17232
+ class TableBaseInfo < TencentCloud::Common::AbstractModel
17233
+ # @param DatabaseName: 数据库名称
17234
+ # 注意:此字段可能返回 null,表示取不到有效值。
17235
+ # @type DatabaseName: String
17236
+ # @param TableName: 表名称
17237
+ # 注意:此字段可能返回 null,表示取不到有效值。
17238
+ # @type TableName: String
17239
+ # @param DatasourceConnectionName: 数据表所属数据源名字
17240
+ # 注意:此字段可能返回 null,表示取不到有效值。
17241
+ # @type DatasourceConnectionName: String
17242
+ # @param TableComment: 表备注
17243
+ # 注意:此字段可能返回 null,表示取不到有效值。
17244
+ # @type TableComment: String
17245
+ # @param Type: 类型
17246
+ # 注意:此字段可能返回 null,表示取不到有效值。
17247
+ # @type Type: String
17248
+ # @param TableFormat: 数据格式类型
17249
+ # 注意:此字段可能返回 null,表示取不到有效值。
17250
+ # @type TableFormat: String
17251
+ # @param UserAlias: 用户昵称
17252
+ # 注意:此字段可能返回 null,表示取不到有效值。
17253
+ # @type UserAlias: String
17254
+ # @param UserSubUin: 建表用户ID
17255
+ # 注意:此字段可能返回 null,表示取不到有效值。
17256
+ # @type UserSubUin: String
17257
+ # @param GovernPolicy: 数据治理配置项
17258
+ # 注意:此字段可能返回 null,表示取不到有效值。
17259
+ # @type GovernPolicy: :class:`Tencentcloud::Wedata.v20210820.models.DlcDataGovernPolicy`
17260
+ # @param DbGovernPolicyIsDisable: 库数据治理是否关闭,关闭:true,开启:false
17261
+ # 注意:此字段可能返回 null,表示取不到有效值。
17262
+ # @type DbGovernPolicyIsDisable: String
17263
+
17264
+ attr_accessor :DatabaseName, :TableName, :DatasourceConnectionName, :TableComment, :Type, :TableFormat, :UserAlias, :UserSubUin, :GovernPolicy, :DbGovernPolicyIsDisable
17265
+
17266
+ def initialize(databasename=nil, tablename=nil, datasourceconnectionname=nil, tablecomment=nil, type=nil, tableformat=nil, useralias=nil, usersubuin=nil, governpolicy=nil, dbgovernpolicyisdisable=nil)
17267
+ @DatabaseName = databasename
17268
+ @TableName = tablename
17269
+ @DatasourceConnectionName = datasourceconnectionname
17270
+ @TableComment = tablecomment
17271
+ @Type = type
17272
+ @TableFormat = tableformat
17273
+ @UserAlias = useralias
17274
+ @UserSubUin = usersubuin
17275
+ @GovernPolicy = governpolicy
17276
+ @DbGovernPolicyIsDisable = dbgovernpolicyisdisable
17277
+ end
17278
+
17279
+ def deserialize(params)
17280
+ @DatabaseName = params['DatabaseName']
17281
+ @TableName = params['TableName']
17282
+ @DatasourceConnectionName = params['DatasourceConnectionName']
17283
+ @TableComment = params['TableComment']
17284
+ @Type = params['Type']
17285
+ @TableFormat = params['TableFormat']
17286
+ @UserAlias = params['UserAlias']
17287
+ @UserSubUin = params['UserSubUin']
17288
+ unless params['GovernPolicy'].nil?
17289
+ @GovernPolicy = DlcDataGovernPolicy.new
17290
+ @GovernPolicy.deserialize(params['GovernPolicy'])
17291
+ end
17292
+ @DbGovernPolicyIsDisable = params['DbGovernPolicyIsDisable']
17293
+ end
17294
+ end
17295
+
16960
17296
  # 规则表变量替换
16961
17297
  class TableConfig < TencentCloud::Common::AbstractModel
16962
17298
  # @param DatabaseId: 数据库Id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-wedata
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.604
4
+ version: 3.0.606
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-03 00:00:00.000000000 Z
11
+ date: 2023-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,8 +33,8 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20210820/models.rb
37
36
  - lib/v20210820/client.rb
37
+ - lib/v20210820/models.rb
38
38
  - lib/tencentcloud-sdk-wedata.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby