tencentcloud-sdk-cls 3.0.608 → 3.0.610
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201016/client.rb +96 -0
- data/lib/v20201016/models.rb +388 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 495486222dbfec15aaca34854edf30c6510cfb96
|
4
|
+
data.tar.gz: 5acfbfef0e1f4e46c4a1f647c425354212d83ac1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95c96d16ceb6b6b8f120bdcf720c9bf3c6d0e65c72f16215472b568b24bf330cf40c51d5aa6511bb9d13729402f87078b1eb1db0369ff95f29ad9fe4ea4d7cf0
|
7
|
+
data.tar.gz: d77d382b7a39529eddd5448506cb82aca1444b5138b26d1f71bc26bd35df7ffe8ec37d2a706b7ff8e6cfae0fb6251cd49b4292b691496eb4f77f7dda6e23de69
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.610
|
data/lib/v20201016/client.rb
CHANGED
@@ -269,6 +269,30 @@ module TencentCloud
|
|
269
269
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
270
|
end
|
271
271
|
|
272
|
+
# 本接口用于创建数据加工任务。
|
273
|
+
|
274
|
+
# @param request: Request instance for CreateDataTransform.
|
275
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::CreateDataTransformRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::CreateDataTransformResponse`
|
277
|
+
def CreateDataTransform(request)
|
278
|
+
body = send_request('CreateDataTransform', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = CreateDataTransformResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
272
296
|
# 本接口仅创建下载任务,任务返回的下载地址,请用户调用DescribeExports查看任务列表。其中有下载地址CosPath参数。参考文档https://cloud.tencent.com/document/product/614/56449
|
273
297
|
|
274
298
|
# @param request: Request instance for CreateExport.
|
@@ -581,6 +605,30 @@ module TencentCloud
|
|
581
605
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
606
|
end
|
583
607
|
|
608
|
+
# 本接口用于删除数据加工任务
|
609
|
+
|
610
|
+
# @param request: Request instance for DeleteDataTransform.
|
611
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::DeleteDataTransformRequest`
|
612
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::DeleteDataTransformResponse`
|
613
|
+
def DeleteDataTransform(request)
|
614
|
+
body = send_request('DeleteDataTransform', request.serialize)
|
615
|
+
response = JSON.parse(body)
|
616
|
+
if response['Response'].key?('Error') == false
|
617
|
+
model = DeleteDataTransformResponse.new
|
618
|
+
model.deserialize(response['Response'])
|
619
|
+
model
|
620
|
+
else
|
621
|
+
code = response['Response']['Error']['Code']
|
622
|
+
message = response['Response']['Error']['Message']
|
623
|
+
reqid = response['Response']['RequestId']
|
624
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
625
|
+
end
|
626
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
627
|
+
raise e
|
628
|
+
rescue StandardError => e
|
629
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
630
|
+
end
|
631
|
+
|
584
632
|
# 本接口用于删除日志下载任务
|
585
633
|
|
586
634
|
# @param request: Request instance for DeleteExport.
|
@@ -965,6 +1013,30 @@ module TencentCloud
|
|
965
1013
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
1014
|
end
|
967
1015
|
|
1016
|
+
# 本接口用于获取数据加工任务列表基本信息
|
1017
|
+
|
1018
|
+
# @param request: Request instance for DescribeDataTransformInfo.
|
1019
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::DescribeDataTransformInfoRequest`
|
1020
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::DescribeDataTransformInfoResponse`
|
1021
|
+
def DescribeDataTransformInfo(request)
|
1022
|
+
body = send_request('DescribeDataTransformInfo', request.serialize)
|
1023
|
+
response = JSON.parse(body)
|
1024
|
+
if response['Response'].key?('Error') == false
|
1025
|
+
model = DescribeDataTransformInfoResponse.new
|
1026
|
+
model.deserialize(response['Response'])
|
1027
|
+
model
|
1028
|
+
else
|
1029
|
+
code = response['Response']['Error']['Code']
|
1030
|
+
message = response['Response']['Error']['Message']
|
1031
|
+
reqid = response['Response']['RequestId']
|
1032
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1033
|
+
end
|
1034
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1035
|
+
raise e
|
1036
|
+
rescue StandardError => e
|
1037
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1038
|
+
end
|
1039
|
+
|
968
1040
|
# 本接口用于获取日志下载任务列表
|
969
1041
|
|
970
1042
|
# @param request: Request instance for DescribeExports.
|
@@ -1469,6 +1541,30 @@ module TencentCloud
|
|
1469
1541
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1470
1542
|
end
|
1471
1543
|
|
1544
|
+
# 本接口用于修改数据加工任务
|
1545
|
+
|
1546
|
+
# @param request: Request instance for ModifyDataTransform.
|
1547
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::ModifyDataTransformRequest`
|
1548
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::ModifyDataTransformResponse`
|
1549
|
+
def ModifyDataTransform(request)
|
1550
|
+
body = send_request('ModifyDataTransform', request.serialize)
|
1551
|
+
response = JSON.parse(body)
|
1552
|
+
if response['Response'].key?('Error') == false
|
1553
|
+
model = ModifyDataTransformResponse.new
|
1554
|
+
model.deserialize(response['Response'])
|
1555
|
+
model
|
1556
|
+
else
|
1557
|
+
code = response['Response']['Error']['Code']
|
1558
|
+
message = response['Response']['Error']['Message']
|
1559
|
+
reqid = response['Response']['RequestId']
|
1560
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1561
|
+
end
|
1562
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1563
|
+
raise e
|
1564
|
+
rescue StandardError => e
|
1565
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1566
|
+
end
|
1567
|
+
|
1472
1568
|
# 本接口用于修改索引配置,该接口除受默认接口请求频率限制外,针对单个日志主题,并发数不能超过1,即同一时间同一个日志主题只能有一个正在执行的索引配置修改操作。
|
1473
1569
|
|
1474
1570
|
# @param request: Request instance for ModifyIndex.
|
data/lib/v20201016/models.rb
CHANGED
@@ -1657,6 +1657,84 @@ module TencentCloud
|
|
1657
1657
|
end
|
1658
1658
|
end
|
1659
1659
|
|
1660
|
+
# CreateDataTransform请求参数结构体
|
1661
|
+
class CreateDataTransformRequest < TencentCloud::Common::AbstractModel
|
1662
|
+
# @param FuncType: 任务类型. 1: 指定主题;2:动态创建
|
1663
|
+
# @type FuncType: Integer
|
1664
|
+
# @param SrcTopicId: 源日志主题
|
1665
|
+
# @type SrcTopicId: String
|
1666
|
+
# @param Name: 加工任务名称
|
1667
|
+
# @type Name: String
|
1668
|
+
# @param EtlContent: 加工语句
|
1669
|
+
# @type EtlContent: String
|
1670
|
+
# @param TaskType: 加工类型 1 使用源日志主题中的随机数据,进行加工预览 :2 使用用户自定义测试数据,进行加工预览 3 创建真实加工任务
|
1671
|
+
# @type TaskType: Integer
|
1672
|
+
# @param EnableFlag: 任务启动状态. 默认为1:开启, 2:关闭
|
1673
|
+
# @type EnableFlag: Integer
|
1674
|
+
# @param DstResources: 加工任务目的topic_id以及别名
|
1675
|
+
# @type DstResources: Array
|
1676
|
+
# @param PreviewLogStatistics: 用于预览加工结果的测试数据
|
1677
|
+
# @type PreviewLogStatistics: Array
|
1678
|
+
|
1679
|
+
attr_accessor :FuncType, :SrcTopicId, :Name, :EtlContent, :TaskType, :EnableFlag, :DstResources, :PreviewLogStatistics
|
1680
|
+
|
1681
|
+
def initialize(functype=nil, srctopicid=nil, name=nil, etlcontent=nil, tasktype=nil, enableflag=nil, dstresources=nil, previewlogstatistics=nil)
|
1682
|
+
@FuncType = functype
|
1683
|
+
@SrcTopicId = srctopicid
|
1684
|
+
@Name = name
|
1685
|
+
@EtlContent = etlcontent
|
1686
|
+
@TaskType = tasktype
|
1687
|
+
@EnableFlag = enableflag
|
1688
|
+
@DstResources = dstresources
|
1689
|
+
@PreviewLogStatistics = previewlogstatistics
|
1690
|
+
end
|
1691
|
+
|
1692
|
+
def deserialize(params)
|
1693
|
+
@FuncType = params['FuncType']
|
1694
|
+
@SrcTopicId = params['SrcTopicId']
|
1695
|
+
@Name = params['Name']
|
1696
|
+
@EtlContent = params['EtlContent']
|
1697
|
+
@TaskType = params['TaskType']
|
1698
|
+
@EnableFlag = params['EnableFlag']
|
1699
|
+
unless params['DstResources'].nil?
|
1700
|
+
@DstResources = []
|
1701
|
+
params['DstResources'].each do |i|
|
1702
|
+
datatransformresouceinfo_tmp = DataTransformResouceInfo.new
|
1703
|
+
datatransformresouceinfo_tmp.deserialize(i)
|
1704
|
+
@DstResources << datatransformresouceinfo_tmp
|
1705
|
+
end
|
1706
|
+
end
|
1707
|
+
unless params['PreviewLogStatistics'].nil?
|
1708
|
+
@PreviewLogStatistics = []
|
1709
|
+
params['PreviewLogStatistics'].each do |i|
|
1710
|
+
previewlogstatistic_tmp = PreviewLogStatistic.new
|
1711
|
+
previewlogstatistic_tmp.deserialize(i)
|
1712
|
+
@PreviewLogStatistics << previewlogstatistic_tmp
|
1713
|
+
end
|
1714
|
+
end
|
1715
|
+
end
|
1716
|
+
end
|
1717
|
+
|
1718
|
+
# CreateDataTransform返回参数结构体
|
1719
|
+
class CreateDataTransformResponse < TencentCloud::Common::AbstractModel
|
1720
|
+
# @param TaskId: 任务id
|
1721
|
+
# @type TaskId: String
|
1722
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1723
|
+
# @type RequestId: String
|
1724
|
+
|
1725
|
+
attr_accessor :TaskId, :RequestId
|
1726
|
+
|
1727
|
+
def initialize(taskid=nil, requestid=nil)
|
1728
|
+
@TaskId = taskid
|
1729
|
+
@RequestId = requestid
|
1730
|
+
end
|
1731
|
+
|
1732
|
+
def deserialize(params)
|
1733
|
+
@TaskId = params['TaskId']
|
1734
|
+
@RequestId = params['RequestId']
|
1735
|
+
end
|
1736
|
+
end
|
1737
|
+
|
1660
1738
|
# CreateExport请求参数结构体
|
1661
1739
|
class CreateExportRequest < TencentCloud::Common::AbstractModel
|
1662
1740
|
# @param TopicId: 日志主题ID
|
@@ -2197,6 +2275,97 @@ module TencentCloud
|
|
2197
2275
|
end
|
2198
2276
|
end
|
2199
2277
|
|
2278
|
+
# 数据加工的资源信息
|
2279
|
+
class DataTransformResouceInfo < TencentCloud::Common::AbstractModel
|
2280
|
+
# @param TopicId: 目标主题id
|
2281
|
+
# @type TopicId: String
|
2282
|
+
# @param Alias: 别名
|
2283
|
+
# @type Alias: String
|
2284
|
+
|
2285
|
+
attr_accessor :TopicId, :Alias
|
2286
|
+
|
2287
|
+
def initialize(topicid=nil, _alias=nil)
|
2288
|
+
@TopicId = topicid
|
2289
|
+
@Alias = _alias
|
2290
|
+
end
|
2291
|
+
|
2292
|
+
def deserialize(params)
|
2293
|
+
@TopicId = params['TopicId']
|
2294
|
+
@Alias = params['Alias']
|
2295
|
+
end
|
2296
|
+
end
|
2297
|
+
|
2298
|
+
# 数据加工任务基本详情
|
2299
|
+
class DataTransformTaskInfo < TencentCloud::Common::AbstractModel
|
2300
|
+
# @param Name: 数据加工任务名称
|
2301
|
+
# @type Name: String
|
2302
|
+
# @param TaskId: 数据加工任务id
|
2303
|
+
# @type TaskId: String
|
2304
|
+
# @param EnableFlag: 任务启用状态,默认为1,正常开启, 2关闭
|
2305
|
+
# @type EnableFlag: Integer
|
2306
|
+
# @param Type: 加工任务类型,1: DSL, 2:SQL
|
2307
|
+
# @type Type: Integer
|
2308
|
+
# @param SrcTopicId: 源日志主题
|
2309
|
+
# @type SrcTopicId: String
|
2310
|
+
# @param Status: 当前加工任务状态(1准备中/2运行中/3停止中/4已停止)
|
2311
|
+
# @type Status: Integer
|
2312
|
+
# @param CreateTime: 加工任务创建时间
|
2313
|
+
# @type CreateTime: String
|
2314
|
+
# @param UpdateTime: 最近修改时间
|
2315
|
+
# @type UpdateTime: String
|
2316
|
+
# @param LastEnableTime: 最后启用时间,如果需要重建集群,修改该时间
|
2317
|
+
# @type LastEnableTime: String
|
2318
|
+
# @param SrcTopicName: 日志主题名称
|
2319
|
+
# @type SrcTopicName: String
|
2320
|
+
# @param LogsetId: 日志集id
|
2321
|
+
# @type LogsetId: String
|
2322
|
+
# @param DstResources: 加工任务目的topic_id以及别名
|
2323
|
+
# @type DstResources: Array
|
2324
|
+
# @param EtlContent: 加工逻辑函数
|
2325
|
+
# @type EtlContent: String
|
2326
|
+
|
2327
|
+
attr_accessor :Name, :TaskId, :EnableFlag, :Type, :SrcTopicId, :Status, :CreateTime, :UpdateTime, :LastEnableTime, :SrcTopicName, :LogsetId, :DstResources, :EtlContent
|
2328
|
+
|
2329
|
+
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)
|
2330
|
+
@Name = name
|
2331
|
+
@TaskId = taskid
|
2332
|
+
@EnableFlag = enableflag
|
2333
|
+
@Type = type
|
2334
|
+
@SrcTopicId = srctopicid
|
2335
|
+
@Status = status
|
2336
|
+
@CreateTime = createtime
|
2337
|
+
@UpdateTime = updatetime
|
2338
|
+
@LastEnableTime = lastenabletime
|
2339
|
+
@SrcTopicName = srctopicname
|
2340
|
+
@LogsetId = logsetid
|
2341
|
+
@DstResources = dstresources
|
2342
|
+
@EtlContent = etlcontent
|
2343
|
+
end
|
2344
|
+
|
2345
|
+
def deserialize(params)
|
2346
|
+
@Name = params['Name']
|
2347
|
+
@TaskId = params['TaskId']
|
2348
|
+
@EnableFlag = params['EnableFlag']
|
2349
|
+
@Type = params['Type']
|
2350
|
+
@SrcTopicId = params['SrcTopicId']
|
2351
|
+
@Status = params['Status']
|
2352
|
+
@CreateTime = params['CreateTime']
|
2353
|
+
@UpdateTime = params['UpdateTime']
|
2354
|
+
@LastEnableTime = params['LastEnableTime']
|
2355
|
+
@SrcTopicName = params['SrcTopicName']
|
2356
|
+
@LogsetId = params['LogsetId']
|
2357
|
+
unless params['DstResources'].nil?
|
2358
|
+
@DstResources = []
|
2359
|
+
params['DstResources'].each do |i|
|
2360
|
+
datatransformresouceinfo_tmp = DataTransformResouceInfo.new
|
2361
|
+
datatransformresouceinfo_tmp.deserialize(i)
|
2362
|
+
@DstResources << datatransformresouceinfo_tmp
|
2363
|
+
end
|
2364
|
+
end
|
2365
|
+
@EtlContent = params['EtlContent']
|
2366
|
+
end
|
2367
|
+
end
|
2368
|
+
|
2200
2369
|
# DeleteAlarmNotice请求参数结构体
|
2201
2370
|
class DeleteAlarmNoticeRequest < TencentCloud::Common::AbstractModel
|
2202
2371
|
# @param AlarmNoticeId: 通知渠道组ID
|
@@ -2393,6 +2562,38 @@ module TencentCloud
|
|
2393
2562
|
end
|
2394
2563
|
end
|
2395
2564
|
|
2565
|
+
# DeleteDataTransform请求参数结构体
|
2566
|
+
class DeleteDataTransformRequest < TencentCloud::Common::AbstractModel
|
2567
|
+
# @param TaskId: 数据加工任务id
|
2568
|
+
# @type TaskId: String
|
2569
|
+
|
2570
|
+
attr_accessor :TaskId
|
2571
|
+
|
2572
|
+
def initialize(taskid=nil)
|
2573
|
+
@TaskId = taskid
|
2574
|
+
end
|
2575
|
+
|
2576
|
+
def deserialize(params)
|
2577
|
+
@TaskId = params['TaskId']
|
2578
|
+
end
|
2579
|
+
end
|
2580
|
+
|
2581
|
+
# DeleteDataTransform返回参数结构体
|
2582
|
+
class DeleteDataTransformResponse < TencentCloud::Common::AbstractModel
|
2583
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2584
|
+
# @type RequestId: String
|
2585
|
+
|
2586
|
+
attr_accessor :RequestId
|
2587
|
+
|
2588
|
+
def initialize(requestid=nil)
|
2589
|
+
@RequestId = requestid
|
2590
|
+
end
|
2591
|
+
|
2592
|
+
def deserialize(params)
|
2593
|
+
@RequestId = params['RequestId']
|
2594
|
+
end
|
2595
|
+
end
|
2596
|
+
|
2396
2597
|
# DeleteExport请求参数结构体
|
2397
2598
|
class DeleteExportRequest < TencentCloud::Common::AbstractModel
|
2398
2599
|
# @param ExportId: 日志导出ID
|
@@ -3196,6 +3397,97 @@ module TencentCloud
|
|
3196
3397
|
end
|
3197
3398
|
end
|
3198
3399
|
|
3400
|
+
# DescribeDataTransformInfo请求参数结构体
|
3401
|
+
class DescribeDataTransformInfoRequest < TencentCloud::Common::AbstractModel
|
3402
|
+
# @param Filters: <br><li> taskName
|
3403
|
+
|
3404
|
+
# 按照【加工任务名称】进行过滤。
|
3405
|
+
# 类型:String
|
3406
|
+
|
3407
|
+
# 必选:否
|
3408
|
+
|
3409
|
+
# <br><li> taskId
|
3410
|
+
|
3411
|
+
# 按照【加工任务id】进行过滤。
|
3412
|
+
# 类型:String
|
3413
|
+
|
3414
|
+
# 必选:否
|
3415
|
+
|
3416
|
+
# <br><li> srctopicId
|
3417
|
+
|
3418
|
+
# 按照【源topicId】进行过滤。
|
3419
|
+
# 类型:String
|
3420
|
+
|
3421
|
+
# 必选:否
|
3422
|
+
|
3423
|
+
# 每次请求的Filters的上限为10,Filter.Values的上限为100。
|
3424
|
+
# @type Filters: Array
|
3425
|
+
# @param Offset: 分页的偏移量,默认值为0。
|
3426
|
+
# @type Offset: Integer
|
3427
|
+
# @param Limit: 分页单页限制数目,默认值为20,最大值100。
|
3428
|
+
# @type Limit: Integer
|
3429
|
+
# @param Type: 默认值为2. 1: 获取单个任务的详细信息 2:获取任务列表
|
3430
|
+
# @type Type: Integer
|
3431
|
+
# @param TaskId: Type为1, 此参数必填
|
3432
|
+
# @type TaskId: String
|
3433
|
+
|
3434
|
+
attr_accessor :Filters, :Offset, :Limit, :Type, :TaskId
|
3435
|
+
|
3436
|
+
def initialize(filters=nil, offset=nil, limit=nil, type=nil, taskid=nil)
|
3437
|
+
@Filters = filters
|
3438
|
+
@Offset = offset
|
3439
|
+
@Limit = limit
|
3440
|
+
@Type = type
|
3441
|
+
@TaskId = taskid
|
3442
|
+
end
|
3443
|
+
|
3444
|
+
def deserialize(params)
|
3445
|
+
unless params['Filters'].nil?
|
3446
|
+
@Filters = []
|
3447
|
+
params['Filters'].each do |i|
|
3448
|
+
filter_tmp = Filter.new
|
3449
|
+
filter_tmp.deserialize(i)
|
3450
|
+
@Filters << filter_tmp
|
3451
|
+
end
|
3452
|
+
end
|
3453
|
+
@Offset = params['Offset']
|
3454
|
+
@Limit = params['Limit']
|
3455
|
+
@Type = params['Type']
|
3456
|
+
@TaskId = params['TaskId']
|
3457
|
+
end
|
3458
|
+
end
|
3459
|
+
|
3460
|
+
# DescribeDataTransformInfo返回参数结构体
|
3461
|
+
class DescribeDataTransformInfoResponse < TencentCloud::Common::AbstractModel
|
3462
|
+
# @param DataTransformTaskInfos: 数据加工任务列表信息
|
3463
|
+
# @type DataTransformTaskInfos: Array
|
3464
|
+
# @param TotalCount: 任务总次数
|
3465
|
+
# @type TotalCount: Integer
|
3466
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3467
|
+
# @type RequestId: String
|
3468
|
+
|
3469
|
+
attr_accessor :DataTransformTaskInfos, :TotalCount, :RequestId
|
3470
|
+
|
3471
|
+
def initialize(datatransformtaskinfos=nil, totalcount=nil, requestid=nil)
|
3472
|
+
@DataTransformTaskInfos = datatransformtaskinfos
|
3473
|
+
@TotalCount = totalcount
|
3474
|
+
@RequestId = requestid
|
3475
|
+
end
|
3476
|
+
|
3477
|
+
def deserialize(params)
|
3478
|
+
unless params['DataTransformTaskInfos'].nil?
|
3479
|
+
@DataTransformTaskInfos = []
|
3480
|
+
params['DataTransformTaskInfos'].each do |i|
|
3481
|
+
datatransformtaskinfo_tmp = DataTransformTaskInfo.new
|
3482
|
+
datatransformtaskinfo_tmp.deserialize(i)
|
3483
|
+
@DataTransformTaskInfos << datatransformtaskinfo_tmp
|
3484
|
+
end
|
3485
|
+
end
|
3486
|
+
@TotalCount = params['TotalCount']
|
3487
|
+
@RequestId = params['RequestId']
|
3488
|
+
end
|
3489
|
+
end
|
3490
|
+
|
3199
3491
|
# DescribeExports请求参数结构体
|
3200
3492
|
class DescribeExportsRequest < TencentCloud::Common::AbstractModel
|
3201
3493
|
# @param TopicId: 日志主题ID
|
@@ -4028,6 +4320,8 @@ module TencentCloud
|
|
4028
4320
|
end
|
4029
4321
|
|
4030
4322
|
# 动态更新索引配置
|
4323
|
+
|
4324
|
+
# 注意:该功能尚处于内测阶段,如需使用请联系技术支持
|
4031
4325
|
class DynamicIndex < TencentCloud::Common::AbstractModel
|
4032
4326
|
# @param Status: 动态索引配置开关
|
4033
4327
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -5670,6 +5964,61 @@ module TencentCloud
|
|
5670
5964
|
end
|
5671
5965
|
end
|
5672
5966
|
|
5967
|
+
# ModifyDataTransform请求参数结构体
|
5968
|
+
class ModifyDataTransformRequest < TencentCloud::Common::AbstractModel
|
5969
|
+
# @param TaskId: 加工任务id
|
5970
|
+
# @type TaskId: String
|
5971
|
+
# @param Name: 加工任务名称
|
5972
|
+
# @type Name: String
|
5973
|
+
# @param EtlContent: 加工语句
|
5974
|
+
# @type EtlContent: String
|
5975
|
+
# @param EnableFlag: 任务启动状态. 默认为1,开启, 2关闭
|
5976
|
+
# @type EnableFlag: Integer
|
5977
|
+
# @param DstResources: 加工任务目的topic_id以及别名
|
5978
|
+
# @type DstResources: Array
|
5979
|
+
|
5980
|
+
attr_accessor :TaskId, :Name, :EtlContent, :EnableFlag, :DstResources
|
5981
|
+
|
5982
|
+
def initialize(taskid=nil, name=nil, etlcontent=nil, enableflag=nil, dstresources=nil)
|
5983
|
+
@TaskId = taskid
|
5984
|
+
@Name = name
|
5985
|
+
@EtlContent = etlcontent
|
5986
|
+
@EnableFlag = enableflag
|
5987
|
+
@DstResources = dstresources
|
5988
|
+
end
|
5989
|
+
|
5990
|
+
def deserialize(params)
|
5991
|
+
@TaskId = params['TaskId']
|
5992
|
+
@Name = params['Name']
|
5993
|
+
@EtlContent = params['EtlContent']
|
5994
|
+
@EnableFlag = params['EnableFlag']
|
5995
|
+
unless params['DstResources'].nil?
|
5996
|
+
@DstResources = []
|
5997
|
+
params['DstResources'].each do |i|
|
5998
|
+
datatransformresouceinfo_tmp = DataTransformResouceInfo.new
|
5999
|
+
datatransformresouceinfo_tmp.deserialize(i)
|
6000
|
+
@DstResources << datatransformresouceinfo_tmp
|
6001
|
+
end
|
6002
|
+
end
|
6003
|
+
end
|
6004
|
+
end
|
6005
|
+
|
6006
|
+
# ModifyDataTransform返回参数结构体
|
6007
|
+
class ModifyDataTransformResponse < TencentCloud::Common::AbstractModel
|
6008
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6009
|
+
# @type RequestId: String
|
6010
|
+
|
6011
|
+
attr_accessor :RequestId
|
6012
|
+
|
6013
|
+
def initialize(requestid=nil)
|
6014
|
+
@RequestId = requestid
|
6015
|
+
end
|
6016
|
+
|
6017
|
+
def deserialize(params)
|
6018
|
+
@RequestId = params['RequestId']
|
6019
|
+
end
|
6020
|
+
end
|
6021
|
+
|
5673
6022
|
# ModifyIndex请求参数结构体
|
5674
6023
|
class ModifyIndexRequest < TencentCloud::Common::AbstractModel
|
5675
6024
|
# @param TopicId: 日志主题ID
|
@@ -6401,6 +6750,43 @@ module TencentCloud
|
|
6401
6750
|
end
|
6402
6751
|
end
|
6403
6752
|
|
6753
|
+
# 预览数据详情
|
6754
|
+
class PreviewLogStatistic < TencentCloud::Common::AbstractModel
|
6755
|
+
# @param LogContent: 日志内容
|
6756
|
+
# @type LogContent: String
|
6757
|
+
# @param LineNum: 行号
|
6758
|
+
# @type LineNum: Integer
|
6759
|
+
# @param DstTopicId: 目标日志主题
|
6760
|
+
# @type DstTopicId: String
|
6761
|
+
# @param FailReason: 失败错误码, 空字符串""表示正常
|
6762
|
+
# @type FailReason: String
|
6763
|
+
# @param Time: 日志时间戳
|
6764
|
+
# @type Time: String
|
6765
|
+
# @param DstTopicName: 目标topic-name
|
6766
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6767
|
+
# @type DstTopicName: String
|
6768
|
+
|
6769
|
+
attr_accessor :LogContent, :LineNum, :DstTopicId, :FailReason, :Time, :DstTopicName
|
6770
|
+
|
6771
|
+
def initialize(logcontent=nil, linenum=nil, dsttopicid=nil, failreason=nil, time=nil, dsttopicname=nil)
|
6772
|
+
@LogContent = logcontent
|
6773
|
+
@LineNum = linenum
|
6774
|
+
@DstTopicId = dsttopicid
|
6775
|
+
@FailReason = failreason
|
6776
|
+
@Time = time
|
6777
|
+
@DstTopicName = dsttopicname
|
6778
|
+
end
|
6779
|
+
|
6780
|
+
def deserialize(params)
|
6781
|
+
@LogContent = params['LogContent']
|
6782
|
+
@LineNum = params['LineNum']
|
6783
|
+
@DstTopicId = params['DstTopicId']
|
6784
|
+
@FailReason = params['FailReason']
|
6785
|
+
@Time = params['Time']
|
6786
|
+
@DstTopicName = params['DstTopicName']
|
6787
|
+
end
|
6788
|
+
end
|
6789
|
+
|
6404
6790
|
# RetryShipperTask请求参数结构体
|
6405
6791
|
class RetryShipperTaskRequest < TencentCloud::Common::AbstractModel
|
6406
6792
|
# @param ShipperId: 投递规则ID
|
@@ -6449,6 +6835,8 @@ module TencentCloud
|
|
6449
6835
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6450
6836
|
# @type Tag: :class:`Tencentcloud::Cls.v20201016.models.RuleTagInfo`
|
6451
6837
|
# @param DynamicIndex: 动态索引配置,如果为空时代表未开启动态段索引
|
6838
|
+
|
6839
|
+
# 注意:该功能尚处于内测阶段,如需使用请联系技术支持
|
6452
6840
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6453
6841
|
# @type DynamicIndex: :class:`Tencentcloud::Cls.v20201016.models.DynamicIndex`
|
6454
6842
|
|
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: 3.0.
|
4
|
+
version: 3.0.610
|
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-
|
11
|
+
date: 2023-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|