tencentcloud-sdk-wedata 3.0.715 → 3.0.717

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: afde680f4ee04848a1e4842105d7d9dacaf9f3e6
4
- data.tar.gz: cb93c30eb5ee275ec1f47382ed5a7287a1833bd5
3
+ metadata.gz: e6d7a70e7d406e694d7780747d0cfcc0f00b6f9f
4
+ data.tar.gz: 1233cf69da8fef7f7dcdcc76237d821b9e395048
5
5
  SHA512:
6
- metadata.gz: e4ef10104c76a6bc6a574ef6e0bd2dea8e9dfc6cd1220f2b619ea3365e7faacb46b2d64dde46494c68e91f234b5a0ed09fc946c8f692e9d470f166a0b1b4334b
7
- data.tar.gz: 873a1185c8e1d4190e3f7610242b58cd7908053b375effef49636ac2064fbd8d44e1f1e60c551276b4c3fe31fa4fc3e7545a970bcfa5bba1dbd6727bb2bd61a3
6
+ metadata.gz: 9edb62eb64105ba5302b14d5079ddd23a8d696b4bfedb007694017cf0e8add76e47b82de9eeb0db7ae7b92fbf4bc34b3c30cd7dc60c631ba0cb222b0f2fee0ec
7
+ data.tar.gz: 77ddbb05f89ee7719260f71dec4b554f83108160ac7953a5a4cf59214bddc7d81b8b7c25919b0135ca449b15d8ebf3df27305cf6f8337aba10f60295023e4db0
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.715
1
+ 3.0.717
@@ -7468,6 +7468,30 @@ module TencentCloud
7468
7468
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
7469
7469
  end
7470
7470
 
7471
+ # 事件管理-触发事件
7472
+
7473
+ # @param request: Request instance for TriggerDsEvent.
7474
+ # @type request: :class:`Tencentcloud::wedata::V20210820::TriggerDsEventRequest`
7475
+ # @rtype: :class:`Tencentcloud::wedata::V20210820::TriggerDsEventResponse`
7476
+ def TriggerDsEvent(request)
7477
+ body = send_request('TriggerDsEvent', request.serialize)
7478
+ response = JSON.parse(body)
7479
+ if response['Response'].key?('Error') == false
7480
+ model = TriggerDsEventResponse.new
7481
+ model.deserialize(response['Response'])
7482
+ model
7483
+ else
7484
+ code = response['Response']['Error']['Code']
7485
+ message = response['Response']['Error']['Message']
7486
+ reqid = response['Response']['RequestId']
7487
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
7488
+ end
7489
+ rescue TencentCloud::Common::TencentCloudSDKException => e
7490
+ raise e
7491
+ rescue StandardError => e
7492
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
7493
+ end
7494
+
7471
7495
  # <p style="color:red;">[注意:该Beta版本只满足广州区部分白名单客户使用]</p>
7472
7496
  # 触发事件
7473
7497
 
@@ -264,10 +264,19 @@ module TencentCloud
264
264
  # @param SendResult: 发送结果
265
265
  # 注意:此字段可能返回 null,表示取不到有效值。
266
266
  # @type SendResult: String
267
+ # @param MonitorObjectId: 监控对象id
268
+ # 注意:此字段可能返回 null,表示取不到有效值。
269
+ # @type MonitorObjectId: String
270
+ # @param MonitorObjectName: 监控对象名称
271
+ # 注意:此字段可能返回 null,表示取不到有效值。
272
+ # @type MonitorObjectName: String
273
+ # @param Threshold: 指标阈值
274
+ # 注意:此字段可能返回 null,表示取不到有效值。
275
+ # @type Threshold: Float
267
276
 
268
- attr_accessor :AlarmId, :AlarmTime, :TaskId, :RegularName, :AlarmLevel, :AlarmWay, :AlarmRecipientId, :ProjectId, :AlarmIndicator, :AlarmIndicatorDesc, :TriggerType, :EstimatedTime, :InstanceId, :TaskName, :IsSendSuccess, :MessageId, :Operator, :RegularId, :AlarmRecipientName, :TaskType, :SendResult
277
+ attr_accessor :AlarmId, :AlarmTime, :TaskId, :RegularName, :AlarmLevel, :AlarmWay, :AlarmRecipientId, :ProjectId, :AlarmIndicator, :AlarmIndicatorDesc, :TriggerType, :EstimatedTime, :InstanceId, :TaskName, :IsSendSuccess, :MessageId, :Operator, :RegularId, :AlarmRecipientName, :TaskType, :SendResult, :MonitorObjectId, :MonitorObjectName, :Threshold
269
278
 
