tencentcloud-sdk-cls 3.0.811 → 3.0.813
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 +120 -0
- data/lib/v20201016/models.rb +200 -18
- 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: d4a570711bf7e4db0d25ef685881d871c82b6fb7
|
4
|
+
data.tar.gz: 6ee1b15aa5b7319f554b741e2ef1c19c81caf23c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 170b0e620c9e86e70869fbda1838170057fe702499b0e01706b068cd9947c257a7d476c07a217dcf62600f151f66990b3ba952cab690d997cba8fc1f6897b7be
|
7
|
+
data.tar.gz: 6ebab2ce7675859f442bce11603816e1e8ae1de4b7c679fdaa96d068d842ff9bab4d88efe0b7c84d1e9394bda64cd116ddeb97d58d509ba7b15fa76b3198e7d5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.813
|
data/lib/v20201016/client.rb
CHANGED
@@ -317,6 +317,30 @@ module TencentCloud
|
|
317
317
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
318
318
|
end
|
319
319
|
|
320
|
+
# 此接口用于创建仪表盘订阅
|
321
|
+
|
322
|
+
# @param request: Request instance for CreateDashboardSubscribe.
|
323
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::CreateDashboardSubscribeRequest`
|
324
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::CreateDashboardSubscribeResponse`
|
325
|
+
def CreateDashboardSubscribe(request)
|
326
|
+
body = send_request('CreateDashboardSubscribe', request.serialize)
|
327
|
+
response = JSON.parse(body)
|
328
|
+
if response['Response'].key?('Error') == false
|
329
|
+
model = CreateDashboardSubscribeResponse.new
|
330
|
+
model.deserialize(response['Response'])
|
331
|
+
model
|
332
|
+
else
|
333
|
+
code = response['Response']['Error']['Code']
|
334
|
+
message = response['Response']['Error']['Message']
|
335
|
+
reqid = response['Response']['RequestId']
|
336
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
337
|
+
end
|
338
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
339
|
+
raise e
|
340
|
+
rescue StandardError => e
|
341
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
342
|
+
end
|
343
|
+
|
320
344
|
# 本接口用于创建数据加工任务。
|
321
345
|
|
322
346
|
# @param request: Request instance for CreateDataTransform.
|
@@ -725,6 +749,30 @@ module TencentCloud
|
|
725
749
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
726
750
|
end
|
727
751
|
|
752
|
+
# 此接口用于删除仪表盘订阅
|
753
|
+
|
754
|
+
# @param request: Request instance for DeleteDashboardSubscribe.
|
755
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::DeleteDashboardSubscribeRequest`
|
756
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::DeleteDashboardSubscribeResponse`
|
757
|
+
def DeleteDashboardSubscribe(request)
|
758
|
+
body = send_request('DeleteDashboardSubscribe', request.serialize)
|
759
|
+
response = JSON.parse(body)
|
760
|
+
if response['Response'].key?('Error') == false
|
761
|
+
model = DeleteDashboardSubscribeResponse.new
|
762
|
+
model.deserialize(response['Response'])
|
763
|
+
model
|
764
|
+
else
|
765
|
+
code = response['Response']['Error']['Code']
|
766
|
+
message = response['Response']['Error']['Message']
|
767
|
+
reqid = response['Response']['RequestId']
|
768
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
769
|
+
end
|
770
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
771
|
+
raise e
|
772
|
+
rescue StandardError => e
|
773
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
774
|
+
end
|
775
|
+
|
728
776
|
# 本接口用于删除数据加工任务
|
729
777
|
|
730
778
|
# @param request: Request instance for DeleteDataTransform.
|
@@ -1181,6 +1229,30 @@ module TencentCloud
|
|
1181
1229
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1182
1230
|
end
|
1183
1231
|
|
1232
|
+
# 本接口用于获取仪表盘订阅列表,支持分页
|
1233
|
+
|
1234
|
+
# @param request: Request instance for DescribeDashboardSubscribes.
|
1235
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::DescribeDashboardSubscribesRequest`
|
1236
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::DescribeDashboardSubscribesResponse`
|
1237
|
+
def DescribeDashboardSubscribes(request)
|
1238
|
+
body = send_request('DescribeDashboardSubscribes', request.serialize)
|
1239
|
+
response = JSON.parse(body)
|
1240
|
+
if response['Response'].key?('Error') == false
|
1241
|
+
model = DescribeDashboardSubscribesResponse.new
|
1242
|
+
model.deserialize(response['Response'])
|
1243
|
+
model
|
1244
|
+
else
|
1245
|
+
code = response['Response']['Error']['Code']
|
1246
|
+
message = response['Response']['Error']['Message']
|
1247
|
+
reqid = response['Response']['RequestId']
|
1248
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1249
|
+
end
|
1250
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1251
|
+
raise e
|
1252
|
+
rescue StandardError => e
|
1253
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1254
|
+
end
|
1255
|
+
|
1184
1256
|
# 本接口用于获取仪表盘
|
1185
1257
|
|
1186
1258
|
# @param request: Request instance for DescribeDashboards.
|
@@ -1806,6 +1878,30 @@ module TencentCloud
|
|
1806
1878
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1807
1879
|
end
|
1808
1880
|
|
1881
|
+
# 此接口用于修改仪表盘订阅
|
1882
|
+
|
1883
|
+
# @param request: Request instance for ModifyDashboardSubscribe.
|
1884
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::ModifyDashboardSubscribeRequest`
|
1885
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::ModifyDashboardSubscribeResponse`
|
1886
|
+
def ModifyDashboardSubscribe(request)
|
1887
|
+
body = send_request('ModifyDashboardSubscribe', request.serialize)
|
1888
|
+
response = JSON.parse(body)
|
1889
|
+
if response['Response'].key?('Error') == false
|
1890
|
+
model = ModifyDashboardSubscribeResponse.new
|
1891
|
+
model.deserialize(response['Response'])
|
1892
|
+
model
|
1893
|
+
else
|
1894
|
+
code = response['Response']['Error']['Code']
|
1895
|
+
message = response['Response']['Error']['Message']
|
1896
|
+
reqid = response['Response']['RequestId']
|
1897
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1898
|
+
end
|
1899
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1900
|
+
raise e
|
1901
|
+
rescue StandardError => e
|
1902
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1903
|
+
end
|
1904
|
+
|
1809
1905
|
# 本接口用于修改数据加工任务
|
1810
1906
|
|
1811
1907
|
# @param request: Request instance for ModifyDataTransform.
|
@@ -2166,6 +2262,30 @@ module TencentCloud
|
|
2166
2262
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2167
2263
|
end
|
2168
2264
|
|
2265
|
+
# 此接口用于预览仪表盘订阅
|
2266
|
+
|
2267
|
+
# @param request: Request instance for SearchDashboardSubscribe.
|
2268
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::SearchDashboardSubscribeRequest`
|
2269
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::SearchDashboardSubscribeResponse`
|
2270
|
+
def SearchDashboardSubscribe(request)
|
2271
|
+
body = send_request('SearchDashboardSubscribe', request.serialize)
|
2272
|
+
response = JSON.parse(body)
|
2273
|
+
if response['Response'].key?('Error') == false
|
2274
|
+
model = SearchDashboardSubscribeResponse.new
|
2275
|
+
model.deserialize(response['Response'])
|
2276
|
+
model
|
2277
|
+
else
|
2278
|
+
code = response['Response']['Error']['Code']
|
2279
|
+
message = response['Response']['Error']['Message']
|
2280
|
+
reqid = response['Response']['RequestId']
|
2281
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2282
|
+
end
|
2283
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2284
|
+
raise e
|
2285
|
+
rescue StandardError => e
|
2286
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2287
|
+
end
|
2288
|
+
|
2169
2289
|
# 本接口用于检索分析日志,使用该接口时请注意如下事项:
|
2170
2290
|
# 1. 该接口除受默认接口请求频率限制外,针对单个日志主题,查询并发数不能超过15。
|
2171
2291
|
# 2. 检索语法建议使用CQL语法规则,请使用SyntaxRule参数,将值设置为1。
|
data/lib/v20201016/models.rb
CHANGED
@@ -2197,10 +2197,14 @@ module TencentCloud
|
|
2197
2197
|
# @type Compress: String
|
2198
2198
|
# @param ExtractRuleInfo: 提取规则,如果设置了ExtractRule,则必须设置LogType
|
2199
2199
|
# @type ExtractRuleInfo: :class:`Tencentcloud::Cls.v20201016.models.ExtractRuleInfo`
|
2200
|
+
# @param TaskType: COS导入任务类型。1:一次性导入任务;2:持续性导入任务。默认为1:一次性导入任务
|
2201
|
+
# @type TaskType: Integer
|
2202
|
+
# @param Metadata: 元数据。
|
2203
|
+
# @type Metadata: Array
|
2200
2204
|
|
2201
|
-
attr_accessor :TopicId, :LogsetId, :Name, :Bucket, :BucketRegion, :Prefix, :LogType, :Compress, :ExtractRuleInfo
|
2205
|
+
attr_accessor :TopicId, :LogsetId, :Name, :Bucket, :BucketRegion, :Prefix, :LogType, :Compress, :ExtractRuleInfo, :TaskType, :Metadata
|
2202
2206
|
|
2203
|
-
def initialize(topicid=nil, logsetid=nil, name=nil, bucket=nil, bucketregion=nil, prefix=nil, logtype=nil, compress=nil, extractruleinfo=nil)
|
2207
|
+
def initialize(topicid=nil, logsetid=nil, name=nil, bucket=nil, bucketregion=nil, prefix=nil, logtype=nil, compress=nil, extractruleinfo=nil, tasktype=nil, metadata=nil)
|
2204
2208
|
@TopicId = topicid
|
2205
2209
|
@LogsetId = logsetid
|
2206
2210
|
@Name = name
|
@@ -2210,6 +2214,8 @@ module TencentCloud
|
|
2210
2214
|
@LogType = logtype
|
2211
2215
|
@Compress = compress
|
2212
2216
|
@ExtractRuleInfo = extractruleinfo
|
2217
|
+
@TaskType = tasktype
|
2218
|
+
@Metadata = metadata
|
2213
2219
|
end
|
2214
2220
|
|
2215
2221
|
def deserialize(params)
|
@@ -2225,12 +2231,14 @@ module TencentCloud
|
|
2225
2231
|
@ExtractRuleInfo = ExtractRuleInfo.new
|
2226
2232
|
@ExtractRuleInfo.deserialize(params['ExtractRuleInfo'])
|
2227
2233
|
end
|
2234
|
+
@TaskType = params['TaskType']
|
2235
|
+
@Metadata = params['Metadata']
|
2228
2236
|
end
|
2229
2237
|
end
|
2230
2238
|
|
2231
2239
|
# CreateCosRecharge返回参数结构体
|
2232
2240
|
class CreateCosRechargeResponse < TencentCloud::Common::AbstractModel
|
2233
|
-
# @param Id:
|
2241
|
+
# @param Id: COS导入任务id
|
2234
2242
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2235
2243
|
# @type Id: String
|
2236
2244
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
@@ -2249,6 +2257,33 @@ module TencentCloud
|
|
2249
2257
|
end
|
2250
2258
|
end
|
2251
2259
|
|
2260
|
+
# CreateDashboardSubscribe请求参数结构体
|
2261
|
+
class CreateDashboardSubscribeRequest < TencentCloud::Common::AbstractModel
|
2262
|
+
|
2263
|
+
|
2264
|
+
def initialize()
|
2265
|
+
end
|
2266
|
+
|
2267
|
+
def deserialize(params)
|
2268
|
+
end
|
2269
|
+
end
|
2270
|
+
|
2271
|
+
# CreateDashboardSubscribe返回参数结构体
|
2272
|
+
class CreateDashboardSubscribeResponse < TencentCloud::Common::AbstractModel
|
2273
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2274
|
+
# @type RequestId: String
|
2275
|
+
|
2276
|
+
attr_accessor :RequestId
|
2277
|
+
|
2278
|
+
def initialize(requestid=nil)
|
2279
|
+
@RequestId = requestid
|
2280
|
+
end
|
2281
|
+
|
2282
|
+
def deserialize(params)
|
2283
|
+
@RequestId = params['RequestId']
|
2284
|
+
end
|
2285
|
+
end
|
2286
|
+
|
2252
2287
|
# CreateDataTransform请求参数结构体
|
2253
2288
|
class CreateDataTransformRequest < TencentCloud::Common::AbstractModel
|
2254
2289
|
# @param FuncType: 任务类型. 1: 指定主题;2:动态创建。详情请参考[创建加工任务文档](https://cloud.tencent.com/document/product/614/63940)。
|
@@ -2257,7 +2292,7 @@ module TencentCloud
|
|
2257
2292
|
# @type SrcTopicId: String
|
2258
2293
|
# @param Name: 加工任务名称
|
2259
2294
|
# @type Name: String
|
2260
|
-
# @param EtlContent:
|
2295
|
+
# @param EtlContent: 加工语句。[创建加工任务](https://cloud.tencent.com/document/product/614/63940) [函数总览](https://cloud.tencent.com/document/product/614/70395)
|
2261
2296
|
# @type EtlContent: String
|
2262
2297
|
# @param TaskType: 加工类型。
|
2263
2298
|
# 1:使用源日志主题中的随机数据,进行加工预览;2:使用用户自定义测试数据,进行加工预览;3:创建真实加工任务。
|
@@ -2635,19 +2670,19 @@ module TencentCloud
|
|
2635
2670
|
class CreateMachineGroupRequest < TencentCloud::Common::AbstractModel
|
2636
2671
|
# @param GroupName: 机器组名字,不能重复
|
2637
2672
|
# @type GroupName: String
|
2638
|
-
# @param MachineGroupType:
|
2673
|
+
# @param MachineGroupType: 创建机器组类型。Type:ip,Values中为ip字符串列表创建机器组;Type:label,Values中为标签字符串列表创建机器组。
|
2639
2674
|
# @type MachineGroupType: :class:`Tencentcloud::Cls.v20201016.models.MachineGroupTypeInfo`
|
2640
2675
|
# @param Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的机器组。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
|
2641
2676
|
# @type Tags: Array
|
2642
|
-
# @param AutoUpdate:
|
2677
|
+
# @param AutoUpdate: 是否开启机器组自动更新。默认false
|
2643
2678
|
# @type AutoUpdate: Boolean
|
2644
2679
|
# @param UpdateStartTime: 升级开始时间,建议业务低峰期升级LogListener
|
2645
2680
|
# @type UpdateStartTime: String
|
2646
2681
|
# @param UpdateEndTime: 升级结束时间,建议业务低峰期升级LogListener
|
2647
2682
|
# @type UpdateEndTime: String
|
2648
|
-
# @param ServiceLogging: 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business
|
2683
|
+
# @param ServiceLogging: 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费。默认false
|
2649
2684
|
# @type ServiceLogging: Boolean
|
2650
|
-
# @param DelayCleanupTime:
|
2685
|
+
# @param DelayCleanupTime: 机器组中机器离线清理时间。单位:天
|
2651
2686
|
# @type DelayCleanupTime: Integer
|
2652
2687
|
# @param MetaTags: 机器组元数据信息列表
|
2653
2688
|
# @type MetaTags: Array
|
@@ -3461,6 +3496,33 @@ module TencentCloud
|
|
3461
3496
|
end
|
3462
3497
|
end
|
3463
3498
|
|
3499
|
+
# DeleteDashboardSubscribe请求参数结构体
|
3500
|
+
class DeleteDashboardSubscribeRequest < TencentCloud::Common::AbstractModel
|
3501
|
+
|
3502
|
+
|
3503
|
+
def initialize()
|
3504
|
+
end
|
3505
|
+
|
3506
|
+
def deserialize(params)
|
3507
|
+
end
|
3508
|
+
end
|
3509
|
+
|
3510
|
+
# DeleteDashboardSubscribe返回参数结构体
|
3511
|
+
class DeleteDashboardSubscribeResponse < TencentCloud::Common::AbstractModel
|
3512
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3513
|
+
# @type RequestId: String
|
3514
|
+
|
3515
|
+
attr_accessor :RequestId
|
3516
|
+
|
3517
|
+
def initialize(requestid=nil)
|
3518
|
+
@RequestId = requestid
|
3519
|
+
end
|
3520
|
+
|
3521
|
+
def deserialize(params)
|
3522
|
+
@RequestId = params['RequestId']
|
3523
|
+
end
|
3524
|
+
end
|
3525
|
+
|
3464
3526
|
# DeleteDataTransform请求参数结构体
|
3465
3527
|
class DeleteDataTransformRequest < TencentCloud::Common::AbstractModel
|
3466
3528
|
# @param TaskId: 数据加工任务id
|
@@ -4406,6 +4468,33 @@ module TencentCloud
|
|
4406
4468
|
end
|
4407
4469
|
end
|
4408
4470
|
|
4471
|
+
# DescribeDashboardSubscribes请求参数结构体
|
4472
|
+
class DescribeDashboardSubscribesRequest < TencentCloud::Common::AbstractModel
|
4473
|
+
|
4474
|
+
|
4475
|
+
def initialize()
|
4476
|
+
end
|
4477
|
+
|
4478
|
+
def deserialize(params)
|
4479
|
+
end
|
4480
|
+
end
|
4481
|
+
|
4482
|
+
# DescribeDashboardSubscribes返回参数结构体
|
4483
|
+
class DescribeDashboardSubscribesResponse < TencentCloud::Common::AbstractModel
|
4484
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4485
|
+
# @type RequestId: String
|
4486
|
+
|
4487
|
+
attr_accessor :RequestId
|
4488
|
+
|
4489
|
+
def initialize(requestid=nil)
|
4490
|
+
@RequestId = requestid
|
4491
|
+
end
|
4492
|
+
|
4493
|
+
def deserialize(params)
|
4494
|
+
@RequestId = params['RequestId']
|
4495
|
+
end
|
4496
|
+
end
|
4497
|
+
|
4409
4498
|
# DescribeDashboards请求参数结构体
|
4410
4499
|
class DescribeDashboardsRequest < TencentCloud::Common::AbstractModel
|
4411
4500
|
# @param Offset: 分页的偏移量,默认值为0。
|
@@ -5350,9 +5439,11 @@ module TencentCloud
|
|
5350
5439
|
class DescribeShipperTasksRequest < TencentCloud::Common::AbstractModel
|
5351
5440
|
# @param ShipperId: 投递规则ID
|
5352
5441
|
# @type ShipperId: String
|
5353
|
-
# @param StartTime: 查询的开始时间戳,支持最近3天的查询,
|
5442
|
+
# @param StartTime: 查询的开始时间戳,支持最近3天的查询, 毫秒。
|
5443
|
+
# StartTime必须小于EndTime
|
5354
5444
|
# @type StartTime: Integer
|
5355
|
-
# @param EndTime: 查询的结束时间戳,
|
5445
|
+
# @param EndTime: 查询的结束时间戳, 毫秒。
|
5446
|
+
# StartTime必须小于EndTime
|
5356
5447
|
# @type EndTime: Integer
|
5357
5448
|
|
5358
5449
|
attr_accessor :ShipperId, :StartTime, :EndTime
|
@@ -6769,9 +6860,11 @@ module TencentCloud
|
|
6769
6860
|
|
6770
6861
|
# 机器组类型描述
|
6771
6862
|
class MachineGroupTypeInfo < TencentCloud::Common::AbstractModel
|
6772
|
-
# @param Type:
|
6863
|
+
# @param Type: 机器组类型。支持 ip 和 label。
|
6864
|
+
# - ip:表示该机器组Values中存的是采集机器的ip地址
|
6865
|
+
# - label:表示该机器组Values中存储的是机器的标签
|
6773
6866
|
# @type Type: String
|
6774
|
-
# @param Values:
|
6867
|
+
# @param Values: 机器描述列表。
|
6775
6868
|
# @type Values: Array
|
6776
6869
|
|
6777
6870
|
attr_accessor :Type, :Values
|
@@ -7510,22 +7603,46 @@ module TencentCloud
|
|
7510
7603
|
|
7511
7604
|
# ModifyCosRecharge请求参数结构体
|
7512
7605
|
class ModifyCosRechargeRequest < TencentCloud::Common::AbstractModel
|
7513
|
-
# @param Id: COS导入配置
|
7606
|
+
# @param Id: COS导入配置Id
|
7514
7607
|
# @type Id: String
|
7515
7608
|
# @param TopicId: 日志主题Id
|
7516
7609
|
# @type TopicId: String
|
7517
7610
|
# @param Name: COS导入任务名称
|
7518
7611
|
# @type Name: String
|
7519
|
-
# @param Enable:
|
7612
|
+
# @param Enable: 任务状态 0: 停用 , 1:启用
|
7520
7613
|
# @type Enable: Integer
|
7614
|
+
# @param Bucket: COS存储桶,详见产品支持的[存储桶命名规范](https://cloud.tencent.com/document/product/436/13312)。
|
7615
|
+
# @type Bucket: String
|
7616
|
+
# @param BucketRegion: COS存储桶所在地域,详见产品支持的[地域列表](https://cloud.tencent.com/document/product/436/6224)。
|
7617
|
+
# @type BucketRegion: String
|
7618
|
+
# @param Prefix: COS文件所在文件夹的前缀
|
7619
|
+
# @type Prefix: String
|
7620
|
+
# @param LogType: 采集的日志类型,json_log代表json格式日志,delimiter_log代表分隔符格式日志,minimalist_log代表单行全文; 默认为minimalist_log
|
7621
|
+
# @type LogType: String
|
7622
|
+
# @param Compress: 解析格式。supported: "", "gzip", "lzop", "snappy"; 默认空
|
7623
|
+
# @type Compress: String
|
7624
|
+
# @param ExtractRuleInfo: 提取规则,如果设置了ExtractRule,则必须设置LogType
|
7625
|
+
# @type ExtractRuleInfo: :class:`Tencentcloud::Cls.v20201016.models.ExtractRuleInfo`
|
7626
|
+
# @param TaskType: COS导入任务类型。1:一次性导入任务;2:持续性导入任务。
|
7627
|
+
# @type TaskType: Integer
|
7628
|
+
# @param Metadata: 元数据。支持 bucket,object。
|
7629
|
+
# @type Metadata: Array
|
7521
7630
|
|
7522
|
-
attr_accessor :Id, :TopicId, :Name, :Enable
|
7631
|
+
attr_accessor :Id, :TopicId, :Name, :Enable, :Bucket, :BucketRegion, :Prefix, :LogType, :Compress, :ExtractRuleInfo, :TaskType, :Metadata
|
7523
7632
|
|
7524
|
-
def initialize(id=nil, topicid=nil, name=nil, enable=nil)
|
7633
|
+
def initialize(id=nil, topicid=nil, name=nil, enable=nil, bucket=nil, bucketregion=nil, prefix=nil, logtype=nil, compress=nil, extractruleinfo=nil, tasktype=nil, metadata=nil)
|
7525
7634
|
@Id = id
|
7526
7635
|
@TopicId = topicid
|
7527
7636
|
@Name = name
|
7528
7637
|
@Enable = enable
|
7638
|
+
@Bucket = bucket
|
7639
|
+
@BucketRegion = bucketregion
|
7640
|
+
@Prefix = prefix
|
7641
|
+
@LogType = logtype
|
7642
|
+
@Compress = compress
|
7643
|
+
@ExtractRuleInfo = extractruleinfo
|
7644
|
+
@TaskType = tasktype
|
7645
|
+
@Metadata = metadata
|
7529
7646
|
end
|
7530
7647
|
|
7531
7648
|
def deserialize(params)
|
@@ -7533,6 +7650,17 @@ module TencentCloud
|
|
7533
7650
|
@TopicId = params['TopicId']
|
7534
7651
|
@Name = params['Name']
|
7535
7652
|
@Enable = params['Enable']
|
7653
|
+
@Bucket = params['Bucket']
|
7654
|
+
@BucketRegion = params['BucketRegion']
|
7655
|
+
@Prefix = params['Prefix']
|
7656
|
+
@LogType = params['LogType']
|
7657
|
+
@Compress = params['Compress']
|
7658
|
+
unless params['ExtractRuleInfo'].nil?
|
7659
|
+
@ExtractRuleInfo = ExtractRuleInfo.new
|
7660
|
+
@ExtractRuleInfo.deserialize(params['ExtractRuleInfo'])
|
7661
|
+
end
|
7662
|
+
@TaskType = params['TaskType']
|
7663
|
+
@Metadata = params['Metadata']
|
7536
7664
|
end
|
7537
7665
|
end
|
7538
7666
|
|
@@ -7552,6 +7680,33 @@ module TencentCloud
|
|
7552
7680
|
end
|
7553
7681
|
end
|
7554
7682
|
|
7683
|
+
# ModifyDashboardSubscribe请求参数结构体
|
7684
|
+
class ModifyDashboardSubscribeRequest < TencentCloud::Common::AbstractModel
|
7685
|
+
|
7686
|
+
|
7687
|
+
def initialize()
|
7688
|
+
end
|
7689
|
+
|
7690
|
+
def deserialize(params)
|
7691
|
+
end
|
7692
|
+
end
|
7693
|
+
|
7694
|
+
# ModifyDashboardSubscribe返回参数结构体
|
7695
|
+
class ModifyDashboardSubscribeResponse < TencentCloud::Common::AbstractModel
|
7696
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
7697
|
+
# @type RequestId: String
|
7698
|
+
|
7699
|
+
attr_accessor :RequestId
|
7700
|
+
|
7701
|
+
def initialize(requestid=nil)
|
7702
|
+
@RequestId = requestid
|
7703
|
+
end
|
7704
|
+
|
7705
|
+
def deserialize(params)
|
7706
|
+
@RequestId = params['RequestId']
|
7707
|
+
end
|
7708
|
+
end
|
7709
|
+
|
7555
7710
|
# ModifyDataTransform请求参数结构体
|
7556
7711
|
class ModifyDataTransformRequest < TencentCloud::Common::AbstractModel
|
7557
7712
|
# @param TaskId: 加工任务id
|
@@ -7845,7 +8000,7 @@ module TencentCloud
|
|
7845
8000
|
# @type GroupId: String
|
7846
8001
|
# @param GroupName: 机器组名称
|
7847
8002
|
# @type GroupName: String
|
7848
|
-
# @param MachineGroupType:
|
8003
|
+
# @param MachineGroupType: 机器组类型。Type:ip,Values中为ip字符串列表机器组;Type:label,Values中为标签字符串列表机器组。
|
7849
8004
|
# @type MachineGroupType: :class:`Tencentcloud::Cls.v20201016.models.MachineGroupTypeInfo`
|
7850
8005
|
# @param Tags: 标签列表
|
7851
8006
|
# @type Tags: Array
|
@@ -7857,7 +8012,7 @@ module TencentCloud
|
|
7857
8012
|
# @type UpdateEndTime: String
|
7858
8013
|
# @param ServiceLogging: 是否开启服务日志,用于记录因Loglistener 服务自身产生的log,开启后,会创建内部日志集cls_service_logging和日志主题loglistener_status,loglistener_alarm,loglistener_business,不产生计费
|
7859
8014
|
# @type ServiceLogging: Boolean
|
7860
|
-
# @param DelayCleanupTime:
|
8015
|
+
# @param DelayCleanupTime: 机器组中机器定期离线清理时间。单位:天
|
7861
8016
|
# @type DelayCleanupTime: Integer
|
7862
8017
|
# @param MetaTags: 机器组元数据信息列表
|
7863
8018
|
# @type MetaTags: Array
|
@@ -9047,6 +9202,33 @@ module TencentCloud
|
|
9047
9202
|
end
|
9048
9203
|
end
|
9049
9204
|
|
9205
|
+
# SearchDashboardSubscribe请求参数结构体
|
9206
|
+
class SearchDashboardSubscribeRequest < TencentCloud::Common::AbstractModel
|
9207
|
+
|
9208
|
+
|
9209
|
+
def initialize()
|
9210
|
+
end
|
9211
|
+
|
9212
|
+
def deserialize(params)
|
9213
|
+
end
|
9214
|
+
end
|
9215
|
+
|
9216
|
+
# SearchDashboardSubscribe返回参数结构体
|
9217
|
+
class SearchDashboardSubscribeResponse < TencentCloud::Common::AbstractModel
|
9218
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9219
|
+
# @type RequestId: String
|
9220
|
+
|
9221
|
+
attr_accessor :RequestId
|
9222
|
+
|
9223
|
+
def initialize(requestid=nil)
|
9224
|
+
@RequestId = requestid
|
9225
|
+
end
|
9226
|
+
|
9227
|
+
def deserialize(params)
|
9228
|
+
@RequestId = params['RequestId']
|
9229
|
+
end
|
9230
|
+
end
|
9231
|
+
|
9050
9232
|
# 多日志主题检索错误信息
|
9051
9233
|
class SearchLogErrors < TencentCloud::Common::AbstractModel
|
9052
9234
|
# @param TopicId: 日志主题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: 3.0.
|
4
|
+
version: 3.0.813
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|