tencentcloud-sdk-cls 3.0.1201 → 3.0.1202
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 +102 -0
- data/lib/v20201016/models.rb +259 -3
- 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: 58d1113657db119deda3deec5bef959884b6a92a
|
|
4
|
+
data.tar.gz: db85b69a2c6f8feef4b3145135cdf315c243e99f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6db1f061077d249b6548a49082415491cc7ee2e5ffe02ef403c3247934064c18e1f324f4140f8241fc16c32519f327bb553fbaa3a5974a0f039d92f2f189ffd9
|
|
7
|
+
data.tar.gz: e42f0f89d96d1795f50d22014e730b739d31055d0f20ab958e61ecb04cef90c369956f0d7e09cdacf5f37f59f0e01087dbc1a8d1ce12a70c7a351446cf453d53
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1202
|
data/lib/v20201016/client.rb
CHANGED
|
@@ -77,6 +77,30 @@ module TencentCloud
|
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
+
# 取消重建索引任务
|
|
81
|
+
|
|
82
|
+
# @param request: Request instance for CancelRebuildIndexTask.
|
|
83
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::CancelRebuildIndexTaskRequest`
|
|
84
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::CancelRebuildIndexTaskResponse`
|
|
85
|
+
def CancelRebuildIndexTask(request)
|
|
86
|
+
body = send_request('CancelRebuildIndexTask', request.serialize)
|
|
87
|
+
response = JSON.parse(body)
|
|
88
|
+
if response['Response'].key?('Error') == false
|
|
89
|
+
model = CancelRebuildIndexTaskResponse.new
|
|
90
|
+
model.deserialize(response['Response'])
|
|
91
|
+
model
|
|
92
|
+
else
|
|
93
|
+
code = response['Response']['Error']['Code']
|
|
94
|
+
message = response['Response']['Error']['Message']
|
|
95
|
+
reqid = response['Response']['RequestId']
|
|
96
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
97
|
+
end
|
|
98
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
99
|
+
raise e
|
|
100
|
+
rescue StandardError => e
|
|
101
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
102
|
+
end
|
|
103
|
+
|
|
80
104
|
# 本接口用于数据加工DSL函数的语法校验。
|
|
81
105
|
|
|
82
106
|
# @param request: Request instance for CheckFunction.
|
|
@@ -780,6 +804,36 @@ module TencentCloud
|
|
|
780
804
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
781
805
|
end
|
|
782
806
|
|
|
807
|
+
# 创建重建索引任务
|
|
808
|
+
# 注意:
|
|
809
|
+
# - 单个日志主题同时仅允许运行一个重建索引任务,单个日志主题最多同时拥有10个重建索引任务记录,需删除不再需要的任务记录后才能新建索引任务。
|
|
810
|
+
# - 同一时间范围内的日志,仅允许重建一次索引,需删除之前的任务记录后才能再次重建。
|
|
811
|
+
# - 删除重建索引任务记录将恢复重建索引前的索引数据。
|
|
812
|
+
# - 所选时间范围对应日志写流量不能超出5TB。
|
|
813
|
+
# - 重建索引时间范围以日志时间为准,日志上传时间与重建索引时间范围有超过1小时的偏差时(例如16:00上传了一条02:00的日志到 CLS,重建00:00~12:00的日志索引)不会被重建且后续无法进行检索。新上报一条日志到已经被重建的日志时间范围时,也不会被重建且后续无法进行检索。
|
|
814
|
+
|
|
815
|
+
# @param request: Request instance for CreateRebuildIndexTask.
|
|
816
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::CreateRebuildIndexTaskRequest`
|
|
817
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::CreateRebuildIndexTaskResponse`
|
|
818
|
+
def CreateRebuildIndexTask(request)
|
|
819
|
+
body = send_request('CreateRebuildIndexTask', request.serialize)
|
|
820
|
+
response = JSON.parse(body)
|
|
821
|
+
if response['Response'].key?('Error') == false
|
|
822
|
+
model = CreateRebuildIndexTaskResponse.new
|
|
823
|
+
model.deserialize(response['Response'])
|
|
824
|
+
model
|
|
825
|
+
else
|
|
826
|
+
code = response['Response']['Error']['Code']
|
|
827
|
+
message = response['Response']['Error']['Message']
|
|
828
|
+
reqid = response['Response']['RequestId']
|
|
829
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
830
|
+
end
|
|
831
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
832
|
+
raise e
|
|
833
|
+
rescue StandardError => e
|
|
834
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
835
|
+
end
|
|
836
|
+
|
|
783
837
|
# 本接口用于创建定时SQL分析任务
|
|
784
838
|
|
|
785
839
|
# @param request: Request instance for CreateScheduledSql.
|
|
@@ -2677,6 +2731,30 @@ module TencentCloud
|
|
|
2677
2731
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2678
2732
|
end
|
|
2679
2733
|
|
|
2734
|
+
# 获取重建索引任务列表
|
|
2735
|
+
|
|
2736
|
+
# @param request: Request instance for DescribeRebuildIndexTasks.
|
|
2737
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::DescribeRebuildIndexTasksRequest`
|
|
2738
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::DescribeRebuildIndexTasksResponse`
|
|
2739
|
+
def DescribeRebuildIndexTasks(request)
|
|
2740
|
+
body = send_request('DescribeRebuildIndexTasks', request.serialize)
|
|
2741
|
+
response = JSON.parse(body)
|
|
2742
|
+
if response['Response'].key?('Error') == false
|
|
2743
|
+
model = DescribeRebuildIndexTasksResponse.new
|
|
2744
|
+
model.deserialize(response['Response'])
|
|
2745
|
+
model
|
|
2746
|
+
else
|
|
2747
|
+
code = response['Response']['Error']['Code']
|
|
2748
|
+
message = response['Response']['Error']['Message']
|
|
2749
|
+
reqid = response['Response']['RequestId']
|
|
2750
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2751
|
+
end
|
|
2752
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2753
|
+
raise e
|
|
2754
|
+
rescue StandardError => e
|
|
2755
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2756
|
+
end
|
|
2757
|
+
|
|
2680
2758
|
# 本接口用于获取定时SQL分析任务列表
|
|
2681
2759
|
|
|
2682
2760
|
# @param request: Request instance for DescribeScheduledSqlInfo.
|
|
@@ -2893,6 +2971,30 @@ module TencentCloud
|
|
|
2893
2971
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2894
2972
|
end
|
|
2895
2973
|
|
|
2974
|
+
# 预估重建索引任务
|
|
2975
|
+
|
|
2976
|
+
# @param request: Request instance for EstimateRebuildIndexTask.
|
|
2977
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::EstimateRebuildIndexTaskRequest`
|
|
2978
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::EstimateRebuildIndexTaskResponse`
|
|
2979
|
+
def EstimateRebuildIndexTask(request)
|
|
2980
|
+
body = send_request('EstimateRebuildIndexTask', request.serialize)
|
|
2981
|
+
response = JSON.parse(body)
|
|
2982
|
+
if response['Response'].key?('Error') == false
|
|
2983
|
+
model = EstimateRebuildIndexTaskResponse.new
|
|
2984
|
+
model.deserialize(response['Response'])
|
|
2985
|
+
model
|
|
2986
|
+
else
|
|
2987
|
+
code = response['Response']['Error']['Code']
|
|
2988
|
+
message = response['Response']['Error']['Message']
|
|
2989
|
+
reqid = response['Response']['RequestId']
|
|
2990
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2991
|
+
end
|
|
2992
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2993
|
+
raise e
|
|
2994
|
+
rescue StandardError => e
|
|
2995
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2996
|
+
end
|
|
2997
|
+
|
|
2896
2998
|
# 本接口用于获取告警策略执行详情
|
|
2897
2999
|
|
|
2898
3000
|
# @param request: Request instance for GetAlarmLog.
|
data/lib/v20201016/models.rb
CHANGED
|
@@ -995,6 +995,42 @@ module TencentCloud
|
|
|
995
995
|
end
|
|
996
996
|
end
|
|
997
997
|
|
|
998
|
+
# CancelRebuildIndexTask请求参数结构体
|
|
999
|
+
class CancelRebuildIndexTaskRequest < TencentCloud::Common::AbstractModel
|
|
1000
|
+
# @param TopicId: 日志主题ID
|
|
1001
|
+
# @type TopicId: String
|
|
1002
|
+
# @param TaskId: 索引重建任务ID
|
|
1003
|
+
# @type TaskId: String
|
|
1004
|
+
|
|
1005
|
+
attr_accessor :TopicId, :TaskId
|
|
1006
|
+
|
|
1007
|
+
def initialize(topicid=nil, taskid=nil)
|
|
1008
|
+
@TopicId = topicid
|
|
1009
|
+
@TaskId = taskid
|
|
1010
|
+
end
|
|
1011
|
+
|
|
1012
|
+
def deserialize(params)
|
|
1013
|
+
@TopicId = params['TopicId']
|
|
1014
|
+
@TaskId = params['TaskId']
|
|
1015
|
+
end
|
|
1016
|
+
end
|
|
1017
|
+
|
|
1018
|
+
# CancelRebuildIndexTask返回参数结构体
|
|
1019
|
+
class CancelRebuildIndexTaskResponse < TencentCloud::Common::AbstractModel
|
|
1020
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1021
|
+
# @type RequestId: String
|
|
1022
|
+
|
|
1023
|
+
attr_accessor :RequestId
|
|
1024
|
+
|
|
1025
|
+
def initialize(requestid=nil)
|
|
1026
|
+
@RequestId = requestid
|
|
1027
|
+
end
|
|
1028
|
+
|
|
1029
|
+
def deserialize(params)
|
|
1030
|
+
@RequestId = params['RequestId']
|
|
1031
|
+
end
|
|
1032
|
+
end
|
|
1033
|
+
|
|
998
1034
|
# CheckFunction请求参数结构体
|
|
999
1035
|
class CheckFunctionRequest < TencentCloud::Common::AbstractModel
|
|
1000
1036
|
# @param EtlContent: 加工语句。 当FuncType为2时,EtlContent必须使用[log_auto_output](https://cloud.tencent.com/document/product/614/70733#b3c58797-4825-4807-bef4-68106e25024f)
|
|
@@ -4390,6 +4426,53 @@ module TencentCloud
|
|
|
4390
4426
|
end
|
|
4391
4427
|
end
|
|
4392
4428
|
|
|
4429
|
+
# CreateRebuildIndexTask请求参数结构体
|
|
4430
|
+
class CreateRebuildIndexTaskRequest < TencentCloud::Common::AbstractModel
|
|
4431
|
+
# @param TopicId: 日志主题ID
|
|
4432
|
+
# @type TopicId: String
|
|
4433
|
+
# @param StartTime: 重建起始时间戳,毫秒
|
|
4434
|
+
# 起始时间不允许超过日志生命周期
|
|
4435
|
+
# @type StartTime: Integer
|
|
4436
|
+
# @param EndTime: 重建结束时间戳,毫秒
|
|
4437
|
+
# 结束时间不晚于当前时间往前推15分钟
|
|
4438
|
+
# 注意:建议提前使用“预估重建索引任务(EstimateRebuildIndexTask)”接口评估该时间范围重建索引涉及到的数据量及耗时,避免因数据量过大导致费用成本过高或耗时过长
|
|
4439
|
+
# @type EndTime: Integer
|
|
4440
|
+
|
|
4441
|
+
attr_accessor :TopicId, :StartTime, :EndTime
|
|
4442
|
+
|
|
4443
|
+
def initialize(topicid=nil, starttime=nil, endtime=nil)
|
|
4444
|
+
@TopicId = topicid
|
|
4445
|
+
@StartTime = starttime
|
|
4446
|
+
@EndTime = endtime
|
|
4447
|
+
end
|
|
4448
|
+
|
|
4449
|
+
def deserialize(params)
|
|
4450
|
+
@TopicId = params['TopicId']
|
|
4451
|
+
@StartTime = params['StartTime']
|
|
4452
|
+
@EndTime = params['EndTime']
|
|
4453
|
+
end
|
|
4454
|
+
end
|
|
4455
|
+
|
|
4456
|
+
# CreateRebuildIndexTask返回参数结构体
|
|
4457
|
+
class CreateRebuildIndexTaskResponse < TencentCloud::Common::AbstractModel
|
|
4458
|
+
# @param TaskId: 索引重建任务ID
|
|
4459
|
+
# @type TaskId: String
|
|
4460
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4461
|
+
# @type RequestId: String
|
|
4462
|
+
|
|
4463
|
+
attr_accessor :TaskId, :RequestId
|
|
4464
|
+
|
|
4465
|
+
def initialize(taskid=nil, requestid=nil)
|
|
4466
|
+
@TaskId = taskid
|
|
4467
|
+
@RequestId = requestid
|
|
4468
|
+
end
|
|
4469
|
+
|
|
4470
|
+
def deserialize(params)
|
|
4471
|
+
@TaskId = params['TaskId']
|
|
4472
|
+
@RequestId = params['RequestId']
|
|
4473
|
+
end
|
|
4474
|
+
end
|
|
4475
|
+
|
|
4393
4476
|
# CreateScheduledSql请求参数结构体
|
|
4394
4477
|
class CreateScheduledSqlRequest < TencentCloud::Common::AbstractModel
|
|
4395
4478
|
# @param SrcTopicId: 源日志主题ID- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
@@ -9563,6 +9646,65 @@ module TencentCloud
|
|
|
9563
9646
|
end
|
|
9564
9647
|
end
|
|
9565
9648
|
|
|
9649
|
+
# DescribeRebuildIndexTasks请求参数结构体
|
|
9650
|
+
class DescribeRebuildIndexTasksRequest < TencentCloud::Common::AbstractModel
|
|
9651
|
+
# @param TopicId: 日志主题ID
|
|
9652
|
+
# @type TopicId: String
|
|
9653
|
+
# @param TaskId: 索引重建任务ID
|
|
9654
|
+
# @type TaskId: String
|
|
9655
|
+
# @param Status: 索引重建任务状态,不填返回所有状态任务列表,多种状态之间用逗号分隔,0:索引重建任务已创建,1:已创建索引重建资源,2:重建中,3:重建完成,4:重建成功(可检索),5:任务取消,6:元数据和索引已删除
|
|
9656
|
+
# @type Status: String
|
|
9657
|
+
# @param Offset: 分页的偏移量,默认值为0。
|
|
9658
|
+
# @type Offset: Integer
|
|
9659
|
+
# @param Limit: 分页单页限制数目,默认值为10,最大值20。
|
|
9660
|
+
# @type Limit: Integer
|
|
9661
|
+
|
|
9662
|
+
attr_accessor :TopicId, :TaskId, :Status, :Offset, :Limit
|
|
9663
|
+
|
|
9664
|
+
def initialize(topicid=nil, taskid=nil, status=nil, offset=nil, limit=nil)
|
|
9665
|
+
@TopicId = topicid
|
|
9666
|
+
@TaskId = taskid
|
|
9667
|
+
@Status = status
|
|
9668
|
+
@Offset = offset
|
|
9669
|
+
@Limit = limit
|
|
9670
|
+
end
|
|
9671
|
+
|
|
9672
|
+
def deserialize(params)
|
|
9673
|
+
@TopicId = params['TopicId']
|
|
9674
|
+
@TaskId = params['TaskId']
|
|
9675
|
+
@Status = params['Status']
|
|
9676
|
+
@Offset = params['Offset']
|
|
9677
|
+
@Limit = params['Limit']
|
|
9678
|
+
end
|
|
9679
|
+
end
|
|
9680
|
+
|
|
9681
|
+
# DescribeRebuildIndexTasks返回参数结构体
|
|
9682
|
+
class DescribeRebuildIndexTasksResponse < TencentCloud::Common::AbstractModel
|
|
9683
|
+
# @param RebuildTasks: 索引重建任务列表
|
|
9684
|
+
# @type RebuildTasks: Array
|
|
9685
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9686
|
+
# @type RequestId: String
|
|
9687
|
+
|
|
9688
|
+
attr_accessor :RebuildTasks, :RequestId
|
|
9689
|
+
|
|
9690
|
+
def initialize(rebuildtasks=nil, requestid=nil)
|
|
9691
|
+
@RebuildTasks = rebuildtasks
|
|
9692
|
+
@RequestId = requestid
|
|
9693
|
+
end
|
|
9694
|
+
|
|
9695
|
+
def deserialize(params)
|
|
9696
|
+
unless params['RebuildTasks'].nil?
|
|
9697
|
+
@RebuildTasks = []
|
|
9698
|
+
params['RebuildTasks'].each do |i|
|
|
9699
|
+
rebuildindextaskinfo_tmp = RebuildIndexTaskInfo.new
|
|
9700
|
+
rebuildindextaskinfo_tmp.deserialize(i)
|
|
9701
|
+
@RebuildTasks << rebuildindextaskinfo_tmp
|
|
9702
|
+
end
|
|
9703
|
+
end
|
|
9704
|
+
@RequestId = params['RequestId']
|
|
9705
|
+
end
|
|
9706
|
+
end
|
|
9707
|
+
|
|
9566
9708
|
# DescribeScheduledSqlInfo请求参数结构体
|
|
9567
9709
|
class DescribeScheduledSqlInfoRequest < TencentCloud::Common::AbstractModel
|
|
9568
9710
|
# @param Offset: 分页的偏移量,默认值为0。
|
|
@@ -10738,6 +10880,54 @@ module TencentCloud
|
|
|
10738
10880
|
end
|
|
10739
10881
|
end
|
|
10740
10882
|
|
|
10883
|
+
# EstimateRebuildIndexTask请求参数结构体
|
|
10884
|
+
class EstimateRebuildIndexTaskRequest < TencentCloud::Common::AbstractModel
|
|
10885
|
+
# @param TopicId: 日志主题ID
|
|
10886
|
+
# @type TopicId: String
|
|
10887
|
+
# @param StartTime: 预估任务起始时间,毫秒
|
|
10888
|
+
# @type StartTime: Integer
|
|
10889
|
+
# @param EndTime: 预估任务结束时间,毫秒
|
|
10890
|
+
# @type EndTime: Integer
|
|
10891
|
+
|
|
10892
|
+
attr_accessor :TopicId, :StartTime, :EndTime
|
|
10893
|
+
|
|
10894
|
+
def initialize(topicid=nil, starttime=nil, endtime=nil)
|
|
10895
|
+
@TopicId = topicid
|
|
10896
|
+
@StartTime = starttime
|
|
10897
|
+
@EndTime = endtime
|
|
10898
|
+
end
|
|
10899
|
+
|
|
10900
|
+
def deserialize(params)
|
|
10901
|
+
@TopicId = params['TopicId']
|
|
10902
|
+
@StartTime = params['StartTime']
|
|
10903
|
+
@EndTime = params['EndTime']
|
|
10904
|
+
end
|
|
10905
|
+
end
|
|
10906
|
+
|
|
10907
|
+
# EstimateRebuildIndexTask返回参数结构体
|
|
10908
|
+
class EstimateRebuildIndexTaskResponse < TencentCloud::Common::AbstractModel
|
|
10909
|
+
# @param RemainTime: 预估索引重建需要时间,单位秒
|
|
10910
|
+
# @type RemainTime: Integer
|
|
10911
|
+
# @param WriteTraffic: 预估写流量大小,单位MB
|
|
10912
|
+
# @type WriteTraffic: Integer
|
|
10913
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10914
|
+
# @type RequestId: String
|
|
10915
|
+
|
|
10916
|
+
attr_accessor :RemainTime, :WriteTraffic, :RequestId
|
|
10917
|
+
|
|
10918
|
+
def initialize(remaintime=nil, writetraffic=nil, requestid=nil)
|
|
10919
|
+
@RemainTime = remaintime
|
|
10920
|
+
@WriteTraffic = writetraffic
|
|
10921
|
+
@RequestId = requestid
|
|
10922
|
+
end
|
|
10923
|
+
|
|
10924
|
+
def deserialize(params)
|
|
10925
|
+
@RemainTime = params['RemainTime']
|
|
10926
|
+
@WriteTraffic = params['WriteTraffic']
|
|
10927
|
+
@RequestId = params['RequestId']
|
|
10928
|
+
end
|
|
10929
|
+
end
|
|
10930
|
+
|
|
10741
10931
|
# Windows事件日志采集配置
|
|
10742
10932
|
class EventLog < TencentCloud::Common::AbstractModel
|
|
10743
10933
|
# @param EventChannel: 事件通道,支持
|
|
@@ -16134,6 +16324,54 @@ module TencentCloud
|
|
|
16134
16324
|
end
|
|
16135
16325
|
end
|
|
16136
16326
|
|
|
16327
|
+
# 索引重建任务信息
|
|
16328
|
+
class RebuildIndexTaskInfo < TencentCloud::Common::AbstractModel
|
|
16329
|
+
# @param TaskId: 索引重建任务ID
|
|
16330
|
+
# @type TaskId: String
|
|
16331
|
+
# @param Status: 索引重建任务当前状态,0:索引重建任务已创建,1:创建索引重建资源,2:索引重建资源创建完成,3:重建中,4:暂停,5:重建索引成功,6:重建成功(可检索),7:重建失败,8:撤销,9:删除元数据和索引
|
|
16332
|
+
# @type Status: Integer
|
|
16333
|
+
# @param StartTime: 重建任务开始时间戳
|
|
16334
|
+
# @type StartTime: Integer
|
|
16335
|
+
# @param EndTime: 重建任务结束时间戳
|
|
16336
|
+
# @type EndTime: Integer
|
|
16337
|
+
# @param RemainTime: 重投预估剩余时间,单位秒
|
|
16338
|
+
# @type RemainTime: Integer
|
|
16339
|
+
# @param CreateTime: 重建任务创建时间戳
|
|
16340
|
+
# @type CreateTime: Integer
|
|
16341
|
+
# @param Progress: 重投完成度,百分比
|
|
16342
|
+
# @type Progress: Float
|
|
16343
|
+
# @param UpdateTime: 重建任务更新时间
|
|
16344
|
+
# @type UpdateTime: Integer
|
|
16345
|
+
# @param StatusMessage: 附加状态描述信息(目前仅描述失败时失败原因)
|
|
16346
|
+
# @type StatusMessage: String
|
|
16347
|
+
|
|
16348
|
+
attr_accessor :TaskId, :Status, :StartTime, :EndTime, :RemainTime, :CreateTime, :Progress, :UpdateTime, :StatusMessage
|
|
16349
|
+
|
|
16350
|
+
def initialize(taskid=nil, status=nil, starttime=nil, endtime=nil, remaintime=nil, createtime=nil, progress=nil, updatetime=nil, statusmessage=nil)
|
|
16351
|
+
@TaskId = taskid
|
|
16352
|
+
@Status = status
|
|
16353
|
+
@StartTime = starttime
|
|
16354
|
+
@EndTime = endtime
|
|
16355
|
+
@RemainTime = remaintime
|
|
16356
|
+
@CreateTime = createtime
|
|
16357
|
+
@Progress = progress
|
|
16358
|
+
@UpdateTime = updatetime
|
|
16359
|
+
@StatusMessage = statusmessage
|
|
16360
|
+
end
|
|
16361
|
+
|
|
16362
|
+
def deserialize(params)
|
|
16363
|
+
@TaskId = params['TaskId']
|
|
16364
|
+
@Status = params['Status']
|
|
16365
|
+
@StartTime = params['StartTime']
|
|
16366
|
+
@EndTime = params['EndTime']
|
|
16367
|
+
@RemainTime = params['RemainTime']
|
|
16368
|
+
@CreateTime = params['CreateTime']
|
|
16369
|
+
@Progress = params['Progress']
|
|
16370
|
+
@UpdateTime = params['UpdateTime']
|
|
16371
|
+
@StatusMessage = params['StatusMessage']
|
|
16372
|
+
end
|
|
16373
|
+
end
|
|
16374
|
+
|
|
16137
16375
|
# 标签重新标记配置。
|
|
16138
16376
|
# 允许动态重写目标、警报、抓取样本和远程写入样本的标签集。
|
|
16139
16377
|
class Relabeling < TencentCloud::Common::AbstractModel
|
|
@@ -17644,7 +17882,8 @@ module TencentCloud
|
|
|
17644
17882
|
|
|
17645
17883
|
# 需要开启键值索引的字段的索引描述信息
|
|
17646
17884
|
class ValueInfo < TencentCloud::Common::AbstractModel
|
|
17647
|
-
# @param Type:
|
|
17885
|
+
# @param Type: 字段类型,支持的类型有:long、text、double、json
|
|
17886
|
+
# 注意:json 类型目前仅部分用户或日志主题支持,如需使用请联系我们开启功能白名单
|
|
17648
17887
|
# @type Type: String
|
|
17649
17888
|
# @param Tokenizer: 字段的分词符,其中的每个字符代表一个分词符;
|
|
17650
17889
|
# 仅支持英文符号、\n\t\r及转义符\;
|
|
@@ -17657,15 +17896,23 @@ module TencentCloud
|
|
|
17657
17896
|
# @type ContainZH: Boolean
|
|
17658
17897
|
# @param Alias: 字段别名
|
|
17659
17898
|
# @type Alias: String
|
|
17899
|
+
# @param OpenIndexForChildOnly: 仅为子节点开启索引,本字段不开启。
|
|
17900
|
+
# 注意:仅json类型字段可配置该参数
|
|
17901
|
+
# @type OpenIndexForChildOnly: Boolean
|
|
17902
|
+
# @param ChildNode: json子节点列表
|
|
17903
|
+
# 注意:仅json类型字段可配置该参数
|
|
17904
|
+
# @type ChildNode: Array
|
|
17660
17905
|
|
|
17661
|
-
attr_accessor :Type, :Tokenizer, :SqlFlag, :ContainZH, :Alias
|
|
17906
|
+
attr_accessor :Type, :Tokenizer, :SqlFlag, :ContainZH, :Alias, :OpenIndexForChildOnly, :ChildNode
|
|
17662
17907
|
|
|
17663
|
-
def initialize(type=nil, tokenizer=nil, sqlflag=nil, containzh=nil, _alias=nil)
|
|
17908
|
+
def initialize(type=nil, tokenizer=nil, sqlflag=nil, containzh=nil, _alias=nil, openindexforchildonly=nil, childnode=nil)
|
|
17664
17909
|
@Type = type
|
|
17665
17910
|
@Tokenizer = tokenizer
|
|
17666
17911
|
@SqlFlag = sqlflag
|
|
17667
17912
|
@ContainZH = containzh
|
|
17668
17913
|
@Alias = _alias
|
|
17914
|
+
@OpenIndexForChildOnly = openindexforchildonly
|
|
17915
|
+
@ChildNode = childnode
|
|
17669
17916
|
end
|
|
17670
17917
|
|
|
17671
17918
|
def deserialize(params)
|
|
@@ -17674,6 +17921,15 @@ module TencentCloud
|
|
|
17674
17921
|
@SqlFlag = params['SqlFlag']
|
|
17675
17922
|
@ContainZH = params['ContainZH']
|
|
17676
17923
|
@Alias = params['Alias']
|
|
17924
|
+
@OpenIndexForChildOnly = params['OpenIndexForChildOnly']
|
|
17925
|
+
unless params['ChildNode'].nil?
|
|
17926
|
+
@ChildNode = []
|
|
17927
|
+
params['ChildNode'].each do |i|
|
|
17928
|
+
keyvalueinfo_tmp = KeyValueInfo.new
|
|
17929
|
+
keyvalueinfo_tmp.deserialize(i)
|
|
17930
|
+
@ChildNode << keyvalueinfo_tmp
|
|
17931
|
+
end
|
|
17932
|
+
end
|
|
17677
17933
|
end
|
|
17678
17934
|
end
|
|
17679
17935
|
|
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.1202
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-01-
|
|
11
|
+
date: 2026-01-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|