270
- def initialize(alarmid=nil, alarmtime=nil, taskid=nil, regularname=nil, alarmlevel=nil, alarmway=nil, alarmrecipientid=nil, projectid=nil, alarmindicator=nil, alarmindicatordesc=nil, triggertype=nil, estimatedtime=nil, instanceid=nil, taskname=nil, issendsuccess=nil, messageid=nil, operator=nil, regularid=nil, alarmrecipientname=nil, tasktype=nil, sendresult=nil)
279
+ def initialize(alarmid=nil, alarmtime=nil, taskid=nil, regularname=nil, alarmlevel=nil, alarmway=nil, alarmrecipientid=nil, projectid=nil, alarmindicator=nil, alarmindicatordesc=nil, triggertype=nil, estimatedtime=nil, instanceid=nil, taskname=nil, issendsuccess=nil, messageid=nil, operator=nil, regularid=nil, alarmrecipientname=nil, tasktype=nil, sendresult=nil, monitorobjectid=nil, monitorobjectname=nil, threshold=nil)
271
280
  @AlarmId = alarmid
272
281
  @AlarmTime = alarmtime
273
282
  @TaskId = taskid
@@ -289,6 +298,9 @@ module TencentCloud
289
298
  @AlarmRecipientName = alarmrecipientname
290
299
  @TaskType = tasktype
291
300
  @SendResult = sendresult
301
+ @MonitorObjectId = monitorobjectid
302
+ @MonitorObjectName = monitorobjectname
303
+ @Threshold = threshold
292
304
  end
293
305
 
294
306
  def deserialize(params)
@@ -313,6 +325,9 @@ module TencentCloud
313
325
  @AlarmRecipientName = params['AlarmRecipientName']
314
326
  @TaskType = params['TaskType']
315
327
  @SendResult = params['SendResult']
328
+ @MonitorObjectId = params['MonitorObjectId']
329
+ @MonitorObjectName = params['MonitorObjectName']
330
+ @Threshold = params['Threshold']
316
331
  end
317
332
  end
318
333
 
@@ -358,7 +373,7 @@ module TencentCloud
358
373
  # @param Id: 指标id
359
374
  # 注意:此字段可能返回 null,表示取不到有效值。
360
375
  # @type Id: String
361
- # @param AlarmIndicator: 告警指标,0表示任务失败,1表示任务运行超时,2表示任务停止,3表示任务暂停
376
+ # @param AlarmIndicator: 告警指标,0任务失败,1任务运行超时,2任务停止,3任务暂停, 4读取速度,5写入速度,6读取吞吐 7写入吞吐, 8脏数据字节数,9脏数据条数,10任务异常,11任务检测异常, 12重启次数, 13任务延时, 14近20分内的重启次数 15传输延迟,16业务延迟, 50离线包CPU使用率, 51离线包内存使用率, 52离线包并行度使用率, 53离线包排队中的实例数, 54实时包资源使用率, 55实时包运行中的任务数
362
377
  # 注意:此字段可能返回 null,表示取不到有效值。
363
378
  # @type AlarmIndicator: Integer
364
379
  # @param AlarmIndicatorDesc: 告警指标描述
@@ -370,7 +385,7 @@ module TencentCloud
370
385
  # @param EstimatedTime: 预计的超时时间,分钟级别
371
386
  # 注意:此字段可能返回 null,表示取不到有效值。
372
387
  # @type EstimatedTime: Integer
373
- # @param Operator: 实时任务告警需要的参数
388
+ # @param Operator: 告警阈值的算子,1 大于,2 小于
374
389
  # 注意:此字段可能返回 null,表示取不到有效值。
375
390
  # @type Operator: Integer
376
391
  # @param AlarmIndicatorUnit: 告警指标阈值单位:ms(毫秒)、s(秒)、min(分钟)
@@ -378,14 +393,17 @@ module TencentCloud
378
393
  # @type AlarmIndicatorUnit: String
379
394
  # @param Duration: 告警周期
380
395
  # @type Duration: Integer
381
- # @param DurationUnit: 告警周期单位
396
+ # @param DurationUnit: 告警周期单位:hour,minute,day
382
397
  # @type DurationUnit: String
383
398
  # @param MaxTimes: 周期内最多告警次数
384
399
  # @type MaxTimes: Integer
400
+ # @param Threshold: 指标阈值
401
+ # 注意:此字段可能返回 null,表示取不到有效值。
402
+ # @type Threshold: Float
385
403
 
386
- attr_accessor :Id, :AlarmIndicator, :AlarmIndicatorDesc, :TriggerType, :EstimatedTime, :Operator, :AlarmIndicatorUnit, :Duration, :DurationUnit, :MaxTimes
404
+ attr_accessor :Id, :AlarmIndicator, :AlarmIndicatorDesc, :TriggerType, :EstimatedTime, :Operator, :AlarmIndicatorUnit, :Duration, :DurationUnit, :MaxTimes, :Threshold
387
405
 
