tencentcloud-sdk-cls 3.0.1187 → 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 +174 -0
- data/lib/v20201016/models.rb +409 -19
- 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.
|
|
@@ -420,6 +444,30 @@ module TencentCloud
|
|
|
420
444
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
421
445
|
end
|
|
422
446
|
|
|
447
|
+
# 本接口用于创建仪表盘
|
|
448
|
+
|
|
449
|
+
# @param request: Request instance for CreateDashboard.
|
|
450
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::CreateDashboardRequest`
|
|
451
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::CreateDashboardResponse`
|
|
452
|
+
def CreateDashboard(request)
|
|
453
|
+
body = send_request('CreateDashboard', request.serialize)
|
|
454
|
+
response = JSON.parse(body)
|
|
455
|
+
if response['Response'].key?('Error') == false
|
|
456
|
+
model = CreateDashboardResponse.new
|
|
457
|
+
model.deserialize(response['Response'])
|
|
458
|
+
model
|
|
459
|
+
else
|
|
460
|
+
code = response['Response']['Error']['Code']
|
|
461
|
+
message = response['Response']['Error']['Message']
|
|
462
|
+
reqid = response['Response']['RequestId']
|
|
463
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
464
|
+
end
|
|
465
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
466
|
+
raise e
|
|
467
|
+
rescue StandardError => e
|
|
468
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
469
|
+
end
|
|
470
|
+
|
|
423
471
|
# 此接口用于创建仪表盘订阅
|
|
424
472
|
|
|
425
473
|
# @param request: Request instance for CreateDashboardSubscribe.
|
|
@@ -756,6 +804,36 @@ module TencentCloud
|
|
|
756
804
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
757
805
|
end
|
|
758
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
|
+
|
|
759
837
|
# 本接口用于创建定时SQL分析任务
|
|
760
838
|
|
|
761
839
|
# @param request: Request instance for CreateScheduledSql.
|
|
@@ -1140,6 +1218,30 @@ module TencentCloud
|
|
|
1140
1218
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1141
1219
|
end
|
|
1142
1220
|
|
|
1221
|
+
# 本接口用于删除仪表盘
|
|
1222
|
+
|
|
1223
|
+
# @param request: Request instance for DeleteDashboard.
|
|
1224
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::DeleteDashboardRequest`
|
|
1225
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::DeleteDashboardResponse`
|
|
1226
|
+
def DeleteDashboard(request)
|
|
1227
|
+
body = send_request('DeleteDashboard', request.serialize)
|
|
1228
|
+
response = JSON.parse(body)
|
|
1229
|
+
if response['Response'].key?('Error') == false
|
|
1230
|
+
model = DeleteDashboardResponse.new
|
|
1231
|
+
model.deserialize(response['Response'])
|
|
1232
|
+
model
|
|
1233
|
+
else
|
|
1234
|
+
code = response['Response']['Error']['Code']
|
|
1235
|
+
message = response['Response']['Error']['Message']
|
|
1236
|
+
reqid = response['Response']['RequestId']
|
|
1237
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1238
|
+
end
|
|
1239
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1240
|
+
raise e
|
|
1241
|
+
rescue StandardError => e
|
|
1242
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1243
|
+
end
|
|
1244
|
+
|
|
1143
1245
|
# 此接口用于删除仪表盘订阅
|
|
1144
1246
|
|
|
1145
1247
|
# @param request: Request instance for DeleteDashboardSubscribe.
|
|
@@ -2629,6 +2731,30 @@ module TencentCloud
|
|
|
2629
2731
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2630
2732
|
end
|
|
2631
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
|
+
|
|
2632
2758
|
# 本接口用于获取定时SQL分析任务列表
|
|
2633
2759
|
|
|
2634
2760
|
# @param request: Request instance for DescribeScheduledSqlInfo.
|
|
@@ -2845,6 +2971,30 @@ module TencentCloud
|
|
|
2845
2971
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2846
2972
|
end
|
|
2847
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
|
+
|
|
2848
2998
|
# 本接口用于获取告警策略执行详情
|
|
2849
2999
|
|
|
2850
3000
|
# @param request: Request instance for GetAlarmLog.
|
|
@@ -3157,6 +3307,30 @@ module TencentCloud
|
|
|
3157
3307
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3158
3308
|
end
|
|
3159
3309
|
|
|
3310
|
+
# 本接口用于修改仪表盘
|
|
3311
|
+
|
|
3312
|
+
# @param request: Request instance for ModifyDashboard.
|
|
3313
|
+
# @type request: :class:`Tencentcloud::cls::V20201016::ModifyDashboardRequest`
|
|
3314
|
+
# @rtype: :class:`Tencentcloud::cls::V20201016::ModifyDashboardResponse`
|
|
3315
|
+
def ModifyDashboard(request)
|
|
3316
|
+
body = send_request('ModifyDashboard', request.serialize)
|
|
3317
|
+
response = JSON.parse(body)
|
|
3318
|
+
if response['Response'].key?('Error') == false
|
|
3319
|
+
model = ModifyDashboardResponse.new
|
|
3320
|
+
model.deserialize(response['Response'])
|
|
3321
|
+
model
|
|
3322
|
+
else
|
|
3323
|
+
code = response['Response']['Error']['Code']
|
|
3324
|
+
message = response['Response']['Error']['Message']
|
|
3325
|
+
reqid = response['Response']['RequestId']
|
|
3326
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
3327
|
+
end
|
|
3328
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
3329
|
+
raise e
|
|
3330
|
+
rescue StandardError => e
|
|
3331
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3332
|
+
end
|
|
3333
|
+
|
|
3160
3334
|
# 此接口用于修改仪表盘订阅
|
|
3161
3335
|
|
|
3162
3336
|
# @param request: Request instance for ModifyDashboardSubscribe.
|
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)
|
|
@@ -2457,8 +2493,8 @@ module TencentCloud
|
|
|
2457
2493
|
|
|
2458
2494
|
attr_accessor :Name, :AlarmTargets, :MonitorTime, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :Condition, :AlarmLevel, :MultiConditions, :Status, :Enable, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :Tags, :MonitorObjectType, :Classifications
|
|
2459
2495
|
extend Gem::Deprecate
|
|
2460
|
-
deprecate :Enable, :none,
|
|
2461
|
-
deprecate :Enable=, :none,
|
|
2496
|
+
deprecate :Enable, :none, 2026, 1
|
|
2497
|
+
deprecate :Enable=, :none, 2026, 1
|
|
2462
2498
|
|
|
2463
2499
|
def initialize(name=nil, alarmtargets=nil, monitortime=nil, triggercount=nil, alarmperiod=nil, alarmnoticeids=nil, condition=nil, alarmlevel=nil, multiconditions=nil, status=nil, enable=nil, messagetemplate=nil, callback=nil, analysis=nil, grouptriggerstatus=nil, grouptriggercondition=nil, tags=nil, monitorobjecttype=nil, classifications=nil)
|
|
2464
2500
|
@Name = name
|
|
@@ -2797,8 +2833,8 @@ module TencentCloud
|
|
|
2797
2833
|
|
|
2798
2834
|
attr_accessor :Name, :TopicId, :Type, :LogType, :ConfigFlag, :LogsetId, :LogsetName, :TopicName, :HostFile, :ContainerFile, :ContainerStdout, :LogFormat, :ExtractRule, :ExcludePaths, :UserDefineRule, :GroupId, :GroupIds, :CollectInfos, :AdvancedConfig
|
|
2799
2835
|
extend Gem::Deprecate
|
|
2800
|
-
deprecate :LogFormat, :none,
|
|
2801
|
-
deprecate :LogFormat=, :none,
|
|
2836
|
+
deprecate :LogFormat, :none, 2026, 1
|
|
2837
|
+
deprecate :LogFormat=, :none, 2026, 1
|
|
2802
2838
|
|
|
2803
2839
|
def initialize(name=nil, topicid=nil, type=nil, logtype=nil, configflag=nil, logsetid=nil, logsetname=nil, topicname=nil, hostfile=nil, containerfile=nil, containerstdout=nil, logformat=nil, extractrule=nil, excludepaths=nil, userdefinerule=nil, groupid=nil, groupids=nil, collectinfos=nil, advancedconfig=nil)
|
|
2804
2840
|
@Name = name
|
|
@@ -3242,6 +3278,57 @@ module TencentCloud
|
|
|
3242
3278
|
end
|
|
3243
3279
|
end
|
|
3244
3280
|
|
|
3281
|
+
# CreateDashboard请求参数结构体
|
|
3282
|
+
class CreateDashboardRequest < TencentCloud::Common::AbstractModel
|
|
3283
|
+
# @param DashboardName: 仪表盘名称
|
|
3284
|
+
# @type DashboardName: String
|
|
3285
|
+
# @param Data: 仪表盘配置数据
|
|
3286
|
+
# @type Data: String
|
|
3287
|
+
# @param Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
|
|
3288
|
+
# @type Tags: Array
|
|
3289
|
+
|
|
3290
|
+
attr_accessor :DashboardName, :Data, :Tags
|
|
3291
|
+
|
|
3292
|
+
def initialize(dashboardname=nil, data=nil, tags=nil)
|
|
3293
|
+
@DashboardName = dashboardname
|
|
3294
|
+
@Data = data
|
|
3295
|
+
@Tags = tags
|
|
3296
|
+
end
|
|
3297
|
+
|
|
3298
|
+
def deserialize(params)
|
|
3299
|
+
@DashboardName = params['DashboardName']
|
|
3300
|
+
@Data = params['Data']
|
|
3301
|
+
unless params['Tags'].nil?
|
|
3302
|
+
@Tags = []
|
|
3303
|
+
params['Tags'].each do |i|
|
|
3304
|
+
tag_tmp = Tag.new
|
|
3305
|
+
tag_tmp.deserialize(i)
|
|
3306
|
+
@Tags << tag_tmp
|
|
3307
|
+
end
|
|
3308
|
+
end
|
|
3309
|
+
end
|
|
3310
|
+
end
|
|
3311
|
+
|
|
3312
|
+
# CreateDashboard返回参数结构体
|
|
3313
|
+
class CreateDashboardResponse < TencentCloud::Common::AbstractModel
|
|
3314
|
+
# @param DashboardId: 仪表盘id
|
|
3315
|
+
# @type DashboardId: String
|
|
3316
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3317
|
+
# @type RequestId: String
|
|
3318
|
+
|
|
3319
|
+
attr_accessor :DashboardId, :RequestId
|
|
3320
|
+
|
|
3321
|
+
def initialize(dashboardid=nil, requestid=nil)
|
|
3322
|
+
@DashboardId = dashboardid
|
|
3323
|
+
@RequestId = requestid
|
|
3324
|
+
end
|
|
3325
|
+
|
|
3326
|
+
def deserialize(params)
|
|
3327
|
+
@DashboardId = params['DashboardId']
|
|
3328
|
+
@RequestId = params['RequestId']
|
|
3329
|
+
end
|
|
3330
|
+
end
|
|
3331
|
+
|
|
3245
3332
|
# CreateDashboardSubscribe请求参数结构体
|
|
3246
3333
|
class CreateDashboardSubscribeRequest < TencentCloud::Common::AbstractModel
|
|
3247
3334
|
# @param Name: 仪表盘订阅名称。
|
|
@@ -4339,6 +4426,53 @@ module TencentCloud
|
|
|
4339
4426
|
end
|
|
4340
4427
|
end
|
|
4341
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
|
+
|
|
4342
4476
|
# CreateScheduledSql请求参数结构体
|
|
4343
4477
|
class CreateScheduledSqlRequest < TencentCloud::Common::AbstractModel
|
|
4344
4478
|
# @param SrcTopicId: 源日志主题ID- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。
|
|
@@ -5818,6 +5952,38 @@ module TencentCloud
|
|
|
5818
5952
|
end
|
|
5819
5953
|
end
|
|
5820
5954
|
|
|
5955
|
+
# DeleteDashboard请求参数结构体
|
|
5956
|
+
class DeleteDashboardRequest < TencentCloud::Common::AbstractModel
|
|
5957
|
+
# @param DashboardId: 仪表盘id
|
|
5958
|
+
# @type DashboardId: String
|
|
5959
|
+
|
|
5960
|
+
attr_accessor :DashboardId
|
|
5961
|
+
|
|
5962
|
+
def initialize(dashboardid=nil)
|
|
5963
|
+
@DashboardId = dashboardid
|
|
5964
|
+
end
|
|
5965
|
+
|
|
5966
|
+
def deserialize(params)
|
|
5967
|
+
@DashboardId = params['DashboardId']
|
|
5968
|
+
end
|
|
5969
|
+
end
|
|
5970
|
+
|
|
5971
|
+
# DeleteDashboard返回参数结构体
|
|
5972
|
+
class DeleteDashboardResponse < TencentCloud::Common::AbstractModel
|
|
5973
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5974
|
+
# @type RequestId: String
|
|
5975
|
+
|
|
5976
|
+
attr_accessor :RequestId
|
|
5977
|
+
|
|
5978
|
+
def initialize(requestid=nil)
|
|
5979
|
+
@RequestId = requestid
|
|
5980
|
+
end
|
|
5981
|
+
|
|
5982
|
+
def deserialize(params)
|
|
5983
|
+
@RequestId = params['RequestId']
|
|
5984
|
+
end
|
|
5985
|
+
end
|
|
5986
|
+
|
|
5821
5987
|
# DeleteDashboardSubscribe请求参数结构体
|
|
5822
5988
|
class DeleteDashboardSubscribeRequest < TencentCloud::Common::AbstractModel
|
|
5823
5989
|
# @param Id: 仪表盘订阅记录id。通过 [获取仪表盘订阅列表](https://cloud.tencent.com/document/api/614/105779)接口获取Id。
|
|
@@ -9480,6 +9646,65 @@ module TencentCloud
|
|
|
9480
9646
|
end
|
|
9481
9647
|
end
|
|
9482
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
|
+
|
|
9483
9708
|
# DescribeScheduledSqlInfo请求参数结构体
|
|
9484
9709
|
class DescribeScheduledSqlInfoRequest < TencentCloud::Common::AbstractModel
|
|
9485
9710
|
# @param Offset: 分页的偏移量,默认值为0。
|
|
@@ -10655,6 +10880,54 @@ module TencentCloud
|
|
|
10655
10880
|
end
|
|
10656
10881
|
end
|
|
10657
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
|
+
|
|
10658
10931
|
# Windows事件日志采集配置
|
|
10659
10932
|
class EventLog < TencentCloud::Common::AbstractModel
|
|
10660
10933
|
# @param EventChannel: 事件通道,支持
|
|
@@ -12975,8 +13248,8 @@ module TencentCloud
|
|
|
12975
13248
|
|
|
12976
13249
|
attr_accessor :AlarmId, :Name, :MonitorTime, :Condition, :AlarmLevel, :MultiConditions, :TriggerCount, :AlarmPeriod, :AlarmNoticeIds, :AlarmTargets, :Status, :Enable, :MessageTemplate, :CallBack, :Analysis, :GroupTriggerStatus, :GroupTriggerCondition, :Tags, :MonitorObjectType, :Classifications
|
|
12977
13250
|
extend Gem::Deprecate
|
|
12978
|
-
deprecate :Enable, :none,
|
|
12979
|
-
deprecate :Enable=, :none,
|
|
13251
|
+
deprecate :Enable, :none, 2026, 1
|
|
13252
|
+
deprecate :Enable=, :none, 2026, 1
|
|
12980
13253
|
|
|
12981
13254
|
def initialize(alarmid=nil, name=nil, monitortime=nil, condition=nil, alarmlevel=nil, multiconditions=nil, triggercount=nil, alarmperiod=nil, alarmnoticeids=nil, alarmtargets=nil, status=nil, enable=nil, messagetemplate=nil, callback=nil, analysis=nil, grouptriggerstatus=nil, grouptriggercondition=nil, tags=nil, monitorobjecttype=nil, classifications=nil)
|
|
12982
13255
|
@AlarmId = alarmid
|
|
@@ -13274,8 +13547,8 @@ module TencentCloud
|
|
|
13274
13547
|
|
|
13275
13548
|
attr_accessor :ConfigExtraId, :Name, :TopicId, :HostFile, :ContainerFile, :ContainerStdout, :LogType, :LogFormat, :ExtractRule, :ExcludePaths, :UserDefineRule, :Type, :GroupId, :ConfigFlag, :LogsetId, :LogsetName, :TopicName, :AdvancedConfig
|
|
13276
13549
|
extend Gem::Deprecate
|
|
13277
|
-
deprecate :LogFormat, :none,
|
|
13278
|
-
deprecate :LogFormat=, :none,
|
|
13550
|
+
deprecate :LogFormat, :none, 2026, 1
|
|
13551
|
+
deprecate :LogFormat=, :none, 2026, 1
|
|
13279
13552
|
|
|
13280
13553
|
def initialize(configextraid=nil, name=nil, topicid=nil, hostfile=nil, containerfile=nil, containerstdout=nil, logtype=nil, logformat=nil, extractrule=nil, excludepaths=nil, userdefinerule=nil, type=nil, groupid=nil, configflag=nil, logsetid=nil, logsetname=nil, topicname=nil, advancedconfig=nil)
|
|
13281
13554
|
@ConfigExtraId = configextraid
|
|
@@ -13698,6 +13971,57 @@ module TencentCloud
|
|
|
13698
13971
|
end
|
|
13699
13972
|
end
|
|
13700
13973
|
|
|
13974
|
+
# ModifyDashboard请求参数结构体
|
|
13975
|
+
class ModifyDashboardRequest < TencentCloud::Common::AbstractModel
|
|
13976
|
+
# @param DashboardId: 仪表盘id。通过 [获取仪表盘](https://cloud.tencent.com/document/api/614/95636)接口获取DashboardId。
|
|
13977
|
+
# @type DashboardId: String
|
|
13978
|
+
# @param DashboardName: 仪表盘名称
|
|
13979
|
+
# @type DashboardName: String
|
|
13980
|
+
# @param Data: 仪表盘配置数据
|
|
13981
|
+
# @type Data: String
|
|
13982
|
+
# @param Tags: 标签描述列表,通过指定该参数可以同时绑定标签到相应的日志主题。最大支持10个标签键值对,同一个资源只能绑定到同一个标签键下。
|
|
13983
|
+
# @type Tags: Array
|
|
13984
|
+
|
|
13985
|
+
attr_accessor :DashboardId, :DashboardName, :Data, :Tags
|
|
13986
|
+
|
|
13987
|
+
def initialize(dashboardid=nil, dashboardname=nil, data=nil, tags=nil)
|
|
13988
|
+
@DashboardId = dashboardid
|
|
13989
|
+
@DashboardName = dashboardname
|
|
13990
|
+
@Data = data
|
|
13991
|
+
@Tags = tags
|
|
13992
|
+
end
|
|
13993
|
+
|
|
13994
|
+
def deserialize(params)
|
|
13995
|
+
@DashboardId = params['DashboardId']
|
|
13996
|
+
@DashboardName = params['DashboardName']
|
|
13997
|
+
@Data = params['Data']
|
|
13998
|
+
unless params['Tags'].nil?
|
|
13999
|
+
@Tags = []
|
|
14000
|
+
params['Tags'].each do |i|
|
|
14001
|
+
tag_tmp = Tag.new
|
|
14002
|
+
tag_tmp.deserialize(i)
|
|
14003
|
+
@Tags << tag_tmp
|
|
14004
|
+
end
|
|
14005
|
+
end
|
|
14006
|
+
end
|
|
14007
|
+
end
|
|
14008
|
+
|
|
14009
|
+
# ModifyDashboard返回参数结构体
|
|
14010
|
+
class ModifyDashboardResponse < TencentCloud::Common::AbstractModel
|
|
14011
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14012
|
+
# @type RequestId: String
|
|
14013
|
+
|
|
14014
|
+
attr_accessor :RequestId
|
|
14015
|
+
|
|
14016
|
+
def initialize(requestid=nil)
|
|
14017
|
+
@RequestId = requestid
|
|
14018
|
+
end
|
|
14019
|
+
|
|
14020
|
+
def deserialize(params)
|
|
14021
|
+
@RequestId = params['RequestId']
|
|
14022
|
+
end
|
|
14023
|
+
end
|
|
14024
|
+
|
|
13701
14025
|
# ModifyDashboardSubscribe请求参数结构体
|
|
13702
14026
|
class ModifyDashboardSubscribeRequest < TencentCloud::Common::AbstractModel
|
|
13703
14027
|
# @param Id: 仪表盘订阅id。通过 [获取仪表盘订阅列表](https://cloud.tencent.com/document/api/614/105779)接口获取Id。
|
|
@@ -15862,8 +16186,8 @@ module TencentCloud
|
|
|
15862
16186
|
|
|
15863
16187
|
attr_accessor :LogContent, :LineNum, :DstTopicId, :FailReason, :Time, :DstTopicName
|
|
15864
16188
|
extend Gem::Deprecate
|
|
15865
|
-
deprecate :DstTopicName, :none,
|
|
15866
|
-
deprecate :DstTopicName=, :none,
|
|
16189
|
+
deprecate :DstTopicName, :none, 2026, 1
|
|
16190
|
+
deprecate :DstTopicName=, :none, 2026, 1
|
|
15867
16191
|
|
|
15868
16192
|
def initialize(logcontent=nil, linenum=nil, dsttopicid=nil, failreason=nil, time=nil, dsttopicname=nil)
|
|
15869
16193
|
@LogContent = logcontent
|
|
@@ -16000,6 +16324,54 @@ module TencentCloud
|
|
|
16000
16324
|
end
|
|
16001
16325
|
end
|
|
16002
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
|
+
|
|
16003
16375
|
# 标签重新标记配置。
|
|
16004
16376
|
# 允许动态重写目标、警报、抓取样本和远程写入样本的标签集。
|
|
16005
16377
|
class Relabeling < TencentCloud::Common::AbstractModel
|
|
@@ -17449,8 +17821,8 @@ module TencentCloud
|
|
|
17449
17821
|
|
|
17450
17822
|
attr_accessor :TopicId, :HashKey, :CompressType
|
|
17451
17823
|
extend Gem::Deprecate
|
|
17452
|
-
deprecate :HashKey, :none,
|
|
17453
|
-
deprecate :HashKey=, :none,
|
|
17824
|
+
deprecate :HashKey, :none, 2026, 1
|
|
17825
|
+
deprecate :HashKey=, :none, 2026, 1
|
|
17454
17826
|
|
|
17455
17827
|
def initialize(topicid=nil, hashkey=nil, compresstype=nil)
|
|
17456
17828
|
@TopicId = topicid
|
|
@@ -17510,7 +17882,8 @@ module TencentCloud
|
|
|
17510
17882
|
|
|
17511
17883
|
# 需要开启键值索引的字段的索引描述信息
|
|
17512
17884
|
class ValueInfo < TencentCloud::Common::AbstractModel
|
|
17513
|
-
# @param Type:
|
|
17885
|
+
# @param Type: 字段类型,支持的类型有:long、text、double、json
|
|
17886
|
+
# 注意:json 类型目前仅部分用户或日志主题支持,如需使用请联系我们开启功能白名单
|
|
17514
17887
|
# @type Type: String
|
|
17515
17888
|
# @param Tokenizer: 字段的分词符,其中的每个字符代表一个分词符;
|
|
17516
17889
|
# 仅支持英文符号、\n\t\r及转义符\;
|
|
@@ -17523,15 +17896,23 @@ module TencentCloud
|
|
|
17523
17896
|
# @type ContainZH: Boolean
|
|
17524
17897
|
# @param Alias: 字段别名
|
|
17525
17898
|
# @type Alias: String
|
|
17899
|
+
# @param OpenIndexForChildOnly: 仅为子节点开启索引,本字段不开启。
|
|
17900
|
+
# 注意:仅json类型字段可配置该参数
|
|
17901
|
+
# @type OpenIndexForChildOnly: Boolean
|
|
17902
|
+
# @param ChildNode: json子节点列表
|
|
17903
|
+
# 注意:仅json类型字段可配置该参数
|
|
17904
|
+
# @type ChildNode: Array
|
|
17526
17905
|
|
|
17527
|
-
attr_accessor :Type, :Tokenizer, :SqlFlag, :ContainZH, :Alias
|
|
17906
|
+
attr_accessor :Type, :Tokenizer, :SqlFlag, :ContainZH, :Alias, :OpenIndexForChildOnly, :ChildNode
|
|
17528
17907
|
|
|
17529
|
-
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)
|
|
17530
17909
|
@Type = type
|
|
17531
17910
|
@Tokenizer = tokenizer
|
|
17532
17911
|
@SqlFlag = sqlflag
|
|
17533
17912
|
@ContainZH = containzh
|
|
17534
17913
|
@Alias = _alias
|
|
17914
|
+
@OpenIndexForChildOnly = openindexforchildonly
|
|
17915
|
+
@ChildNode = childnode
|
|
17535
17916
|
end
|
|
17536
17917
|
|
|
17537
17918
|
def deserialize(params)
|
|
@@ -17540,6 +17921,15 @@ module TencentCloud
|
|
|
17540
17921
|
@SqlFlag = params['SqlFlag']
|
|
17541
17922
|
@ContainZH = params['ContainZH']
|
|
17542
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
|
|
17543
17933
|
end
|
|
17544
17934
|
end
|
|
17545
17935
|
|
|
@@ -17585,10 +17975,10 @@ module TencentCloud
|
|
|
17585
17975
|
|
|
17586
17976
|
attr_accessor :CallbackType, :Url, :WebCallbackId, :Method, :NoticeContentId, :RemindType, :Mobiles, :UserIds, :Headers, :Body, :Index
|
|
17587
17977
|
extend Gem::Deprecate
|
|
17588
|
-
deprecate :Headers, :none,
|
|
17589
|
-
deprecate :Headers=, :none,
|
|
17590
|
-
deprecate :Body, :none,
|
|
17591
|
-
deprecate :Body=, :none,
|
|
17978
|
+
deprecate :Headers, :none, 2026, 1
|
|
17979
|
+
deprecate :Headers=, :none, 2026, 1
|
|
17980
|
+
deprecate :Body, :none, 2026, 1
|
|
17981
|
+
deprecate :Body=, :none, 2026, 1
|
|
17592
17982
|
|
|
17593
17983
|
def initialize(callbacktype=nil, url=nil, webcallbackid=nil, method=nil, noticecontentid=nil, remindtype=nil, mobiles=nil, userids=nil, headers=nil, body=nil, index=nil)
|
|
17594
17984
|
@CallbackType = callbacktype
|
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:
|
|
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
|