tencentcloud-sdk-cls 1.0.290 → 1.0.291

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7bdd63ef9380168ab3d5c6b620843d96a57574c0
4
- data.tar.gz: 727bd9098a6c0d1c1d71dd7a6b0c416991d85dca
3
+ metadata.gz: a96121a57adf5b5992d0486860117fc597ccc607
4
+ data.tar.gz: e4095eb95c4d0e5d39c2bc610432a176fa729d7d
5
5
  SHA512:
6
- metadata.gz: 074d0b98541b7b232e0cbb08c8da6ae3c305e2503238721c9a359b9f0d8d0b42b202fe1992f9ea6735e1435fb151407ccb1e61176823745b719cba7f3374ce2d
7
- data.tar.gz: f4155af7faa1414a34440f215e3ca40764fd5092d018d041651032534e43bbafa9f1f63e80364ded075fac01191fbae2d66a31b9141985dd7b916858eb2e9304
6
+ metadata.gz: 8de08fcdd02b07a4ea3008e50bbb41efe5947cd16a024e75d6e8c4c0aa197254d28236b294a403853344ac35dc87b98021cdccc07cd30d000711f38c2d3e8ccc
7
+ data.tar.gz: 9372529ce8f6335f101a7f103e921eaa3d7c977b33de0b6c8fc4617ef82c07218e339b970e90157ea32b4d63d1f8a83bf152c8b0608cf9a86575c539b7beff9f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.290
1
+ 1.0.291
@@ -173,6 +173,30 @@ module TencentCloud
173
173
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
174
  end
175
175
 