388
- def initialize(id=nil, alarmindicator=nil, alarmindicatordesc=nil, triggertype=nil, estimatedtime=nil, operator=nil, alarmindicatorunit=nil, duration=nil, durationunit=nil, maxtimes=nil)
406
+ def initialize(id=nil, alarmindicator=nil, alarmindicatordesc=nil, triggertype=nil, estimatedtime=nil, operator=nil, alarmindicatorunit=nil, duration=nil, durationunit=nil, maxtimes=nil, threshold=nil)
389
407
  @Id = id
390
408
  @AlarmIndicator = alarmindicator
391
409
  @AlarmIndicatorDesc = alarmindicatordesc
@@ -396,6 +414,7 @@ module TencentCloud
396
414
  @Duration = duration
397
415
  @DurationUnit = durationunit
398
416
  @MaxTimes = maxtimes
417
+ @Threshold = threshold
399
418
  end
400
419
 
401
420
  def deserialize(params)
@@ -409,6 +428,7 @@ module TencentCloud
409
428
  @Duration = params['Duration']
410
429
  @DurationUnit = params['DurationUnit']
411
430
  @MaxTimes = params['MaxTimes']
431
+ @Threshold = params['Threshold']
412
432
  end
413
433
  end
414
434
 
@@ -2075,6 +2095,45 @@ module TencentCloud
2075
2095
  end
2076
2096
  end
2077
2097
 
2098
+ # 批量操作结果,带失败原因
2099
+ class BatchOpsDTO < TencentCloud::Common::AbstractModel
2100
+ # @param TotalCount: 总数量
2101
+ # 注意:此字段可能返回 null,表示取不到有效值。
2102
+ # @type TotalCount: Integer
2103
+ # @param SuccessCount: 成功数量
2104
+ # 注意:此字段可能返回 null,表示取不到有效值。
2105
+ # @type SuccessCount: Integer
2106
+ # @param FailCount: 失败数量
2107
+ # 注意:此字段可能返回 null,表示取不到有效值。
2108
+ # @type FailCount: Integer
2109
+ # @param FailMessageList: 失败原因
2110
+ # 注意:此字段可能返回 null,表示取不到有效值。
2111
+ # @type FailMessageList: Array
2112
+
2113
+ attr_accessor :TotalCount, :SuccessCount, :FailCount, :FailMessageList
2114
+
2115
+ def initialize(totalcount=nil, successcount=nil, failcount=nil, failmessagelist=nil)
2116
+ @TotalCount = totalcount
2117
+ @SuccessCount = successcount
2118
+ @FailCount = failcount
2119
+ @FailMessageList = failmessagelist
2120
+ end
2121
+
2122
+ def deserialize(params)
2123
+ @TotalCount = params['TotalCount']
2124
+ @SuccessCount = params['SuccessCount']
2125
+ @FailCount = params['FailCount']
2126
+ unless params['FailMessageList'].nil?
2127
+ @FailMessageList = []
2128
+ params['FailMessageList'].each do |i|
2129
+ failmessage_tmp = FailMessage.new
2130
+ failmessage_tmp.deserialize(i)
2131
+ @FailMessageList << failmessage_tmp
2132
+ end
2133
+ end
2134
+ end
2135
+ end
2136
+
2078
2137
  # BatchRerunIntegrationTaskInstances请求参数结构体
2079
2138
  class BatchRerunIntegrationTaskInstancesRequest < TencentCloud::Common::AbstractModel
2080
2139
  # @param Instances: 实例信息
@@ -2577,14 +2636,17 @@ module TencentCloud
2577
2636
  # @type TaskType: Integer
2578
2637
  # @param ProjectId: 项目id
2579
2638
  # @type ProjectId: String
2639
+ # @param InchargeIds: 责任人Id(多个责任人用小写分号隔开)
2640
+ # @type InchargeIds: String
2580
2641
 
2581
- attr_accessor :TaskIds, :Incharge, :TaskType, :ProjectId
2642
+ attr_accessor :TaskIds, :Incharge, :TaskType, :ProjectId, :InchargeIds
2582
2643
 
2583
- def initialize(taskids=nil, incharge=nil, tasktype=nil, projectid=nil)
2644
+ def initialize(taskids=nil, incharge=nil, tasktype=nil, projectid=nil, inchargeids=nil)
2584
2645
  @TaskIds = taskids
2585
2646
  @Incharge = incharge
2586
2647
  @TaskType = tasktype
2587
2648
  @ProjectId = projectid
2649
+ @InchargeIds = inchargeids
2588
2650
  end
2589
2651
 
2590
2652
  def deserialize(params)
@@ -2592,6 +2654,7 @@ module TencentCloud
2592
2654
  @Incharge = params['Incharge']
2593
2655
  @TaskType = params['TaskType']
2594
2656
  @ProjectId = params['ProjectId']
2657
+ @InchargeIds = params['InchargeIds']
2595
2658
  end
2596
2659
  end
2597
2660
 
@@ -2751,18 +2814,21 @@ module TencentCloud
2751
2814
  # @type Id: String
2752
2815
  # @param TaskType: 任务类型:201.实时,202.离线
