tencentcloud-sdk-cls 1.0.341 → 1.0.344
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20201016/client.rb +0 -96
- data/lib/v20201016/models.rb +0 -377
- 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: ea97684ff687320416b7328385d80654f90068fb
|
4
|
+
data.tar.gz: 16b8ae606ad5fb933b74319fbefdc650f550bf54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29ea279bc885e4c674f76c3e19eaa898d19bf5d4a64a9bdb4e6fb8a48e45f0e43281d479a27823afd08a90380f6e48b1b719a976557d9adc289e56b03af5d524
|
7
|
+
data.tar.gz: 69412b3747e35d022099c2c42fde59d0e2afd06481c43eeaccfb83b1ff32aff8553e730085155c2bd2ea8d53ab7034075092c997eaf9f4b7867e120b3b32b23f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.344
|
data/lib/v20201016/client.rb
CHANGED
@@ -197,30 +197,6 @@ module TencentCloud
|
|
197
197
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
198
198
|
end
|
199
199
|
|
200
|
-
# 本接口用于创建数据加工任务。
|
201
|
-
|
202
|
-
# @param request: Request instance for CreateDataTransform.
|
203
|
-
# @type request: :class:`Tencentcloud::cls::V20201016::CreateDataTransformRequest`
|
204
|
-
# @rtype: :class:`Tencentcloud::cls::V20201016::CreateDataTransformResponse`
|
205
|
-
def CreateDataTransform(request)
|
206
|
-
body = send_request('CreateDataTransform', request.serialize)
|
207
|
-
response = JSON.parse(body)
|
208
|
-
if response['Response'].key?('Error') == false
|
209
|
-
model = CreateDataTransformResponse.new
|
210
|
-
model.deserialize(response['Response'])
|
211
|
-
model
|
212
|
-
else
|
213
|
-
code = response['Response']['Error']['Code']
|
214
|
-
message = response['Response']['Error']['Message']
|
215
|
-
reqid = response['Response']['RequestId']
|
216
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
217
|
-
end
|
218
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
219
|
-
raise e
|
220
|
-
rescue StandardError => e
|
221
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
|
-
end
|
223
|
-
|
224
200
|
# 本接口仅创建下载任务,任务返回的下载地址,请用户调用DescribeExports查看任务列表。其中有下载地址CosPath参数。参考文档https://cloud.tencent.com/document/product/614/56449
|
225
201
|
|
226
202
|
# @param request: Request instance for CreateExport.
|
@@ -509,30 +485,6 @@ module TencentCloud
|
|
509
485
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
486
|
end
|
511
487
|
|
512
|
-
# 本接口用于删除数据加工任务
|
513
|
-
|
514
|
-
# @param request: Request instance for DeleteDataTransform.
|
515
|
-
# @type request: :class:`Tencentcloud::cls::V20201016::DeleteDataTransformRequest`
|
516
|
-
# @rtype: :class:`Tencentcloud::cls::V20201016::DeleteDataTransformResponse`
|
517
|
-
def DeleteDataTransform(request)
|
518
|
-
body = send_request('DeleteDataTransform', request.serialize)
|
519
|
-
response = JSON.parse(body)
|
520
|
-
if response['Response'].key?('Error') == false
|
521
|
-
model = DeleteDataTransformResponse.new
|
522
|
-
model.deserialize(response['Response'])
|
523
|
-
model
|
524
|
-
else
|
525
|
-
code = response['Response']['Error']['Code']
|
526
|
-
message = response['Response']['Error']['Message']
|
527
|
-
reqid = response['Response']['RequestId']
|
528
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
529
|
-
end
|
530
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
531
|
-
raise e
|
532
|
-
rescue StandardError => e
|
533
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
|
-
end
|
535
|
-
|
536
488
|
# 本接口用于删除日志下载任务
|
537
489
|
|
538
490
|
# @param request: Request instance for DeleteExport.
|
@@ -821,30 +773,6 @@ module TencentCloud
|
|
821
773
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
822
774
|
end
|
823
775
|
|
824
|
-
# 本接口用于获取数据加工任务列表基本信息
|
825
|
-
|
826
|
-
# @param request: Request instance for DescribeDataTransformInfo.
|
827
|
-
# @type request: :class:`Tencentcloud::cls::V20201016::DescribeDataTransformInfoRequest`
|
828
|
-
# @rtype: :class:`Tencentcloud::cls::V20201016::DescribeDataTransformInfoResponse`
|
829
|
-
def DescribeDataTransformInfo(request)
|
830
|
-
body = send_request('DescribeDataTransformInfo', request.serialize)
|
831
|
-
response = JSON.parse(body)
|
832
|
-
if response['Response'].key?('Error') == false
|
833
|
-
model = DescribeDataTransformInfoResponse.new
|
834
|
-
model.deserialize(response['Response'])
|
835
|
-
model
|
836
|
-
else
|
837
|
-
code = response['Response']['Error']['Code']
|
838
|
-
message = response['Response']['Error']['Message']
|
839
|
-
reqid = response['Response']['RequestId']
|
840
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
841
|
-
end
|
842
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
843
|
-
raise e
|
844
|
-
rescue StandardError => e
|
845
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
846
|
-
end
|
847
|
-
|
848
776
|
# 本接口用于获取日志下载任务列表
|
849
777
|
|
850
778
|
# @param request: Request instance for DescribeExports.
|
@@ -1301,30 +1229,6 @@ module TencentCloud
|
|
1301
1229
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1302
1230
|
end
|
1303
1231
|
|
1304
|
-
# 本接口用于修改数据加工任务
|
1305
|
-
|
1306
|
-
# @param request: Request instance for ModifyDataTransform.
|
1307
|
-
# @type request: :class:`Tencentcloud::cls::V20201016::ModifyDataTransformRequest`
|
1308
|
-
# @rtype: :class:`Tencentcloud::cls::V20201016::ModifyDataTransformResponse`
|
1309
|
-
def ModifyDataTransform(request)
|
1310
|
-
body = send_request('ModifyDataTransform', request.serialize)
|
1311
|
-
response = JSON.parse(body)
|
1312
|
-
if response['Response'].key?('Error') == false
|
1313
|
-
model = ModifyDataTransformResponse.new
|
1314
|
-
model.deserialize(response['Response'])
|
1315
|
-
model
|
1316
|
-
else
|
1317
|
-
code = response['Response']['Error']['Code']
|
1318
|
-
message = response['Response']['Error']['Message']
|
1319
|
-
reqid = response['Response']['RequestId']
|
1320
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1321
|
-
end
|
1322
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1323
|
-
raise e
|
1324
|
-
rescue StandardError => e
|
1325
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1326
|
-
end
|
1327
|
-
|
1328
1232
|
# 本接口用于修改索引配置
|
1329
1233
|
|
1330
1234
|
# @param request: Request instance for ModifyIndex.
|
data/lib/v20201016/models.rb
CHANGED
@@ -1229,84 +1229,6 @@ module TencentCloud
|
|
1229
1229
|
end
|
1230
1230
|
end
|
1231
1231
|
|
1232
|
-
# CreateDataTransform请求参数结构体
|
1233
|
-
class CreateDataTransformRequest < TencentCloud::Common::AbstractModel
|
1234
|
-
# @param FuncType: 函数类型. DSL:1 SQL:2
|
1235
|
-
# @type FuncType: Integer
|
1236
|
-
# @param SrcTopicId: 源日志主题
|
1237
|
-
# @type SrcTopicId: String
|
1238
|
-
# @param Name: 加工任务名称
|
1239
|
-
# @type Name: String
|
1240
|
-
# @param EtlContent: 加工逻辑函数
|
1241
|
-
# @type EtlContent: String
|
1242
|
-
# @param DstResources: 加工任务目的topic_id以及别名
|
1243
|
-
# @type DstResources: Array
|
1244
|
-
# @param TaskType: 任务类型. 以SrcTopicId为数据源建立预览任务:1,以PreviewLogStatistics为数据源建立预览任务:2 真实任务:3
|
1245
|
-
# @type TaskType: Integer
|
1246
|
-
# @param EnableFlag: 任务启动状态. 默认为1,正常开启, 2关闭
|
1247
|
-
# @type EnableFlag: Integer
|
1248
|
-
# @param PreviewLogStatistics: 测试数据
|
1249
|
-
# @type PreviewLogStatistics: Array
|
1250
|
-
|
1251
|
-
attr_accessor :FuncType, :SrcTopicId, :Name, :EtlContent, :DstResources, :TaskType, :EnableFlag, :PreviewLogStatistics
|
1252
|
-
|
1253
|
-
def initialize(functype=nil, srctopicid=nil, name=nil, etlcontent=nil, dstresources=nil, tasktype=nil, enableflag=nil, previewlogstatistics=nil)
|
1254
|
-
@FuncType = functype
|
1255
|
-
@SrcTopicId = srctopicid
|
1256
|
-
@Name = name
|
1257
|
-
@EtlContent = etlcontent
|
1258
|
-
@DstResources = dstresources
|
1259
|
-
@TaskType = tasktype
|
1260
|
-
@EnableFlag = enableflag
|
1261
|
-
@PreviewLogStatistics = previewlogstatistics
|
1262
|
-
end
|
1263
|
-
|
1264
|
-
def deserialize(params)
|
1265
|
-
@FuncType = params['FuncType']
|
1266
|
-
@SrcTopicId = params['SrcTopicId']
|
1267
|
-
@Name = params['Name']
|
1268
|
-
@EtlContent = params['EtlContent']
|
1269
|
-
unless params['DstResources'].nil?
|
1270
|
-
@DstResources = []
|
1271
|
-
params['DstResources'].each do |i|
|
1272
|
-
datatransformresouceinfo_tmp = DataTransformResouceInfo.new
|
1273
|
-
datatransformresouceinfo_tmp.deserialize(i)
|
1274
|
-
@DstResources << datatransformresouceinfo_tmp
|
1275
|
-
end
|
1276
|
-
end
|
1277
|
-
@TaskType = params['TaskType']
|
1278
|
-
@EnableFlag = params['EnableFlag']
|
1279
|
-
unless params['PreviewLogStatistics'].nil?
|
1280
|
-
@PreviewLogStatistics = []
|
1281
|
-
params['PreviewLogStatistics'].each do |i|
|
1282
|
-
previewlogstatistic_tmp = PreviewLogStatistic.new
|
1283
|
-
previewlogstatistic_tmp.deserialize(i)
|
1284
|
-
@PreviewLogStatistics << previewlogstatistic_tmp
|
1285
|
-
end
|
1286
|
-
end
|
1287
|
-
end
|
1288
|
-
end
|
1289
|
-
|
1290
|
-
# CreateDataTransform返回参数结构体
|
1291
|
-
class CreateDataTransformResponse < TencentCloud::Common::AbstractModel
|
1292
|
-
# @param TaskId: 任务id
|
1293
|
-
# @type TaskId: String
|
1294
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1295
|
-
# @type RequestId: String
|
1296
|
-
|
1297
|
-
attr_accessor :TaskId, :RequestId
|
1298
|
-
|
1299
|
-
def initialize(taskid=nil, requestid=nil)
|
1300
|
-
@TaskId = taskid
|
1301
|
-
@RequestId = requestid
|
1302
|
-
end
|
1303
|
-
|
1304
|
-
def deserialize(params)
|
1305
|
-
@TaskId = params['TaskId']
|
1306
|
-
@RequestId = params['RequestId']
|
1307
|
-
end
|
1308
|
-
end
|
1309
|
-
|
1310
1232
|
# CreateExport请求参数结构体
|
1311
1233
|
class CreateExportRequest < TencentCloud::Common::AbstractModel
|
1312
1234
|
# @param TopicId: 日志主题ID
|
@@ -1724,97 +1646,6 @@ module TencentCloud
|
|
1724
1646
|
end
|
1725
1647
|
end
|
1726
1648
|
|
1727
|
-
# 数据加工的资源信息
|
1728
|
-
class DataTransformResouceInfo < TencentCloud::Common::AbstractModel
|
1729
|
-
# @param TopicId: 目标主题id
|
1730
|
-
# @type TopicId: String
|
1731
|
-
# @param Alias: 别名
|
1732
|
-
# @type Alias: String
|
1733
|
-
|
1734
|
-
attr_accessor :TopicId, :Alias
|
1735
|
-
|
1736
|
-
def initialize(topicid=nil, _alias=nil)
|
1737
|
-
@TopicId = topicid
|
1738
|
-
@Alias = _alias
|
1739
|
-
end
|
1740
|
-
|
1741
|
-
def deserialize(params)
|
1742
|
-
@TopicId = params['TopicId']
|
1743
|
-
@Alias = params['Alias']
|
1744
|
-
end
|
1745
|
-
end
|
1746
|
-
|
1747
|
-
# 数据加工任务基本详情
|
1748
|
-
class DataTransformTaskInfo < TencentCloud::Common::AbstractModel
|
1749
|
-
# @param Name: 数据加工任务名称
|
1750
|
-
# @type Name: String
|
1751
|
-
# @param TaskId: 数据加工任务id
|
1752
|
-
# @type TaskId: String
|
1753
|
-
# @param EnableFlag: 任务启用状态,默认为1,正常开启, 2关闭
|
1754
|
-
# @type EnableFlag: Integer
|
1755
|
-
# @param Type: 加工任务类型,1: DSL, 2:SQL
|
1756
|
-
# @type Type: Integer
|
1757
|
-
# @param SrcTopicId: 源日志主题
|
1758
|
-
# @type SrcTopicId: String
|
1759
|
-
# @param Status: 当前加工任务状态(1准备中/2运行中/3停止中/4已停止)
|
1760
|
-
# @type Status: Integer
|
1761
|
-
# @param CreateTime: 加工任务创建时间
|
1762
|
-
# @type CreateTime: String
|
1763
|
-
# @param UpdateTime: 最近修改时间
|
1764
|
-
# @type UpdateTime: String
|
1765
|
-
# @param LastEnableTime: 最后启用时间,如果需要重建集群,修改该时间
|
1766
|
-
# @type LastEnableTime: String
|
1767
|
-
# @param SrcTopicName: 日志主题名称
|
1768
|
-
# @type SrcTopicName: String
|
1769
|
-
# @param LogsetId: 日志集id
|
1770
|
-
# @type LogsetId: String
|
1771
|
-
# @param DstResources: 加工任务目的topic_id以及别名
|
1772
|
-
# @type DstResources: Array
|
1773
|
-
# @param EtlContent: 加工逻辑函数
|
1774
|
-
# @type EtlContent: String
|
1775
|
-
|
1776
|
-
attr_accessor :Name, :TaskId, :EnableFlag, :Type, :SrcTopicId, :Status, :CreateTime, :UpdateTime, :LastEnableTime, :SrcTopicName, :LogsetId, :DstResources, :EtlContent
|
1777
|
-
|
1778
|
-
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)
|
1779
|
-
@Name = name
|
1780
|
-
@TaskId = taskid
|
1781
|
-
@EnableFlag = enableflag
|
1782
|
-
@Type = type
|
1783
|
-
@SrcTopicId = srctopicid
|
1784
|
-
@Status = status
|
1785
|
-
@CreateTime = createtime
|
1786
|
-
@UpdateTime = updatetime
|
1787
|
-
@LastEnableTime = lastenabletime
|
1788
|
-
@SrcTopicName = srctopicname
|
1789
|
-
@LogsetId = logsetid
|
1790
|
-
@DstResources = dstresources
|
1791
|
-
@EtlContent = etlcontent
|
1792
|
-
end
|
1793
|
-
|
1794
|
-
def deserialize(params)
|
1795
|
-
@Name = params['Name']
|
1796
|
-
@TaskId = params['TaskId']
|
1797
|
-
@EnableFlag = params['EnableFlag']
|
1798
|
-
@Type = params['Type']
|
1799
|
-
@SrcTopicId = params['SrcTopicId']
|
1800
|
-
@Status = params['Status']
|
1801
|
-
@CreateTime = params['CreateTime']
|
1802
|
-
@UpdateTime = params['UpdateTime']
|
1803
|
-
@LastEnableTime = params['LastEnableTime']
|
1804
|
-
@SrcTopicName = params['SrcTopicName']
|
1805
|
-
@LogsetId = params['LogsetId']
|
1806
|
-
unless params['DstResources'].nil?
|
1807
|
-
@DstResources = []
|
1808
|
-
params['DstResources'].each do |i|
|
1809
|
-
datatransformresouceinfo_tmp = DataTransformResouceInfo.new
|
1810
|
-
datatransformresouceinfo_tmp.deserialize(i)
|
1811
|
-
@DstResources << datatransformresouceinfo_tmp
|
1812
|
-
end
|
1813
|
-
end
|
1814
|
-
@EtlContent = params['EtlContent']
|
1815
|
-
end
|
1816
|
-
end
|
1817
|
-
|
1818
1649
|
# DeleteAlarmNotice请求参数结构体
|
1819
1650
|
class DeleteAlarmNoticeRequest < TencentCloud::Common::AbstractModel
|
1820
1651
|
# @param AlarmNoticeId: 通知渠道组ID
|
@@ -2011,38 +1842,6 @@ module TencentCloud
|
|
2011
1842
|
end
|
2012
1843
|
end
|
2013
1844
|
|
2014
|
-
# DeleteDataTransform请求参数结构体
|
2015
|
-
class DeleteDataTransformRequest < TencentCloud::Common::AbstractModel
|
2016
|
-
# @param TaskId: 数据加工任务id
|
2017
|
-
# @type TaskId: String
|
2018
|
-
|
2019
|
-
attr_accessor :TaskId
|
2020
|
-
|
2021
|
-
def initialize(taskid=nil)
|
2022
|
-
@TaskId = taskid
|
2023
|
-
end
|
2024
|
-
|
2025
|
-
def deserialize(params)
|
2026
|
-
@TaskId = params['TaskId']
|
2027
|
-
end
|
2028
|
-
end
|
2029
|
-
|
2030
|
-
# DeleteDataTransform返回参数结构体
|
2031
|
-
class DeleteDataTransformResponse < TencentCloud::Common::AbstractModel
|
2032
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2033
|
-
# @type RequestId: String
|
2034
|
-
|
2035
|
-
attr_accessor :RequestId
|
2036
|
-
|
2037
|
-
def initialize(requestid=nil)
|
2038
|
-
@RequestId = requestid
|
2039
|
-
end
|
2040
|
-
|
2041
|
-
def deserialize(params)
|
2042
|
-
@RequestId = params['RequestId']
|
2043
|
-
end
|
2044
|
-
end
|
2045
|
-
|
2046
1845
|
# DeleteExport请求参数结构体
|
2047
1846
|
class DeleteExportRequest < TencentCloud::Common::AbstractModel
|
2048
1847
|
# @param ExportId: 日志导出ID
|
@@ -2656,90 +2455,6 @@ module TencentCloud
|
|
2656
2455
|
end
|
2657
2456
|
end
|
2658
2457
|
|
2659
|
-
# DescribeDataTransformInfo请求参数结构体
|
2660
|
-
class DescribeDataTransformInfoRequest < TencentCloud::Common::AbstractModel
|
2661
|
-
# @param Filters: <br><li> taskName
|
2662
|
-
|
2663
|
-
# 按照【加工任务名称】进行过滤。
|
2664
|
-
# 类型:String
|
2665
|
-
|
2666
|
-
# 必选:否
|
2667
|
-
|
2668
|
-
# <br><li> taskId
|
2669
|
-
|
2670
|
-
# 按照【加工任务id】进行过滤。
|
2671
|
-
# 类型:String
|
2672
|
-
|
2673
|
-
# 必选:否
|
2674
|
-
|
2675
|
-
# 每次请求的Filters的上限为10,Filter.Values的上限为100。
|
2676
|
-
# @type Filters: Array
|
2677
|
-
# @param Offset: 分页的偏移量,默认值为0。
|
2678
|
-
# @type Offset: Integer
|
2679
|
-
# @param Limit: 分页单页限制数目,默认值为20,最大值100。
|
2680
|
-
# @type Limit: Integer
|
2681
|
-
# @param Type: 默认值为2. 1: 获取单个任务的详细信息 2:获取任务列表
|
2682
|
-
# @type Type: Integer
|
2683
|
-
# @param TaskId: Type为1, 此参数必填
|
2684
|
-
# @type TaskId: String
|
2685
|
-
|
2686
|
-
attr_accessor :Filters, :Offset, :Limit, :Type, :TaskId
|
2687
|
-
|
2688
|
-
def initialize(filters=nil, offset=nil, limit=nil, type=nil, taskid=nil)
|
2689
|
-
@Filters = filters
|
2690
|
-
@Offset = offset
|
2691
|
-
@Limit = limit
|
2692
|
-
@Type = type
|
2693
|
-
@TaskId = taskid
|
2694
|
-
end
|
2695
|
-
|
2696
|
-
def deserialize(params)
|
2697
|
-
unless params['Filters'].nil?
|
2698
|
-
@Filters = []
|
2699
|
-
params['Filters'].each do |i|
|
2700
|
-
filter_tmp = Filter.new
|
2701
|
-
filter_tmp.deserialize(i)
|
2702
|
-
@Filters << filter_tmp
|
2703
|
-
end
|
2704
|
-
end
|
2705
|
-
@Offset = params['Offset']
|
2706
|
-
@Limit = params['Limit']
|
2707
|
-
@Type = params['Type']
|
2708
|
-
@TaskId = params['TaskId']
|
2709
|
-
end
|
2710
|
-
end
|
2711
|
-
|
2712
|
-
# DescribeDataTransformInfo返回参数结构体
|
2713
|
-
class DescribeDataTransformInfoResponse < TencentCloud::Common::AbstractModel
|
2714
|
-
# @param DataTransformTaskInfos: 数据加工任务列表信息
|
2715
|
-
# @type DataTransformTaskInfos: Array
|
2716
|
-
# @param TotalCount: 任务总次数
|
2717
|
-
# @type TotalCount: Integer
|
2718
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2719
|
-
# @type RequestId: String
|
2720
|
-
|
2721
|
-
attr_accessor :DataTransformTaskInfos, :TotalCount, :RequestId
|
2722
|
-
|
2723
|
-
def initialize(datatransformtaskinfos=nil, totalcount=nil, requestid=nil)
|
2724
|
-
@DataTransformTaskInfos = datatransformtaskinfos
|
2725
|
-
@TotalCount = totalcount
|
2726
|
-
@RequestId = requestid
|
2727
|
-
end
|
2728
|
-
|
2729
|
-
def deserialize(params)
|
2730
|
-
unless params['DataTransformTaskInfos'].nil?
|
2731
|
-
@DataTransformTaskInfos = []
|
2732
|
-
params['DataTransformTaskInfos'].each do |i|
|
2733
|
-
datatransformtaskinfo_tmp = DataTransformTaskInfo.new
|
2734
|
-
datatransformtaskinfo_tmp.deserialize(i)
|
2735
|
-
@DataTransformTaskInfos << datatransformtaskinfo_tmp
|
2736
|
-
end
|
2737
|
-
end
|
2738
|
-
@TotalCount = params['TotalCount']
|
2739
|
-
@RequestId = params['RequestId']
|
2740
|
-
end
|
2741
|
-
end
|
2742
|
-
|
2743
2458
|
# DescribeExports请求参数结构体
|
2744
2459
|
class DescribeExportsRequest < TencentCloud::Common::AbstractModel
|
2745
2460
|
# @param TopicId: 日志主题ID
|
@@ -4728,61 +4443,6 @@ module TencentCloud
|
|
4728
4443
|
end
|
4729
4444
|
end
|
4730
4445
|
|
4731
|
-
# ModifyDataTransform请求参数结构体
|
4732
|
-
class ModifyDataTransformRequest < TencentCloud::Common::AbstractModel
|
4733
|
-
# @param TaskId: 加工任务id
|
4734
|
-
# @type TaskId: String
|
4735
|
-
# @param Name: 加工任务名称
|
4736
|
-
# @type Name: String
|
4737
|
-
# @param EtlContent: 加工逻辑函数
|
4738
|
-
# @type EtlContent: String
|
4739
|
-
# @param EnableFlag: 任务启动状态. 默认为1,正常开启, 2关闭
|
4740
|
-
# @type EnableFlag: Integer
|
4741
|
-
# @param DstResources: 加工任务目的topic_id以及别名
|
4742
|
-
# @type DstResources: Array
|
4743
|
-
|
4744
|
-
attr_accessor :TaskId, :Name, :EtlContent, :EnableFlag, :DstResources
|
4745
|
-
|
4746
|
-
def initialize(taskid=nil, name=nil, etlcontent=nil, enableflag=nil, dstresources=nil)
|
4747
|
-
@TaskId = taskid
|
4748
|
-
@Name = name
|
4749
|
-
@EtlContent = etlcontent
|
4750
|
-
@EnableFlag = enableflag
|
4751
|
-
@DstResources = dstresources
|
4752
|
-
end
|
4753
|
-
|
4754
|
-
def deserialize(params)
|
4755
|
-
@TaskId = params['TaskId']
|
4756
|
-
@Name = params['Name']
|
4757
|
-
@EtlContent = params['EtlContent']
|
4758
|
-
@EnableFlag = params['EnableFlag']
|
4759
|
-
unless params['DstResources'].nil?
|
4760
|
-
@DstResources = []
|
4761
|
-
params['DstResources'].each do |i|
|
4762
|
-
datatransformresouceinfo_tmp = DataTransformResouceInfo.new
|
4763
|
-
datatransformresouceinfo_tmp.deserialize(i)
|
4764
|
-
@DstResources << datatransformresouceinfo_tmp
|
4765
|
-
end
|
4766
|
-
end
|
4767
|
-
end
|
4768
|
-
end
|
4769
|
-
|
4770
|
-
# ModifyDataTransform返回参数结构体
|
4771
|
-
class ModifyDataTransformResponse < TencentCloud::Common::AbstractModel
|
4772
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4773
|
-
# @type RequestId: String
|
4774
|
-
|
4775
|
-
attr_accessor :RequestId
|
4776
|
-
|
4777
|
-
def initialize(requestid=nil)
|
4778
|
-
@RequestId = requestid
|
4779
|
-
end
|
4780
|
-
|
4781
|
-
def deserialize(params)
|
4782
|
-
@RequestId = params['RequestId']
|
4783
|
-
end
|
4784
|
-
end
|
4785
|
-
|
4786
4446
|
# ModifyIndex请求参数结构体
|
4787
4447
|
class ModifyIndexRequest < TencentCloud::Common::AbstractModel
|
4788
4448
|
# @param TopicId: 日志主题ID
|
@@ -5285,43 +4945,6 @@ module TencentCloud
|
|
5285
4945
|
end
|
5286
4946
|
end
|
5287
4947
|
|
5288
|
-
# 预览数据详情
|
5289
|
-
class PreviewLogStatistic < TencentCloud::Common::AbstractModel
|
5290
|
-
# @param LogContent: 日志内容
|
5291
|
-
# @type LogContent: String
|
5292
|
-
# @param LineNum: 行号
|
5293
|
-
# @type LineNum: Integer
|
5294
|
-
# @param DstTopicId: 目标日志主题
|
5295
|
-
# @type DstTopicId: String
|
5296
|
-
# @param FailReason: 失败错误码, 空字符串""表示正常
|
5297
|
-
# @type FailReason: String
|
5298
|
-
# @param Time: 日志时间戳
|
5299
|
-
# @type Time: String
|
5300
|
-
# @param DstTopicName: 目标topic-name
|
5301
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5302
|
-
# @type DstTopicName: String
|
5303
|
-
|
5304
|
-
attr_accessor :LogContent, :LineNum, :DstTopicId, :FailReason, :Time, :DstTopicName
|
5305
|
-
|
5306
|
-
def initialize(logcontent=nil, linenum=nil, dsttopicid=nil, failreason=nil, time=nil, dsttopicname=nil)
|
5307
|
-
@LogContent = logcontent
|
5308
|
-
@LineNum = linenum
|
5309
|
-
@DstTopicId = dsttopicid
|
5310
|
-
@FailReason = failreason
|
5311
|
-
@Time = time
|
5312
|
-
@DstTopicName = dsttopicname
|
5313
|
-
end
|
5314
|
-
|
5315
|
-
def deserialize(params)
|
5316
|
-
@LogContent = params['LogContent']
|
5317
|
-
@LineNum = params['LineNum']
|
5318
|
-
@DstTopicId = params['DstTopicId']
|
5319
|
-
@FailReason = params['FailReason']
|
5320
|
-
@Time = params['Time']
|
5321
|
-
@DstTopicName = params['DstTopicName']
|
5322
|
-
end
|
5323
|
-
end
|
5324
|
-
|
5325
4948
|
# RetryShipperTask请求参数结构体
|
5326
4949
|
class RetryShipperTaskRequest < TencentCloud::Common::AbstractModel
|
5327
4950
|
# @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.
|
4
|
+
version: 1.0.344
|
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-06-
|
11
|
+
date: 2022-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|