176
+ # 本接口用于创建数据加工任务。
177
+
178
+ # @param request: Request instance for CreateDataTransform.
179
+ # @type request: :class:`Tencentcloud::cls::V20201016::CreateDataTransformRequest`
180
+ # @rtype: :class:`Tencentcloud::cls::V20201016::CreateDataTransformResponse`
181
+ def CreateDataTransform(request)
182
+ body = send_request('CreateDataTransform', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = CreateDataTransformResponse.new
186
+ model.deserialize(response['Response'])
187
+ model
188
+ else
189
+ code = response['Response']['Error']['Code']
190
+ message = response['Response']['Error']['Message']
191
+ reqid = response['Response']['RequestId']
192
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
193
+ end
194
+ rescue TencentCloud::Common::TencentCloudSDKException => e
195
+ raise e
196
+ rescue StandardError => e
197
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
+ end
199
+
176
200
  # 本接口用于创建日志下载任务,导出原始日志
177
201
 
178
202
  # @param request: Request instance for CreateExport.
@@ -461,6 +485,30 @@ module TencentCloud
461
485
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
462
486
  end
463
487
 
488
+ # 本接口用于删除数据加工任务
489
+
490
+ # @param request: Request instance for DeleteDataTransform.
491
+ # @type request: :class:`Tencentcloud::cls::V20201016::DeleteDataTransformRequest`
492
+ # @rtype: :class:`Tencentcloud::cls::V20201016::DeleteDataTransformResponse`
493
+ def DeleteDataTransform(request)
494
+ body = send_request('DeleteDataTransform', request.serialize)
495
+ response = JSON.parse(body)
496
+ if response['Response'].key?('Error') == false
497
+ model = DeleteDataTransformResponse.new
498
+ model.deserialize(response['Response'])
499
+ model
500
+ else
501
+ code = response['Response']['Error']['Code']
502
+ message = response['Response']['Error']['Message']
503
+ reqid = response['Response']['RequestId']
504
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
505
+ end
506
+ rescue TencentCloud::Common::TencentCloudSDKException => e
507
+ raise e
508
+ rescue StandardError => e
509
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
+ end
511
+
464
512
  # 本接口用于删除日志下载任务
465
513
 
466
514
  # @param request: Request instance for DeleteExport.
@@ -749,6 +797,30 @@ module TencentCloud
749
797
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
750
798
  end
751
799
 
800
+ # 本接口用于获取数据加工任务列表基本信息
801
+
802
+ # @param request: Request instance for DescribeDataTransformInfo.
803
+ # @type request: :class:`Tencentcloud::cls::V20201016::DescribeDataTransformInfoRequest`
804
+ # @rtype: :class:`Tencentcloud::cls::V20201016::DescribeDataTransformInfoResponse`
805
+ def DescribeDataTransformInfo(request)
806
+ body = send_request('DescribeDataTransformInfo', request.serialize)
807
+ response = JSON.parse(body)
808
+ if response['Response'].key?('Error') == false
809
+ model = DescribeDataTransformInfoResponse.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
+
752
824
  # 本接口用于获取日志下载任务列表
753
825
 
754
826
  # @param request: Request instance for DescribeExports.
@@ -1205,6 +1277,30 @@ module TencentCloud
1205
1277
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1206
1278
  end
1207
1279
 
1280
+ # 本接口用于修改数据加工任务
1281
+
1282
+ # @param request: Request instance for ModifyDataTransform.
1283
+ # @type request: :class:`Tencentcloud::cls::V20201016::ModifyDataTransformRequest`
1284
+ # @rtype: :class:`Tencentcloud::cls::V20201016::ModifyDataTransformResponse`
1285
+ def ModifyDataTransform(request)
1286
+ body = send_request('ModifyDataTransform', request.serialize)
1287
+ response = JSON.parse(body)
1288
+ if response['Response'].key?('Error') == false
1289
+ model = ModifyDataTransformResponse.new
1290
+ model.deserialize(response['Response'])
1291
+ model
1292
+ else
1293
+ code = response['Response']['Error']['Code']
1294
+ message = response['Response']['Error']['Message']
1295
+ reqid = response['Response']['RequestId']
1296
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1297
+ end
1298
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1299
+ raise e
1300
+ rescue StandardError => e
1301
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1302
+ end
1303
+
1208
1304
  # 本接口用于修改索引配置
1209
1305
 
1210
1306
  # @param request: Request instance for ModifyIndex.
@@ -178,9 +178,9 @@ module TencentCloud
178
178
  # @type Query: String
179
179
  # @param Number: 告警对象序号;从1开始递增。
180
180
  # @type Number: Integer
181
- # @param StartTimeOffset: 查询范围起始时间相对当前的历史时间,单位非分钟,取值为非正,最大值为0,最小值为-1440。
181
+ # @param StartTimeOffset: 查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。
182
182
  # @type StartTimeOffset: Integer
183
- # @param EndTimeOffset: 查询范围终止时间相对当前的历史时间,单位非分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。
183
+ # @param EndTimeOffset: 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。
184
184
  # @type EndTimeOffset: Integer
185
185
  # @param LogsetId: 日志集ID。
186
186
  # @type LogsetId: String
@@ -1184,6 +1184,84 @@ module TencentCloud
1184
1184
  end
1185
1185
  end
1186
1186
 
1187
+ # CreateDataTransform请求参数结构体
1188
+ class CreateDataTransformRequest < TencentCloud::Common::AbstractModel
1189
+ # @param FuncType: 函数类型. DSL:1 SQL:2
1190
+ # @type FuncType: Integer
1191
+ # @param SrcTopicId: 源日志主题
1192
+ # @type SrcTopicId: String
1193
+ # @param Name: 加工任务名称
1194
+ # @type Name: String
1195
+ # @param EtlContent: 加工逻辑函数
1196
+ # @type EtlContent: String
1197
+ # @param DstResources: 加工任务目的topic_id以及别名
1198
+ # @type DstResources: Array
1199
+ # @param TaskType: 任务类型. 以SrcTopicId为数据源建立预览任务:1,以PreviewLogStatistics为数据源建立预览任务:2 真实任务:3
1200
+ # @type TaskType: Integer
1201
+ # @param EnableFlag: 任务启动状态. 默认为1,正常开启, 2关闭
1202
+ # @type EnableFlag: Integer
1203
+ # @param PreviewLogStatistics: 测试数据
1204
+ # @type PreviewLogStatistics: Array
1205
+
1206
+ attr_accessor :FuncType, :SrcTopicId, :Name, :EtlContent, :DstResources, :TaskType, :EnableFlag, :PreviewLogStatistics
1207
+
1208
+ def initialize(functype=nil, srctopicid=nil, name=nil, etlcontent=nil, dstresources=nil, tasktype=nil, enableflag=nil, previewlogstatistics=nil)
1209
+ @FuncType = functype
1210
+ @SrcTopicId = srctopicid
1211
+ @Name = name
1212
+ @EtlContent = etlcontent
1213
+ @DstResources = dstresources
1214
+ @TaskType = tasktype
1215
+ @EnableFlag = enableflag
1216
+ @PreviewLogStatistics = previewlogstatistics
1217
+ end
1218
+
1219
+ def deserialize(params)
1220
+ @FuncType = params['FuncType']
1221
+ @SrcTopicId = params['SrcTopicId']
1222
+ @Name = params['Name']
1223
+ @EtlContent = params['EtlContent']
1224
+ unless params['DstResources'].nil?
1225
+ @DstResources = []
1226
+ params['DstResources'].each do |i|
1227
+ datatransformresouceinfo_tmp = DataTransformResouceInfo.new
1228
+ datatransformresouceinfo_tmp.deserialize(i)
1229
+ @DstResources << datatransformresouceinfo_tmp
1230
+ end
1231
+ end
1232
+ @TaskType = params['TaskType']
1233
+ @EnableFlag = params['EnableFlag']
1234
+ unless params['PreviewLogStatistics'].nil?
1235
+ @PreviewLogStatistics = []
1236
+ params['PreviewLogStatistics'].each do |i|
1237
+ previewlogstatistic_tmp = PreviewLogStatistic.new
1238
+ previewlogstatistic_tmp.deserialize(i)
1239
+ @PreviewLogStatistics << previewlogstatistic_tmp
1240
+ end
1241
+ end
1242
+ end
1243
+ end
1244
+
1245
+ # CreateDataTransform返回参数结构体
1246
+ class CreateDataTransformResponse < TencentCloud::Common::AbstractModel
1247
+ # @param TaskId: 任务id
1248
+ # @type TaskId: String
1249
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1250
+ # @type RequestId: String
1251
+
1252
+ attr_accessor :TaskId, :RequestId
1253
+
1254
+ def initialize(taskid=nil, requestid=nil)
1255
+ @TaskId = taskid
1256
+ @RequestId = requestid
1257
+ end
1258
+
1259
+ def deserialize(params)
1260
+ @TaskId = params['TaskId']
1261
+ @RequestId = params['RequestId']
1262
+ end
1263
+ end
1264
+
1187
1265
  # CreateExport请求参数结构体
1188
1266
  class CreateExportRequest < TencentCloud::Common::AbstractModel
1189
1267
  # @param TopicId: 日志主题ID
@@ -1593,6 +1671,97 @@ module TencentCloud
1593
1671
  end
1594
1672
  end
1595
1673
 
1674
+ # 数据加工的资源信息
1675
+ class DataTransformResouceInfo < TencentCloud::Common::AbstractModel
1676
+ # @param TopicId: 目标主题id
1677
+ # @type TopicId: String
1678
+ # @param Alias: 别名
1679
+ # @type Alias: String
1680
+
1681
+ attr_accessor :TopicId, :Alias
1682
+
1683
+ def initialize(topicid=nil, _alias=nil)
1684
+ @TopicId = topicid
1685
+ @Alias = _alias
1686
+ end
1687
+
1688
+ def deserialize(params)
1689
+ @TopicId = params['TopicId']
1690
+ @Alias = params['Alias']
1691
+ end
1692
+ end
1693
+
1694
+ # 数据加工任务基本详情
1695
+ class DataTransformTaskInfo < TencentCloud::Common::AbstractModel
1696
+ # @param Name: 数据加工任务名称
1697
+ # @type Name: String
1698
+ # @param TaskId: 数据加工任务id
1699
+ # @type TaskId: String
1700
+ # @param EnableFlag: 任务启用状态,默认为1,正常开启, 2关闭
1701
+ # @type EnableFlag: Integer
1702
+ # @param Type: 加工任务类型,1: DSL, 2:SQL
1703
+ # @type Type: Integer
1704
+ # @param SrcTopicId: 源日志主题
1705
+ # @type SrcTopicId: String
1706
+ # @param Status: 当前加工任务状态(1准备中/2运行中/3停止中/4已停止)
1707
+ # @type Status: Integer
1708
+ # @param CreateTime: 加工任务创建时间
1709
+ # @type CreateTime: String
1710
+ # @param UpdateTime: 最近修改时间
1711
+ # @type UpdateTime: String
1712
+ # @param LastEnableTime: 最后启用时间,如果需要重建集群,修改该时间
1713
+ # @type LastEnableTime: String
1714
+ # @param SrcTopicName: 日志主题名称
1715
+ # @type SrcTopicName: String
1716
+ # @param LogsetId: 日志集id
1717
+ # @type LogsetId: String
1718
+ # @param DstResources: 加工任务目的topic_id以及别名
1719
+ # @type DstResources: Array
1720
+ # @param EtlContent: 加工逻辑函数
1721
+ # @type EtlContent: String
1722
+
1723
+ attr_accessor :Name, :TaskId, :EnableFlag, :Type, :SrcTopicId, :Status, :CreateTime, :UpdateTime, :LastEnableTime, :SrcTopicName, :LogsetId, :DstResources, :EtlContent
1724
+
1725
+ def initialize(name=nil, taskid=nil, enableflag=nil, type=nil, srctopicid=nil, status=nil, createtime=nil, updatetime=nil, lastenabletime=nil, srctopicname=nil, logsetid=nil, dstresources=nil, etlcontent=nil)
1726
+ @Name = name
1727
+ @TaskId = taskid
1728
+ @EnableFlag = enableflag
1729
+ @Type = type
1730
+ @SrcTopicId = srctopicid
1731
+ @Status = status
1732
+ @CreateTime = createtime
1733
+ @UpdateTime = updatetime
1734
+ @LastEnableTime = lastenabletime
1735
+ @SrcTopicName = srctopicname
1736
+ @LogsetId = logsetid
1737
+ @DstResources = dstresources
1738
+ @EtlContent = etlcontent
1739
+ end
1740
+
1741
+ def deserialize(params)
1742
+ @Name = params['Name']
1743
+ @TaskId = params['TaskId']
1744
+ @EnableFlag = params['EnableFlag']
1745
+ @Type = params['Type']
1746
+ @SrcTopicId = params['SrcTopicId']
1747
+ @Status = params['Status']
1748
+ @CreateTime = params['CreateTime']
1749
+ @UpdateTime = params['UpdateTime']
1750
+ @LastEnableTime = params['LastEnableTime']
1751
+ @SrcTopicName = params['SrcTopicName']
1752
+ @LogsetId = params['LogsetId']
1753
+ unless params['DstResources'].nil?
1754
+ @DstResources = []
1755
+ params['DstResources'].each do |i|
1756
+ datatransformresouceinfo_tmp = DataTransformResouceInfo.new
1757
+ datatransformresouceinfo_tmp.deserialize(i)
1758
+ @DstResources << datatransformresouceinfo_tmp
1759
+ end
1760
+ end
1761
+ @EtlContent = params['EtlContent']
1762
+ end
1763
+ end
1764
+
1596
1765
  # DeleteAlarmNotice请求参数结构体
1597
1766
  class DeleteAlarmNoticeRequest < TencentCloud::Common::AbstractModel
1598
1767
  # @param AlarmNoticeId: 通知渠道组ID
@@ -1789,6 +1958,38 @@ module TencentCloud
1789
1958
  end
1790
1959
  end
1791
1960
 
1961
+ # DeleteDataTransform请求参数结构体
1962
+ class DeleteDataTransformRequest < TencentCloud::Common::AbstractModel
1963
+ # @param TaskId: 数据加工任务id
1964
+ # @type TaskId: String
1965
+
1966
+ attr_accessor :TaskId
1967
+
1968
+ def initialize(taskid=nil)
1969
+ @TaskId = taskid
1970
+ end
1971
+
1972
+ def deserialize(params)
1973
+ @TaskId = params['TaskId']
1974
+ end
1975
+ end
1976
+
1977
+ # DeleteDataTransform返回参数结构体
1978
+ class DeleteDataTransformResponse < TencentCloud::Common::AbstractModel
1979
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1980
+ # @type RequestId: String
1981
+
1982
+ attr_accessor :RequestId
1983
+
1984
+ def initialize(requestid=nil)
1985
+ @RequestId = requestid
1986
+ end
1987
+
1988
+ def deserialize(params)
1989
+ @RequestId = params['RequestId']
1990
+ end
1991
+ end
1992
+
1792
1993
  # DeleteExport请求参数结构体
1793
1994
  class DeleteExportRequest < TencentCloud::Common::AbstractModel
1794
1995
  # @param ExportId: 日志导出ID
@@ -2402,6 +2603,90 @@ module TencentCloud
2402
2603
  end
2403
2604
  end
2404
2605
 
2606
+ # DescribeDataTransformInfo请求参数结构体
2607
+ class DescribeDataTransformInfoRequest < TencentCloud::Common::AbstractModel
2608
+ # @param Filters: <br><li> taskName
2609
+
2610
+ # 按照【加工任务名称】进行过滤。
2611
+ # 类型:String
2612
+
2613
+ # 必选:否
2614
+
2615
+ # <br><li> taskId
2616
+
2617
+ # 按照【加工任务id】进行过滤。
2618
+ # 类型:String
2619
+
2620
+ # 必选:否
2621
+
2622
+ # 每次请求的Filters的上限为10,Filter.Values的上限为100。
2623
+ # @type Filters: Array
2624
+ # @param Offset: 分页的偏移量,默认值为0。
2625
+ # @type Offset: Integer
2626
+ # @param Limit: 分页单页限制数目,默认值为20,最大值100。
2627
+ # @type Limit: Integer
2628
+ # @param Type: 默认值为2. 1: 获取单个任务的详细信息 2:获取任务列表
2629
+ # @type Type: Integer
2630
+ # @param TaskId: Type为1, 此参数必填
2631
+ # @type TaskId: String
2632
+
2633
+ attr_accessor :Filters, :Offset, :Limit, :Type, :TaskId
2634
+
2635
+ def initialize(filters=nil, offset=nil, limit=nil, type=nil, taskid=nil)
2636
+ @Filters = filters
2637
+ @Offset = offset
2638
+ @Limit = limit
2639
+ @Type = type
2640
+ @TaskId = taskid
2641
+ end
2642
+
2643
+ def deserialize(params)
2644
+ unless params['Filters'].nil?
2645
+ @Filters = []
2646
+ params['Filters'].each do |i|
2647
+ filter_tmp = Filter.new
2648
+ filter_tmp.deserialize(i)
2649
+ @Filters << filter_tmp
2650
+ end
2651
+ end
2652
+ @Offset = params['Offset']
2653
+ @Limit = params['Limit']
2654
+ @Type = params['Type']
2655
+ @TaskId = params['TaskId']
2656
+ end
2657
+ end
2658
+
2659
+ # DescribeDataTransformInfo返回参数结构体
2660
+ class DescribeDataTransformInfoResponse < TencentCloud::Common::AbstractModel
2661
+ # @param DataTransformTaskInfos: 数据加工任务列表信息
2662
+ # @type DataTransformTaskInfos: Array
2663
+ # @param TotalCount: 任务总次数
2664
+ # @type TotalCount: Integer
2665
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2666
+ # @type RequestId: String
2667
+
2668
+ attr_accessor :DataTransformTaskInfos, :TotalCount, :RequestId
2669
+
2670
+ def initialize(datatransformtaskinfos=nil, totalcount=nil, requestid=nil)
2671
+ @DataTransformTaskInfos = datatransformtaskinfos
2672
+ @TotalCount = totalcount
2673
+ @RequestId = requestid
2674
+ end
2675
+
2676
+ def deserialize(params)
2677
+ unless params['DataTransformTaskInfos'].nil?
2678
+ @DataTransformTaskInfos = []
2679
+ params['DataTransformTaskInfos'].each do |i|
2680
+ datatransformtaskinfo_tmp = DataTransformTaskInfo.new
2681
+ datatransformtaskinfo_tmp.deserialize(i)
2682
+ @DataTransformTaskInfos << datatransformtaskinfo_tmp
2683
+ end
2684
+ end
2685
+ @TotalCount = params['TotalCount']
2686
+ @RequestId = params['RequestId']
2687
+ end
2688
+ end
2689
+
2405
2690
  # DescribeExports请求参数结构体
2406
2691
  class DescribeExportsRequest < TencentCloud::Common::AbstractModel
2407
2692
  # @param TopicId: 日志主题ID
@@ -4368,6 +4653,61 @@ module TencentCloud
4368
4653
  end
4369
4654
  end
4370
4655
 
4656
+ # ModifyDataTransform请求参数结构体
4657
+ class ModifyDataTransformRequest < TencentCloud::Common::AbstractModel
4658
+ # @param TaskId: 加工任务id
4659
+ # @type TaskId: String
4660
+ # @param Name: 加工任务名称
4661
+ # @type Name: String
4662
+ # @param EtlContent: 加工逻辑函数
4663
+ # @type EtlContent: String
4664
+ # @param EnableFlag: 任务启动状态. 默认为1,正常开启, 2关闭
4665
+ # @type EnableFlag: Integer
4666
+ # @param DstResources: 加工任务目的topic_id以及别名
4667
+ # @type DstResources: Array
4668
+
4669
+ attr_accessor :TaskId, :Name, :EtlContent, :EnableFlag, :DstResources
4670
+
4671
+ def initialize(taskid=nil, name=nil, etlcontent=nil, enableflag=nil, dstresources=nil)
4672
+ @TaskId = taskid
4673
+ @Name = name
4674
+ @EtlContent = etlcontent
4675
+ @EnableFlag = enableflag
4676
+ @DstResources = dstresources
4677
+ end
4678
+
4679
+ def deserialize(params)
4680
+ @TaskId = params['TaskId']
4681
+ @Name = params['Name']
4682
+ @EtlContent = params['EtlContent']
4683
+ @EnableFlag = params['EnableFlag']
4684
+ unless params['DstResources'].nil?
4685
+ @DstResources = []
4686
+ params['DstResources'].each do |i|
4687
+ datatransformresouceinfo_tmp = DataTransformResouceInfo.new
4688
+ datatransformresouceinfo_tmp.deserialize(i)
4689
+ @DstResources << datatransformresouceinfo_tmp
4690
+ end
4691
+ end
4692
+ end
4693
+ end
4694
+
4695
+ # ModifyDataTransform返回参数结构体
4696
+ class ModifyDataTransformResponse < TencentCloud::Common::AbstractModel
4697
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4698
+ # @type RequestId: String
4699
+
4700
+ attr_accessor :RequestId
4701
+
4702
+ def initialize(requestid=nil)
4703
+ @RequestId = requestid
4704
+ end
4705
+
4706
+ def deserialize(params)
4707
+ @RequestId = params['RequestId']
4708
+ end
4709
+ end
4710
+
4371
4711
  # ModifyIndex请求参数结构体
4372
4712
  class ModifyIndexRequest < TencentCloud::Common::AbstractModel
4373
4713
  # @param TopicId: 日志主题ID
@@ -4778,6 +5118,43 @@ module TencentCloud
4778
5118
  end
4779
5119
  end
4780
5120
 
5121
+ # 预览数据详情
5122
+ class PreviewLogStatistic < TencentCloud::Common::AbstractModel
5123
+ # @param LogContent: 日志内容
5124
+ # @type LogContent: String
5125
+ # @param LineNum: 行号
5126
+ # @type LineNum: Integer
5127
+ # @param DstTopicId: 目标日志主题
5128
+ # @type DstTopicId: String
5129
+ # @param FailReason: 失败错误码, 空字符串""表示正常
5130
+ # @type FailReason: String
5131
+ # @param Time: 日志时间戳
5132
+ # @type Time: String
5133
+ # @param DstTopicName: 目标topic-name
5134
+ # 注意:此字段可能返回 null,表示取不到有效值。
5135
+ # @type DstTopicName: String
5136
+
5137
+ attr_accessor :LogContent, :LineNum, :DstTopicId, :FailReason, :Time, :DstTopicName
5138
+
5139
+ def initialize(logcontent=nil, linenum=nil, dsttopicid=nil, failreason=nil, time=nil, dsttopicname=nil)
5140
+ @LogContent = logcontent
5141
+ @LineNum = linenum
5142
+ @DstTopicId = dsttopicid
5143
+ @FailReason = failreason
5144
+ @Time = time
5145
+ @DstTopicName = dsttopicname
5146
+ end
5147
+
5148
+ def deserialize(params)
5149
+ @LogContent = params['LogContent']
5150
+ @LineNum = params['LineNum']
5151
+ @DstTopicId = params['DstTopicId']
5152
+ @FailReason = params['FailReason']
5153
+ @Time = params['Time']
5154
+ @DstTopicName = params['DstTopicName']
5155
+ end
5156
+ end
5157
+
4781
5158
  # RetryShipperTask请求参数结构体
4782
5159
  class RetryShipperTaskRequest < TencentCloud::Common::AbstractModel
4783
5160
  # @param ShipperId: 投递规则ID
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cls
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.290
4
+ version: 1.0.291
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-06 00:00:00.000000000 Z
11
+ date: 2022-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common