2753
2816
  # @type TaskType: Integer
2817
+ # @param MonitorType: 监控对象类型(1:所有任务,2:指定任务,3:指定责任人,4:指定资源组)
2818
+ # @type MonitorType: Integer
2754
2819
 
2755
- attr_accessor :ProjectId, :AlarmRegularName, :TaskId, :Id, :TaskType
2820
+ attr_accessor :ProjectId, :AlarmRegularName, :TaskId, :Id, :TaskType, :MonitorType
2756
2821
  extend Gem::Deprecate
2757
- deprecate :TaskId, :none, 2023, 11
2758
- deprecate :TaskId=, :none, 2023, 11
2822
+ deprecate :TaskId, :none, 2023, 12
2823
+ deprecate :TaskId=, :none, 2023, 12
2759
2824
 
2760
- def initialize(projectid=nil, alarmregularname=nil, taskid=nil, id=nil, tasktype=nil)
2825
+ def initialize(projectid=nil, alarmregularname=nil, taskid=nil, id=nil, tasktype=nil, monitortype=nil)
2761
2826
  @ProjectId = projectid
2762
2827
  @AlarmRegularName = alarmregularname
2763
2828
  @TaskId = taskid
2764
2829
  @Id = id
2765
2830
  @TaskType = tasktype
2831
+ @MonitorType = monitortype
2766
2832
  end
2767
2833
 
2768
2834
  def deserialize(params)
@@ -2771,6 +2837,7 @@ module TencentCloud
2771
2837
  @TaskId = params['TaskId']
2772
2838
  @Id = params['Id']
2773
2839
  @TaskType = params['TaskType']
2840
+ @MonitorType = params['MonitorType']
2774
2841
  end
2775
2842
  end
2776
2843
 
@@ -7121,6 +7188,12 @@ module TencentCloud
7121
7188
 
7122
7189
  # DescribeAlarmEvents请求参数结构体
7123
7190
  class DescribeAlarmEventsRequest < TencentCloud::Common::AbstractModel
7191
+ # @param ProjectId: 项目ID
7192
+ # @type ProjectId: String
7193
+ # @param PageNumber: 当前页
7194
+ # @type PageNumber: Integer
7195
+ # @param PageSize: 每页记录数
7196
+ # @type PageSize: Integer
7124
7197
  # @param Filters: 过滤条件(key可以是:AlarmLevel,AlarmIndicator,KeyWord)
7125
7198
  # @type Filters: Array
7126
7199
  # @param OrderFields: 排序字段(AlarmTime)
@@ -7131,27 +7204,27 @@ module TencentCloud
7131
7204
  # @type StartTime: String
7132
7205
  # @param EndTime: 结束时间
7133
7206
  # @type EndTime: String
7134
- # @param ProjectId: 项目ID
7135
- # @type ProjectId: String
7136
- # @param PageNumber: 当前页
7137
- # @type PageNumber: Integer
7138
- # @param PageSize: 每页记录数
7139
- # @type PageSize: Integer
7207
+ # @param MonitorType: 监控对象类型(1:所有任务,2:指定任务,3:指定责任人,4:指定资源组)
7208
+ # @type MonitorType: Integer
7140
7209
 
7141
- attr_accessor :Filters, :OrderFields, :TaskType, :StartTime, :EndTime, :ProjectId, :PageNumber, :PageSize
7210
+ attr_accessor :ProjectId, :PageNumber, :PageSize, :Filters, :OrderFields, :TaskType, :StartTime, :EndTime, :MonitorType
7142
7211
 
7143
- def initialize(filters=nil, orderfields=nil, tasktype=nil, starttime=nil, endtime=nil, projectid=nil, pagenumber=nil, pagesize=nil)
7212
+ def initialize(projectid=nil, pagenumber=nil, pagesize=nil, filters=nil, orderfields=nil, tasktype=nil, starttime=nil, endtime=nil, monitortype=nil)
7213
+ @ProjectId = projectid
7214
+ @PageNumber = pagenumber
7215
+ @PageSize = pagesize
7144
7216
  @Filters = filters
7145
7217
  @OrderFields = orderfields
7146
7218
  @TaskType = tasktype
7147
7219
  @StartTime = starttime
7148
7220
  @EndTime = endtime
7149
- @ProjectId = projectid
7150
- @PageNumber = pagenumber
7151
- @PageSize = pagesize
7221
+ @MonitorType = monitortype
7152
7222
  end
7153
7223
 
7154
7224
  def deserialize(params)
7225
+ @ProjectId = params['ProjectId']
7226
+ @PageNumber = params['PageNumber']
7227
+ @PageSize = params['PageSize']
7155
7228
  unless params['Filters'].nil?
7156
7229
  @Filters = []
7157
7230
  params['Filters'].each do |i|
@@ -7171,9 +7244,7 @@ module TencentCloud
7171
7244
  @TaskType = params['TaskType']
7172
7245
  @StartTime = params['StartTime']
7173
7246
  @EndTime = params['EndTime']
7174
- @ProjectId = params['ProjectId']
7175
- @PageNumber = params['PageNumber']
7176
- @PageSize = params['PageSize']
7247
+ @MonitorType = params['MonitorType']
7177
7248
  end
7178
7249
  end
7179
7250
 
@@ -7229,10 +7300,12 @@ module TencentCloud
7229
7300
  # @type AlarmRecipientName: String
7230
7301
  # @param AlarmTime: 告警时间
7231
7302
  # @type AlarmTime: String
7303
+ # @param MonitorType: 监控对象类型(1:所有任务,2:指定任务,3:指定责任人,4:指定资源组)
7304
+ # @type MonitorType: Integer
7232
7305
 
7233
- attr_accessor :AlarmId, :PageNumber, :PageSize, :ProjectId, :MessageId, :TaskType, :AlarmRecipient, :AlarmRecipientName, :AlarmTime
7306
+ attr_accessor :AlarmId, :PageNumber, :PageSize, :ProjectId, :MessageId, :TaskType, :AlarmRecipient, :AlarmRecipientName, :AlarmTime, :MonitorType
7234
7307
 
7235
- def initialize(alarmid=nil, pagenumber=nil, pagesize=nil, projectid=nil, messageid=nil, tasktype=nil, alarmrecipient=nil, alarmrecipientname=nil, alarmtime=nil)
7308
+ def initialize(alarmid=nil, pagenumber=nil, pagesize=nil, projectid=nil, messageid=nil, tasktype=nil, alarmrecipient=nil, alarmrecipientname=nil, alarmtime=nil, monitortype=nil)
7236
7309
  @AlarmId = alarmid
7237
7310
  @PageNumber = pagenumber
7238
7311
  @PageSize = pagesize
@@ -7242,6 +7315,7 @@ module TencentCloud
7242
7315
  @AlarmRecipient = alarmrecipient
7243
7316
  @AlarmRecipientName = alarmrecipientname
7244
7317
  @AlarmTime = alarmtime
7318
+ @MonitorType = monitortype
7245
7319
  end
7246
7320
 
7247
7321
  def deserialize(params)
@@ -7254,6 +7328,7 @@ module TencentCloud
7254
7328
  @AlarmRecipient = params['AlarmRecipient']
7255
7329
  @AlarmRecipientName = params['AlarmRecipientName']
7256
7330
  @AlarmTime = params['AlarmTime']
7331
+ @MonitorType = params['MonitorType']
7257
7332
  end
7258
7333
  end
7259
7334
 
@@ -8678,19 +8753,19 @@ module TencentCloud
8678
8753
 
8679
8754
  # DescribeDataSourceInfoList请求参数结构体
8680
8755
  class DescribeDataSourceInfoListRequest < TencentCloud::Common::AbstractModel
8681
- # @param ProjectId: 工作空间id
8756
+ # @param ProjectId: 项目id
8682
8757
  # @type ProjectId: String
8683
8758
  # @param PageNumber: 页码
8684
8759
  # @type PageNumber: Integer
8685
8760
  # @param PageSize: 页数
8686
8761
  # @type PageSize: Integer
8687
- # @param Filters: 可选过滤条件,Filter可选配置(参考): "Name": { "type": "string", "description": "数据源名称" }, "Type": { "type": "string", "description": "类型" }, "ClusterId": { "type": "string", "description": "集群id" }, "CategoryId": { "type": "string", "description": "分类,项目或空间id" }
8762
+ # @param Filters: 过滤条件(暂不支持)
8688
8763
  # @type Filters: :class:`Tencentcloud::Wedata.v20210820.models.Filter`
8689
8764
  # @param OrderFields: 排序配置
8690
8765
  # @type OrderFields: :class:`Tencentcloud::Wedata.v20210820.models.OrderField`
8691
- # @param Type: 数据源类型
8766
+ # @param Type: 数据源类型,必选(如MYSQL、DLC等)
8692
8767
  # @type Type: String
8693
- # @param DatasourceName: 数据源名称过滤用
8768
+ # @param DatasourceName: 数据源名称过滤
8694
8769
  # @type DatasourceName: String
8695
8770
 
8696
8771
  attr_accessor :ProjectId, :PageNumber, :PageSize, :Filters, :OrderFields, :Type, :DatasourceName
@@ -9740,7 +9815,10 @@ module TencentCloud
9740
9815
  class DescribeEventCasesRequest < TencentCloud::Common::AbstractModel
9741
9816
  # @param ProjectId: 项目ID
9742
9817
  # @type ProjectId: String
9743
- # @param Category: 事件实例目录
9818
+ # @param Category: 事件实例目录,示例取值:
9819
+ # - 已过期: expired
9820
+ # - 未过期: consuming
9821
+ # - 全部: all
9744
9822
  # @type Category: String
9745
9823
  # @param PageNumber: 页码
9746
9824
  # @type PageNumber: Integer
@@ -9754,7 +9832,11 @@ module TencentCloud
9754
9832
  # @type EventSubType: String
9755
9833
  # @param EventBroadcastType: 事件广播类型
9756
9834
  # @type EventBroadcastType: String
9757
- # @param Status: 事件实例状态
9835
+ # @param Status: 事件实例状态,示例取值:
9836
+ # - 已消费: COMSUMED
9837
+ # - 已过期: EXPIRED
9838
+ # - 待消费: ACTIVE
9839
+ # - 消费中: CONSUMING
9758
9840
  # @type Status: String
9759
9841
  # @param CreationTimeStart: 事件实例最小创建时间
9760
9842
  # @type CreationTimeStart: String
@@ -9770,10 +9852,23 @@ module TencentCloud
9770
9852
  # @type LogTimeEnd: String
9771
9853
  # @param Dimension: 事件实例数据时间
9772
9854
  # @type Dimension: String
9855
+ # @param TimeToLive: 事件实例有效时间
9856
+ # @type TimeToLive: String
9857
+ # @param SortItem: 排序字段
9858
+ # @type SortItem: String
9859
+ # @param SortType: 排序顺序
9860
+ # @type SortType: String
9773
9861
 
9774
- attr_accessor :ProjectId, :Category, :PageNumber, :PageSize, :EventName, :EventType, :EventSubType, :EventBroadcastType, :Status, :CreationTimeStart, :CreationTimeEnd, :EventTriggeredTimeStart, :EventTriggeredTimeEnd, :LogTimeStart, :LogTimeEnd, :Dimension
9862
+ attr_accessor :ProjectId, :Category, :PageNumber, :PageSize, :EventName, :EventType, :EventSubType, :EventBroadcastType, :Status, :CreationTimeStart, :CreationTimeEnd, :EventTriggeredTimeStart, :EventTriggeredTimeEnd, :LogTimeStart, :LogTimeEnd, :Dimension, :TimeToLive, :SortItem, :SortType
9863
+ extend Gem::Deprecate
9864
+ deprecate :EventType, :none, 2023, 12
9865
+ deprecate :EventType=, :none, 2023, 12
9866
+ deprecate :EventBroadcastType, :none, 2023, 12
9867
+ deprecate :EventBroadcastType=, :none, 2023, 12
9868
+ deprecate :Status, :none, 2023, 12
9869
+ deprecate :Status=, :none, 2023, 12
9775
9870
 
9776
- def initialize(projectid=nil, category=nil, pagenumber=nil, pagesize=nil, eventname=nil, eventtype=nil, eventsubtype=nil, eventbroadcasttype=nil, status=nil, creationtimestart=nil, creationtimeend=nil, eventtriggeredtimestart=nil, eventtriggeredtimeend=nil, logtimestart=nil, logtimeend=nil, dimension=nil)
9871
+ def initialize(projectid=nil, category=nil, pagenumber=nil, pagesize=nil, eventname=nil, eventtype=nil, eventsubtype=nil, eventbroadcasttype=nil, status=nil, creationtimestart=nil, creationtimeend=nil, eventtriggeredtimestart=nil, eventtriggeredtimeend=nil, logtimestart=nil, logtimeend=nil, dimension=nil, timetolive=nil, sortitem=nil, sorttype=nil)
9777
9872
  @ProjectId = projectid
9778
9873
  @Category = category
9779
9874
  @PageNumber = pagenumber
@@ -9790,6 +9885,9 @@ module TencentCloud
9790
9885
  @LogTimeStart = logtimestart
9791
9886
  @LogTimeEnd = logtimeend
9792
9887
  @Dimension = dimension
9888
+ @TimeToLive = timetolive
9889
+ @SortItem = sortitem
9890
+ @SortType = sorttype
9793
9891
  end
9794
9892
 
9795
9893
  def deserialize(params)
@@ -9809,6 +9907,9 @@ module TencentCloud
9809
9907
  @LogTimeStart = params['LogTimeStart']
9810
9908
  @LogTimeEnd = params['LogTimeEnd']
9811
9909
  @Dimension = params['Dimension']
9910
+ @TimeToLive = params['TimeToLive']
9911
+ @SortItem = params['SortItem']
9912
+ @SortType = params['SortType']
9812
9913
  end
9813
9914
  end
9814
9915
 
@@ -17607,8 +17708,8 @@ module TencentCloud
17607
17708
 
17608
17709
  attr_accessor :DimType, :Count, :QualityDim
17609
17710
  extend Gem::Deprecate
17610
- deprecate :DimType, :none, 2023, 11
17611
- deprecate :DimType=, :none, 2023, 11
17711
+ deprecate :DimType, :none, 2023, 12
17712
+ deprecate :DimType=, :none, 2023, 12
17612
17713
 
17613
17714
  def initialize(dimtype=nil, count=nil, qualitydim=nil)
17614
17715
  @DimType = dimtype
@@ -18189,6 +18290,50 @@ module TencentCloud
18189
18290
  end
18190
18291
  end
18191
18292
 
18293
+ # 事件连续时间实例信息
18294
+ class EventBatchCaseDTO < TencentCloud::Common::AbstractModel
18295
+ # @param CaseId: 事件实例id
18296
+ # @type CaseId: String
18297
+ # @param Name: 事件名
18298
+ # @type Name: String
18299
+ # @param StartDimension: 事件触发起始时间
18300
+ # @type StartDimension: String
18301
+ # @param CreationTs: 创建时间
18302
+ # @type CreationTs: String
18303
+ # @param ConsumerId: 消费者id
18304
+ # @type ConsumerId: String
18305
+ # @param Description: 描述信息
18306
+ # @type Description: String
18307
+ # @param EndDimension: 事件触发结束时间
18308
+ # @type EndDimension: String
18309
+ # @param EventSubType: 事件周期
18310
+ # @type EventSubType: String
18311
+
18312
+ attr_accessor :CaseId, :Name, :StartDimension, :CreationTs, :ConsumerId, :Description, :EndDimension, :EventSubType
18313
+
18314
+ def initialize(caseid=nil, name=nil, startdimension=nil, creationts=nil, consumerid=nil, description=nil, enddimension=nil, eventsubtype=nil)
18315
+ @CaseId = caseid
18316
+ @Name = name
18317
+ @StartDimension = startdimension
18318
+ @CreationTs = creationts
18319
+ @ConsumerId = consumerid
18320
+ @Description = description
18321
+ @EndDimension = enddimension
18322
+ @EventSubType = eventsubtype
18323
+ end
18324
+
18325
+ def deserialize(params)
18326
+ @CaseId = params['CaseId']
18327
+ @Name = params['Name']
18328
+ @StartDimension = params['StartDimension']
18329
+ @CreationTs = params['CreationTs']
18330
+ @ConsumerId = params['ConsumerId']
18331
+ @Description = params['Description']
18332
+ @EndDimension = params['EndDimension']
18333
+ @EventSubType = params['EventSubType']
18334
+ end
18335
+ end
18336
+
18192
18337
  # 事件实例
18193
18338
  class EventCaseAuditLogOptDto < TencentCloud::Common::AbstractModel
18194
18339
  # @param CaseId: 事件实例ID
@@ -18399,6 +18544,42 @@ module TencentCloud
18399
18544
  end
18400
18545
  end
18401
18546
 
18547
+ # 事件实例信息
18548
+ class EventCaseDTO < TencentCloud::Common::AbstractModel
18549
+ # @param CaseId: 事件实例id
18550
+ # @type CaseId: String
18551
+ # @param Name: 事件名
18552
+ # @type Name: String
18553
+ # @param Dimension: 事件格式
18554
+ # @type Dimension: String
18555
+ # @param CreationTs: 创建时间
18556
+ # @type CreationTs: String
18557
+ # @param ConsumerId: 消费者id
18558
+ # @type ConsumerId: String
18559
+ # @param Description: 描述信息
18560
+ # @type Description: String
18561
+
18562
+ attr_accessor :CaseId, :Name, :Dimension, :CreationTs, :ConsumerId, :Description
18563
+
18564
+ def initialize(caseid=nil, name=nil, dimension=nil, creationts=nil, consumerid=nil, description=nil)
18565
+ @CaseId = caseid
18566
+ @Name = name
18567
+ @Dimension = dimension
18568
+ @CreationTs = creationts
18569
+ @ConsumerId = consumerid
18570
+ @Description = description
18571
+ end
18572
+
18573
+ def deserialize(params)
18574
+ @CaseId = params['CaseId']
18575
+ @Name = params['Name']
18576
+ @Dimension = params['Dimension']
18577
+ @CreationTs = params['CreationTs']
18578
+ @ConsumerId = params['ConsumerId']
18579
+ @Description = params['Description']
18580
+ end
18581
+ end
18582
+
18402
18583
  # EventCaseOpsDto
18403
18584
  class EventCaseOpsDto < TencentCloud::Common::AbstractModel
18404
18585
  # @param CaseId: 案例ID
@@ -18739,6 +18920,28 @@ module TencentCloud
18739
18920
  end
18740
18921
  end
18741
18922
 
18923
+ # 错误处理结果信息
18924
+ class FailMessage < TencentCloud::Common::AbstractModel
18925
+ # @param Key: 数据唯一标识
18926
+ # 注意:此字段可能返回 null,表示取不到有效值。
18927
+ # @type Key: String
18928
+ # @param ErrorMessage: 失败原因
18929
+ # 注意:此字段可能返回 null,表示取不到有效值。
18930
+ # @type ErrorMessage: String
18931
+
18932
+ attr_accessor :Key, :ErrorMessage
18933
+
18934
+ def initialize(key=nil, errormessage=nil)
18935
+ @Key = key
18936
+ @ErrorMessage = errormessage
18937
+ end
18938
+
18939
+ def deserialize(params)
18940
+ @Key = params['Key']
18941
+ @ErrorMessage = params['ErrorMessage']
18942
+ end
18943
+ end
18944
+
18742
18945
  # 字段变量
18743
18946
  class FieldConfig < TencentCloud::Common::AbstractModel
18744
18947
  # @param FieldKey: 字段key
@@ -29291,10 +29494,10 @@ module TencentCloud
29291
29494
 
29292
29495
  attr_accessor :SourceObjectDataTypeName, :SourceObjectValue, :ObjectDataTypeName, :ObjectValue, :ObjectType
29293
29496
  extend Gem::Deprecate
29294
- deprecate :SourceObjectDataTypeName, :none, 2023, 11
29295
- deprecate :SourceObjectDataTypeName=, :none, 2023, 11
29296
- deprecate :SourceObjectValue, :none, 2023, 11
29297
- deprecate :SourceObjectValue=, :none, 2023, 11
29497
+ deprecate :SourceObjectDataTypeName, :none, 2023, 12
29498
+ deprecate :SourceObjectDataTypeName=, :none, 2023, 12
29499
+ deprecate :SourceObjectValue, :none, 2023, 12
29500
+ deprecate :SourceObjectValue=, :none, 2023, 12
29298
29501
 
29299
29502
  def initialize(sourceobjectdatatypename=nil, sourceobjectvalue=nil, objectdatatypename=nil, objectvalue=nil, objecttype=nil)
29300
29503
  @SourceObjectDataTypeName = sourceobjectdatatypename
@@ -34250,6 +34453,68 @@ module TencentCloud
34250
34453
  end
34251
34454
  end
34252
34455
 
34456
+ # TriggerDsEvent请求参数结构体
34457
+ class TriggerDsEventRequest < TencentCloud::Common::AbstractModel
34458
+ # @param ProjectId: 项目id
34459
+ # @type ProjectId: String
34460
+ # @param EventCaseList: 事件实例信息
34461
+ # @type EventCaseList: Array
34462
+ # @param EventBatchCaseList: 事件实例信息(连续时间)
34463
+ # @type EventBatchCaseList: Array
34464
+
34465
+ attr_accessor :ProjectId, :EventCaseList, :EventBatchCaseList
34466
+
34467
+ def initialize(projectid=nil, eventcaselist=nil, eventbatchcaselist=nil)
34468
+ @ProjectId = projectid
34469
+ @EventCaseList = eventcaselist
34470
+ @EventBatchCaseList = eventbatchcaselist
34471
+ end
34472
+
34473
+ def deserialize(params)
34474
+ @ProjectId = params['ProjectId']
34475
+ unless params['EventCaseList'].nil?
34476
+ @EventCaseList = []
34477
+ params['EventCaseList'].each do |i|
34478
+ eventcasedto_tmp = EventCaseDTO.new
34479
+ eventcasedto_tmp.deserialize(i)
34480
+ @EventCaseList << eventcasedto_tmp
34481
+ end
34482
+ end
34483
+ unless params['EventBatchCaseList'].nil?
34484
+ @EventBatchCaseList = []
34485
+ params['EventBatchCaseList'].each do |i|
34486
+ eventbatchcasedto_tmp = EventBatchCaseDTO.new
34487
+ eventbatchcasedto_tmp.deserialize(i)
34488
+ @EventBatchCaseList << eventbatchcasedto_tmp
34489
+ end
34490
+ end
34491
+ end
34492
+ end
34493
+
34494
+ # TriggerDsEvent返回参数结构体
34495
+ class TriggerDsEventResponse < TencentCloud::Common::AbstractModel
34496
+ # @param Data: 操作结果
34497
+ # 注意:此字段可能返回 null,表示取不到有效值。
34498
+ # @type Data: :class:`Tencentcloud::Wedata.v20210820.models.BatchOpsDTO`
34499
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
34500
+ # @type RequestId: String
34501
+
34502
+ attr_accessor :Data, :RequestId
34503
+
34504
+ def initialize(data=nil, requestid=nil)
34505
+ @Data = data
34506
+ @RequestId = requestid
34507
+ end
34508
+
34509
+ def deserialize(params)
34510
+ unless params['Data'].nil?
34511
+ @Data = BatchOpsDTO.new
34512
+ @Data.deserialize(params['Data'])
34513
+ end
34514
+ @RequestId = params['RequestId']
34515
+ end
34516
+ end
34517
+
34253
34518
  # TriggerEvent请求参数结构体
34254
34519
  class TriggerEventRequest < TencentCloud::Common::AbstractModel
34255
34520
  # @param ProjectId: 项目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.715
4
+ version: 3.0.717
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-11-28 00:00:00.000000000 Z
11
+ date: 2023-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common