tencentcloud-sdk-waf 3.0.1130 → 3.0.1140

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.
@@ -77,8 +77,8 @@ module TencentCloud
77
77
 
78
78
  attr_accessor :BTime, :Count, :BeginTime
79
79
  extend Gem::Deprecate
80
- deprecate :BTime, :none, 2025, 8
81
- deprecate :BTime=, :none, 2025, 8
80
+ deprecate :BTime, :none, 2025, 9
81
+ deprecate :BTime=, :none, 2025, 9
82
82
 
83
83
  def initialize(btime=nil, count=nil, begintime=nil)
84
84
  @BTime = btime
@@ -595,8 +595,8 @@ module TencentCloud
595
595
 
596
596
  attr_accessor :Name, :SortId, :Strategies, :Domain, :ActionType, :Redirect, :ExpireTime, :Edition, :Bypass, :EventId, :JobType, :JobDateTime, :Source, :Label, :Status, :PageId, :LogicalOp
597
597
  extend Gem::Deprecate
598
- deprecate :Bypass, :none, 2025, 8
599
- deprecate :Bypass=, :none, 2025, 8
598
+ deprecate :Bypass, :none, 2025, 9
599
+ deprecate :Bypass=, :none, 2025, 9
600
600
 
601
601
  def initialize(name=nil, sortid=nil, strategies=nil, domain=nil, actiontype=nil, redirect=nil, expiretime=nil, edition=nil, bypass=nil, eventid=nil, jobtype=nil, jobdatetime=nil, source=nil, label=nil, status=nil, pageid=nil, logicalop=nil)
602
602
  @Name = name
@@ -954,16 +954,16 @@ module TencentCloud
954
954
 
955
955
  attr_accessor :Domain, :CertType, :IsCdn, :UpstreamType, :IsWebsocket, :LoadBalance, :Ports, :IsKeepAlive, :InstanceID, :Cert, :PrivateKey, :SSLId, :ResourceId, :IpHeaders, :UpstreamScheme, :HttpsUpstreamPort, :IsGray, :GrayAreas, :HttpsRewrite, :UpstreamDomain, :SrcList, :IsHttp2, :Edition, :Anycast, :Weights, :ActiveCheck, :TLSVersion, :CipherTemplate, :Ciphers, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :XFFReset, :Note, :UpstreamHost, :ProxyBuffer, :ProbeStatus, :GmType, :GmCertType, :GmCert, :GmPrivateKey, :GmEncCert, :GmEncPrivateKey, :GmSSLId, :UpstreamPolicy, :UpstreamRules, :UseCase
956
956
  extend Gem::Deprecate
957
- deprecate :ResourceId, :none, 2025, 8
958
- deprecate :ResourceId=, :none, 2025, 8
959
- deprecate :IsGray, :none, 2025, 8
960
- deprecate :IsGray=, :none, 2025, 8
961
- deprecate :GrayAreas, :none, 2025, 8
962
- deprecate :GrayAreas=, :none, 2025, 8
963
- deprecate :Edition, :none, 2025, 8
964
- deprecate :Edition=, :none, 2025, 8
965
- deprecate :Anycast, :none, 2025, 8
966
- deprecate :Anycast=, :none, 2025, 8
957
+ deprecate :ResourceId, :none, 2025, 9
958
+ deprecate :ResourceId=, :none, 2025, 9
959
+ deprecate :IsGray, :none, 2025, 9
960
+ deprecate :IsGray=, :none, 2025, 9
961
+ deprecate :GrayAreas, :none, 2025, 9
962
+ deprecate :GrayAreas=, :none, 2025, 9
963
+ deprecate :Edition, :none, 2025, 9
964
+ deprecate :Edition=, :none, 2025, 9
965
+ deprecate :Anycast, :none, 2025, 9
966
+ deprecate :Anycast=, :none, 2025, 9
967
967
 
968
968
  def initialize(domain=nil, certtype=nil, iscdn=nil, upstreamtype=nil, iswebsocket=nil, loadbalance=nil, ports=nil, iskeepalive=nil, instanceid=nil, cert=nil, privatekey=nil, sslid=nil, resourceid=nil, ipheaders=nil, upstreamscheme=nil, httpsupstreamport=nil, isgray=nil, grayareas=nil, httpsrewrite=nil, upstreamdomain=nil, srclist=nil, ishttp2=nil, edition=nil, anycast=nil, weights=nil, activecheck=nil, tlsversion=nil, ciphertemplate=nil, ciphers=nil, proxyreadtimeout=nil, proxysendtimeout=nil, snitype=nil, snihost=nil, xffreset=nil, note=nil, upstreamhost=nil, proxybuffer=nil, probestatus=nil, gmtype=nil, gmcerttype=nil, gmcert=nil, gmprivatekey=nil, gmenccert=nil, gmencprivatekey=nil, gmsslid=nil, upstreampolicy=nil, upstreamrules=nil, usecase=nil)
969
969
  @Domain = domain
@@ -1098,6 +1098,33 @@ module TencentCloud
1098
1098
  end
1099
1099
  end
1100
1100
 
1101
+ # 免鉴权信息
1102
+ class AnonymousInfo < TencentCloud::Common::AbstractModel
1103
+ # @param Operations: 操作列表,支持trackLog(JS/HTTP上传日志 )和realtimeProducer(kafka协议上传日志)
1104
+ # @type Operations: Array
1105
+ # @param Conditions: 条件列表
1106
+ # @type Conditions: Array
1107
+
1108
+ attr_accessor :Operations, :Conditions
1109
+
1110
+ def initialize(operations=nil, conditions=nil)
1111
+ @Operations = operations
1112
+ @Conditions = conditions
1113
+ end
1114
+
1115
+ def deserialize(params)
1116
+ @Operations = params['Operations']
1117
+ unless params['Conditions'].nil?
1118
+ @Conditions = []
1119
+ params['Conditions'].each do |i|
1120
+ conditioninfo_tmp = ConditionInfo.new
1121
+ conditioninfo_tmp.deserialize(i)
1122
+ @Conditions << conditioninfo_tmp
1123
+ end
1124
+ end
1125
+ end
1126
+ end
1127
+
1101
1128
  # api列表
1102
1129
  class ApiAsset < TencentCloud::Common::AbstractModel
1103
1130
  # @param Domain: 域名
@@ -1548,10 +1575,10 @@ module TencentCloud
1548
1575
 
1549
1576
  attr_accessor :Id, :ActionType, :Ip, :Note, :Source, :TsVersion, :ValidTs, :Hosts, :RuleId, :IpList, :CreateTime, :JobType, :CronType, :JobDateTime, :ValidStatus, :GroupIds
1550
1577
  extend Gem::Deprecate
1551
- deprecate :Id, :none, 2025, 8
1552
- deprecate :Id=, :none, 2025, 8
1553
- deprecate :Ip, :none, 2025, 8
1554
- deprecate :Ip=, :none, 2025, 8
1578
+ deprecate :Id, :none, 2025, 9
1579
+ deprecate :Id=, :none, 2025, 9
1580
+ deprecate :Ip, :none, 2025, 9
1581
+ deprecate :Ip=, :none, 2025, 9
1555
1582
 
1556
1583
  def initialize(id=nil, actiontype=nil, ip=nil, note=nil, source=nil, tsversion=nil, validts=nil, hosts=nil, ruleid=nil, iplist=nil, createtime=nil, jobtype=nil, crontype=nil, jobdatetime=nil, validstatus=nil, groupids=nil)
1557
1584
  @Id = id
@@ -2700,6 +2727,26 @@ module TencentCloud
2700
2727
  end
2701
2728
  end
2702
2729
 
2730
+ # 日志分析的列属性
2731
+ class Column < TencentCloud::Common::AbstractModel
2732
+ # @param Name: 列的名字
2733
+ # @type Name: String
2734
+ # @param Type: 列的属性
2735
+ # @type Type: String
2736
+
2737
+ attr_accessor :Name, :Type
2738
+
2739
+ def initialize(name=nil, type=nil)
2740
+ @Name = name
2741
+ @Type = type
2742
+ end
2743
+
2744
+ def deserialize(params)
2745
+ @Name = params['Name']
2746
+ @Type = params['Type']
2747
+ end
2748
+ end
2749
+
2703
2750
  # 通用返回
2704
2751
  class CommonRspData < TencentCloud::Common::AbstractModel
2705
2752
  # @param Code: 操作结果
@@ -2720,6 +2767,30 @@ module TencentCloud
2720
2767
  end
2721
2768
  end
2722
2769
 
2770
+ # 免鉴权条件信息
2771
+ class ConditionInfo < TencentCloud::Common::AbstractModel
2772
+ # @param Attributes: 条件属性,目前只支持VpcID
2773
+ # @type Attributes: String
2774
+ # @param Rule: 条件规则,1:等于,2:不等于
2775
+ # @type Rule: Integer
2776
+ # @param ConditionValue: 对应条件属性的值
2777
+ # @type ConditionValue: String
2778
+
2779
+ attr_accessor :Attributes, :Rule, :ConditionValue
2780
+
2781
+ def initialize(attributes=nil, rule=nil, conditionvalue=nil)
2782
+ @Attributes = attributes
2783
+ @Rule = rule
2784
+ @ConditionValue = conditionvalue
2785
+ end
2786
+
2787
+ def deserialize(params)
2788
+ @Attributes = params['Attributes']
2789
+ @Rule = params['Rule']
2790
+ @ConditionValue = params['ConditionValue']
2791
+ end
2792
+ end
2793
+
2723
2794
  # CreateAccessExport请求参数结构体
2724
2795
  class CreateAccessExportRequest < TencentCloud::Common::AbstractModel
2725
2796
  # @param TopicId: 客户要查询的日志主题ID,每个客户都有对应的一个主题
@@ -3035,6 +3106,75 @@ module TencentCloud
3035
3106
  end
3036
3107
  end
3037
3108
 
3109
+ # CreateExport请求参数结构体
3110
+ class CreateExportRequest < TencentCloud::Common::AbstractModel
3111
+ # @param TopicId: 日志主题ID,可以通过DescribeTopics接口获取,访问日志主题ID和攻击日志主题ID方式不同,注意DescribeTopics接口使用方法
3112
+ # @type TopicId: String
3113
+ # @param Count: 日志导出数量, 最大值5000万
3114
+ # @type Count: Integer
3115
+ # @param Query: 日志导出检索语句,需要进行base64编码,不支持<a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>
3116
+ # @type Query: String
3117
+ # @param From: 日志导出起始时间,毫秒时间戳
3118
+ # @type From: Integer
3119
+ # @param To: 日志导出结束时间,毫秒时间戳
3120
+ # @type To: Integer
3121
+ # @param Order: 日志导出时间排序。desc,asc,默认为desc
3122
+ # @type Order: String
3123
+ # @param Format: 日志导出数据格式。json,csv,默认为json
3124
+ # @type Format: String
3125
+ # @param SyntaxRule: 语法规则, 默认值为0。
3126
+ # 0:Lucene语法,1:CQL语法。
3127
+ # @type SyntaxRule: Integer
3128
+ # @param DerivedFields: 导出字段
3129
+ # @type DerivedFields: Array
3130
+
3131
+ attr_accessor :TopicId, :Count, :Query, :From, :To, :Order, :Format, :SyntaxRule, :DerivedFields
3132
+
3133
+ def initialize(topicid=nil, count=nil, query=nil, from=nil, to=nil, order=nil, format=nil, syntaxrule=nil, derivedfields=nil)
3134
+ @TopicId = topicid
3135
+ @Count = count
3136
+ @Query = query
3137
+ @From = from
3138
+ @To = to
3139
+ @Order = order
3140
+ @Format = format
3141
+ @SyntaxRule = syntaxrule
3142
+ @DerivedFields = derivedfields
3143
+ end
3144
+
3145
+ def deserialize(params)
3146
+ @TopicId = params['TopicId']
3147
+ @Count = params['Count']
3148
+ @Query = params['Query']
3149
+ @From = params['From']
3150
+ @To = params['To']
3151
+ @Order = params['Order']
3152
+ @Format = params['Format']
3153
+ @SyntaxRule = params['SyntaxRule']
3154
+ @DerivedFields = params['DerivedFields']
3155
+ end
3156
+ end
3157
+
3158
+ # CreateExport返回参数结构体
3159
+ class CreateExportResponse < TencentCloud::Common::AbstractModel
3160
+ # @param ExportId: 日志导出ID。
3161
+ # @type ExportId: String
3162
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3163
+ # @type RequestId: String
3164
+
3165
+ attr_accessor :ExportId, :RequestId
3166
+
3167
+ def initialize(exportid=nil, requestid=nil)
3168
+ @ExportId = exportid
3169
+ @RequestId = requestid
3170
+ end
3171
+
3172
+ def deserialize(params)
3173
+ @ExportId = params['ExportId']
3174
+ @RequestId = params['RequestId']
3175
+ end
3176
+ end
3177
+
3038
3178
  # CreateHost请求参数结构体
3039
3179
  class CreateHostRequest < TencentCloud::Common::AbstractModel
3040
3180
  # @param Host: 防护域名配置信息。内网负载均衡器必须携带对应的NumericalVpcId。
@@ -3104,8 +3244,8 @@ module TencentCloud
3104
3244
 
3105
3245
  attr_accessor :Domain, :IpList, :ActionType, :ValidTS, :InstanceId, :Edition, :SourceType, :Note, :JobType, :JobDateTime
3106
3246
  extend Gem::Deprecate
3107
- deprecate :ValidTS, :none, 2025, 8
3108
- deprecate :ValidTS=, :none, 2025, 8
3247
+ deprecate :ValidTS, :none, 2025, 9
3248
+ deprecate :ValidTS=, :none, 2025, 9
3109
3249
 
3110
3250
  def initialize(domain=nil, iplist=nil, actiontype=nil, validts=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil, jobtype=nil, jobdatetime=nil)
3111
3251
  @Domain = domain
@@ -3823,6 +3963,38 @@ module TencentCloud
3823
3963
  end
3824
3964
  end
3825
3965
 
3966
+ # DeleteExport请求参数结构体
3967
+ class DeleteExportRequest < TencentCloud::Common::AbstractModel
3968
+ # @param ExportId: 日志导出ID
3969
+ # @type ExportId: String
3970
+
3971
+ attr_accessor :ExportId
3972
+
3973
+ def initialize(exportid=nil)
3974
+ @ExportId = exportid
3975
+ end
3976
+
3977
+ def deserialize(params)
3978
+ @ExportId = params['ExportId']
3979
+ end
3980
+ end
3981
+
3982
+ # DeleteExport返回参数结构体
3983
+ class DeleteExportResponse < TencentCloud::Common::AbstractModel
3984
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3985
+ # @type RequestId: String
3986
+
3987
+ attr_accessor :RequestId
3988
+
3989
+ def initialize(requestid=nil)
3990
+ @RequestId = requestid
3991
+ end
3992
+
3993
+ def deserialize(params)
3994
+ @RequestId = params['RequestId']
3995
+ end
3996
+ end
3997
+
3826
3998
  # DeleteHost请求参数结构体
3827
3999
  class DeleteHostRequest < TencentCloud::Common::AbstractModel
3828
4000
  # @param HostsDel: 删除的域名列表
@@ -4211,8 +4383,8 @@ module TencentCloud
4211
4383
 
4212
4384
  attr_accessor :From, :To, :Query, :FieldName, :TopicId, :Sort, :Count
4213
4385
  extend Gem::Deprecate
4214
- deprecate :TopicId, :none, 2025, 8
4215
- deprecate :TopicId=, :none, 2025, 8
4386
+ deprecate :TopicId, :none, 2025, 9
4387
+ deprecate :TopicId=, :none, 2025, 9
4216
4388
 
4217
4389
  def initialize(from=nil, to=nil, query=nil, fieldname=nil, topicid=nil, sort=nil, count=nil)
4218
4390
  @From = from
@@ -6462,6 +6634,61 @@ module TencentCloud
6462
6634
  end
6463
6635
  end
6464
6636
 
6637
+ # DescribeExports请求参数结构体
6638
+ class DescribeExportsRequest < TencentCloud::Common::AbstractModel
6639
+ # @param TopicId: 日志主题ID,可以通过DescribeTopics接口获取,访问日志主题ID和攻击日志主题ID方式不同,注意DescribeTopics接口使用方法
6640
+ # @type TopicId: String
6641
+ # @param Offset: 分页的偏移量,默认值为0
6642
+ # @type Offset: Integer
6643
+ # @param Limit: 分页单页限制数目,默认值为20,最大值100
6644
+ # @type Limit: Integer
6645
+
6646
+ attr_accessor :TopicId, :Offset, :Limit
6647
+
6648
+ def initialize(topicid=nil, offset=nil, limit=nil)
6649
+ @TopicId = topicid
6650
+ @Offset = offset
6651
+ @Limit = limit
6652
+ end
6653
+
6654
+ def deserialize(params)
6655
+ @TopicId = params['TopicId']
6656
+ @Offset = params['Offset']
6657
+ @Limit = params['Limit']
6658
+ end
6659
+ end
6660
+
6661
+ # DescribeExports返回参数结构体
6662
+ class DescribeExportsResponse < TencentCloud::Common::AbstractModel
6663
+ # @param Exports: 日志导出列表
6664
+ # @type Exports: Array
6665
+ # @param TotalCount: 总数目
6666
+ # @type TotalCount: Integer
6667
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6668
+ # @type RequestId: String
6669
+
6670
+ attr_accessor :Exports, :TotalCount, :RequestId
6671
+
6672
+ def initialize(exports=nil, totalcount=nil, requestid=nil)
6673
+ @Exports = exports
6674
+ @TotalCount = totalcount
6675
+ @RequestId = requestid
6676
+ end
6677
+
6678
+ def deserialize(params)
6679
+ unless params['Exports'].nil?
6680
+ @Exports = []
6681
+ params['Exports'].each do |i|
6682
+ exportinfo_tmp = ExportInfo.new
6683
+ exportinfo_tmp.deserialize(i)
6684
+ @Exports << exportinfo_tmp
6685
+ end
6686
+ end
6687
+ @TotalCount = params['TotalCount']
6688
+ @RequestId = params['RequestId']
6689
+ end
6690
+ end
6691
+
6465
6692
  # DescribeFindDomainList请求参数结构体
6466
6693
  class DescribeFindDomainListRequest < TencentCloud::Common::AbstractModel
6467
6694
  # @param Offset: 分页
@@ -6909,10 +7136,10 @@ module TencentCloud
6909
7136
 
6910
7137
  attr_accessor :Domain, :Count, :ActionType, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :OffSet, :Limit, :Source, :Sort, :Ip, :ValidStatus, :ValidTimeStampMin, :ValidTimeStampMax, :RuleId, :TimerType
6911
7138
  extend Gem::Deprecate
6912
- deprecate :VtsMin, :none, 2025, 8
6913
- deprecate :VtsMin=, :none, 2025, 8
6914
- deprecate :VtsMax, :none, 2025, 8
6915
- deprecate :VtsMax=, :none, 2025, 8
7139
+ deprecate :VtsMin, :none, 2025, 9
7140
+ deprecate :VtsMin=, :none, 2025, 9
7141
+ deprecate :VtsMax, :none, 2025, 9
7142
+ deprecate :VtsMax=, :none, 2025, 9
6916
7143
 
6917
7144
  def initialize(domain=nil, count=nil, actiontype=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, offset=nil, limit=nil, source=nil, sort=nil, ip=nil, validstatus=nil, validtimestampmin=nil, validtimestampmax=nil, ruleid=nil, timertype=nil)
6918
7145
  @Domain = domain
@@ -7015,10 +7242,10 @@ module TencentCloud
7015
7242
 
7016
7243
  attr_accessor :Domain, :Count, :Category, :VtsMin, :VtsMax, :CtsMin, :CtsMax, :Skip, :Limit, :Name, :Sort, :Ip, :ValidTimeStampMin, :ValidTimeStampMax
7017
7244
  extend Gem::Deprecate
7018
- deprecate :VtsMin, :none, 2025, 8
7019
- deprecate :VtsMin=, :none, 2025, 8
7020
- deprecate :VtsMax, :none, 2025, 8
7021
- deprecate :VtsMax=, :none, 2025, 8
7245
+ deprecate :VtsMin, :none, 2025, 9
7246
+ deprecate :VtsMin=, :none, 2025, 9
7247
+ deprecate :VtsMax, :none, 2025, 9
7248
+ deprecate :VtsMax=, :none, 2025, 9
7022
7249
 
7023
7250
  def initialize(domain=nil, count=nil, category=nil, vtsmin=nil, vtsmax=nil, ctsmin=nil, ctsmax=nil, skip=nil, limit=nil, name=nil, sort=nil, ip=nil, validtimestampmin=nil, validtimestampmax=nil)
7024
7251
  @Domain = domain
@@ -7078,6 +7305,79 @@ module TencentCloud
7078
7305
  end
7079
7306
  end
7080
7307
 
7308
+ # DescribeLogHistogram请求参数结构体
7309
+ class DescribeLogHistogramRequest < TencentCloud::Common::AbstractModel
7310
+ # @param From: 要查询的日志的起始时间,Unix时间戳,单位ms
7311
+ # @type From: Integer
7312
+ # @param To: 要查询的日志的结束时间,Unix时间戳,单位ms
7313
+ # @type To: Integer
7314
+ # @param Query: 查询语句,进行base64编码
7315
+ # @type Query: String
7316
+ # @param TopicId: 日志主题ID,可以通过DescribeTopics接口获取,访问日志主题ID和攻击日志主题ID方式不同,注意DescribeTopics接口使用方法
7317
+ # @type TopicId: String
7318
+ # @param Interval: 时间间隔: 单位ms 限制性条件:(To-From) / interval <= 200
7319
+ # @type Interval: Integer
7320
+ # @param SyntaxRule: 检索语法规则,默认值为0。
7321
+ # 0:Lucene语法,1:CQL语法。
7322
+ # 详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
7323
+ # @type SyntaxRule: Integer
7324
+
7325
+ attr_accessor :From, :To, :Query, :TopicId, :Interval, :SyntaxRule
7326
+
7327
+ def initialize(from=nil, to=nil, query=nil, topicid=nil, interval=nil, syntaxrule=nil)
7328
+ @From = from
7329
+ @To = to
7330
+ @Query = query
7331
+ @TopicId = topicid
7332
+ @Interval = interval
7333
+ @SyntaxRule = syntaxrule
7334
+ end
7335
+
7336
+ def deserialize(params)
7337
+ @From = params['From']
7338
+ @To = params['To']
7339
+ @Query = params['Query']
7340
+ @TopicId = params['TopicId']
7341
+ @Interval = params['Interval']
7342
+ @SyntaxRule = params['SyntaxRule']
7343
+ end
7344
+ end
7345
+
7346
+ # DescribeLogHistogram返回参数结构体
7347
+ class DescribeLogHistogramResponse < TencentCloud::Common::AbstractModel
7348
+ # @param Interval: 统计周期: 单位ms
7349
+ # @type Interval: Integer
7350
+ # @param TotalCount: 命中关键字的日志总条数
7351
+ # @type TotalCount: Integer
7352
+ # @param HistogramInfos: 周期内统计结果详情
7353
+ # @type HistogramInfos: Array
7354
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7355
+ # @type RequestId: String
7356
+
7357
+ attr_accessor :Interval, :TotalCount, :HistogramInfos, :RequestId
7358
+
7359
+ def initialize(interval=nil, totalcount=nil, histograminfos=nil, requestid=nil)
7360
+ @Interval = interval
7361
+ @TotalCount = totalcount
7362
+ @HistogramInfos = histograminfos
7363
+ @RequestId = requestid
7364
+ end
7365
+
7366
+ def deserialize(params)
7367
+ @Interval = params['Interval']
7368
+ @TotalCount = params['TotalCount']
7369
+ unless params['HistogramInfos'].nil?
7370
+ @HistogramInfos = []
7371
+ params['HistogramInfos'].each do |i|
7372
+ histograminfo_tmp = HistogramInfo.new
7373
+ histograminfo_tmp.deserialize(i)
7374
+ @HistogramInfos << histograminfo_tmp
7375
+ end
7376
+ end
7377
+ @RequestId = params['RequestId']
7378
+ end
7379
+ end
7380
+
7081
7381
  # DescribeModuleStatus请求参数结构体
7082
7382
  class DescribeModuleStatusRequest < TencentCloud::Common::AbstractModel
7083
7383
  # @param Domain: 要查询状态的域名
@@ -8211,6 +8511,82 @@ module TencentCloud
8211
8511
  end
8212
8512
  end
8213
8513
 
8514
+ # DescribeTopics请求参数结构体
8515
+ class DescribeTopicsRequest < TencentCloud::Common::AbstractModel
8516
+ # @param Filters: <ul><li>topicName 按照【日志主题名称】进行过滤,默认为模糊匹配,Filter.Values 当要查询访问日志时为access,查询攻击日志时为attack</li></ul>注意:每次请求的 Filters 的上限为10,Filter.Values 的上限为100。
8517
+ # @type Filters: Array
8518
+ # @param Offset: 分页的偏移量,默认值为0。
8519
+ # @type Offset: Integer
8520
+ # @param Limit: 分页单页限制数目,默认值为20,最大值100。
8521
+ # @type Limit: Integer
8522
+ # @param PreciseSearch: 控制Filters相关字段是否为精确匹配。
8523
+ # <ul><li>0: 默认值,topicName 和 logsetName 模糊匹配</li>
8524
+ # <li>1: topicName 精确匹配</li>
8525
+ # <li>2: logsetName精确匹配</li>
8526
+ # <li>3: topicName 和logsetName 都精确匹配</li></ul>
8527
+ # @type PreciseSearch: Integer
8528
+ # @param BizType: 主题类型
8529
+ # <ul><li>0:日志主题,默认值</li>
8530
+ # <li>1:指标主题</li></ul>
8531
+ # @type BizType: Integer
8532
+
8533
+ attr_accessor :Filters, :Offset, :Limit, :PreciseSearch, :BizType
8534
+
8535
+ def initialize(filters=nil, offset=nil, limit=nil, precisesearch=nil, biztype=nil)
8536
+ @Filters = filters
8537
+ @Offset = offset
8538
+ @Limit = limit
8539
+ @PreciseSearch = precisesearch
8540
+ @BizType = biztype
8541
+ end
8542
+
8543
+ def deserialize(params)
8544
+ unless params['Filters'].nil?
8545
+ @Filters = []
8546
+ params['Filters'].each do |i|
8547
+ filtercls_tmp = FilterCls.new
8548
+ filtercls_tmp.deserialize(i)
8549
+ @Filters << filtercls_tmp
8550
+ end
8551
+ end
8552
+ @Offset = params['Offset']
8553
+ @Limit = params['Limit']
8554
+ @PreciseSearch = params['PreciseSearch']
8555
+ @BizType = params['BizType']
8556
+ end
8557
+ end
8558
+
8559
+ # DescribeTopics返回参数结构体
8560
+ class DescribeTopicsResponse < TencentCloud::Common::AbstractModel
8561
+ # @param Topics: 日志主题列表
8562
+ # @type Topics: Array
8563
+ # @param TotalCount: 总数目
8564
+ # @type TotalCount: Integer
8565
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8566
+ # @type RequestId: String
8567
+
8568
+ attr_accessor :Topics, :TotalCount, :RequestId
8569
+
8570
+ def initialize(topics=nil, totalcount=nil, requestid=nil)
8571
+ @Topics = topics
8572
+ @TotalCount = totalcount
8573
+ @RequestId = requestid
8574
+ end
8575
+
8576
+ def deserialize(params)
8577
+ unless params['Topics'].nil?
8578
+ @Topics = []
8579
+ params['Topics'].each do |i|
8580
+ topicinfo_tmp = TopicInfo.new
8581
+ topicinfo_tmp.deserialize(i)
8582
+ @Topics << topicinfo_tmp
8583
+ end
8584
+ end
8585
+ @TotalCount = params['TotalCount']
8586
+ @RequestId = params['RequestId']
8587
+ end
8588
+ end
8589
+
8214
8590
  # DescribeUserCdcClbWafRegions请求参数结构体
8215
8591
  class DescribeUserCdcClbWafRegionsRequest < TencentCloud::Common::AbstractModel
8216
8592
 
@@ -9331,8 +9707,8 @@ module TencentCloud
9331
9707
 
9332
9708
  attr_accessor :Domain, :DomainId, :InstanceId, :Edition, :InstanceName, :Cert, :CreateTime, :Engine, :HttpsRewrite, :HttpsUpstreamPort, :IsCdn, :IsGray, :IsHttp2, :IsWebsocket, :LoadBalance, :Mode, :PrivateKey, :SSLId, :UpstreamDomain, :UpstreamType, :SrcList, :Ports, :CertType, :UpstreamScheme, :Cls, :Cname, :IsKeepAlive, :ActiveCheck, :TLSVersion, :Ciphers, :CipherTemplate, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :Weights, :IpHeaders, :XFFReset, :Note, :UpstreamHost, :Level, :ProxyBuffer, :GmType, :GmCertType, :GmCert, :GmPrivateKey, :GmEncCert, :GmEncPrivateKey, :GmSSLId, :Labels, :ProbeStatus, :UpstreamPolicy, :UpstreamRules, :UseCase
9333
9709
  extend Gem::Deprecate
9334
- deprecate :IsGray, :none, 2025, 8
9335
- deprecate :IsGray=, :none, 2025, 8
9710
+ deprecate :IsGray, :none, 2025, 9
9711
+ deprecate :IsGray=, :none, 2025, 9
9336
9712
 
9337
9713
  def initialize(domain=nil, domainid=nil, instanceid=nil, edition=nil, instancename=nil, cert=nil, createtime=nil, engine=nil, httpsrewrite=nil, httpsupstreamport=nil, iscdn=nil, isgray=nil, ishttp2=nil, iswebsocket=nil, loadbalance=nil, mode=nil, privatekey=nil, sslid=nil, upstreamdomain=nil, upstreamtype=nil, srclist=nil, ports=nil, certtype=nil, upstreamscheme=nil, cls=nil, cname=nil, iskeepalive=nil, activecheck=nil, tlsversion=nil, ciphers=nil, ciphertemplate=nil, proxyreadtimeout=nil, proxysendtimeout=nil, snitype=nil, snihost=nil, weights=nil, ipheaders=nil, xffreset=nil, note=nil, upstreamhost=nil, level=nil, proxybuffer=nil, gmtype=nil, gmcerttype=nil, gmcert=nil, gmprivatekey=nil, gmenccert=nil, gmencprivatekey=nil, gmsslid=nil, labels=nil, probestatus=nil, upstreampolicy=nil, upstreamrules=nil, usecase=nil)
9338
9714
  @Domain = domain
@@ -9579,20 +9955,94 @@ module TencentCloud
9579
9955
  end
9580
9956
  end
9581
9957
 
9582
- # 设置哪些字段是否存储或转发
9583
- class FieldWriteConfig < TencentCloud::Common::AbstractModel
9584
- # @param EnableHeaders: 1:开启 0:不开启
9585
- # @type EnableHeaders: Integer
9586
- # @param EnableBody: 1:开启 0:不开启
9587
- # @type EnableBody: Integer
9588
- # @param EnableBot: 1:开启 0:不开启
9589
- # @type EnableBot: Integer
9590
-
9591
- attr_accessor :EnableHeaders, :EnableBody, :EnableBot
9592
-
9593
- def initialize(enableheaders=nil, enablebody=nil, enablebot=nil)
9594
- @EnableHeaders = enableheaders
9595
- @EnableBody = enablebody
9958
+ # 日志导出信息
9959
+ class ExportInfo < TencentCloud::Common::AbstractModel
9960
+ # @param TopicId: 日志主题ID
9961
+ # @type TopicId: String
9962
+ # @param ExportId: 日志导出任务ID
9963
+ # @type ExportId: String
9964
+ # @param Query: 日志导出查询语句
9965
+ # @type Query: String
9966
+ # @param FileName: 日志导出文件名
9967
+ # @type FileName: String
9968
+ # @param FileSize: 日志文件大小
9969
+ # @type FileSize: Integer
9970
+ # @param Order: 日志导出时间排序
9971
+ # @type Order: String
9972
+ # @param Format: 日志导出格式
9973
+ # @type Format: String
9974
+ # @param Count: 日志导出数量
9975
+ # @type Count: Integer
9976
+ # @param Status: 日志下载状态。Processing:导出正在进行中,Completed:导出完成,Failed:导出失败,Expired:日志导出已过期(三天有效期), Queuing 排队中
9977
+ # @type Status: String
9978
+ # @param From: 日志导出起始时间
9979
+ # @type From: Integer
9980
+ # @param To: 日志导出结束时间
9981
+ # @type To: Integer
9982
+ # @param CosPath: 日志导出路径,有效期一个小时,请尽快使用该路径下载。
9983
+ # @type CosPath: String
9984
+ # @param CreateTime: 日志导出创建时间
9985
+ # @type CreateTime: String
9986
+ # @param SyntaxRule: 语法规则。 默认值为0。
9987
+ # 0:Lucene语法,1:CQL语法。
9988
+ # @type SyntaxRule: Integer
9989
+ # @param DerivedFields: 导出字段
9990
+ # 注意:此字段可能返回 null,表示取不到有效值。
9991
+ # @type DerivedFields: Array
9992
+
9993
+ attr_accessor :TopicId, :ExportId, :Query, :FileName, :FileSize, :Order, :Format, :Count, :Status, :From, :To, :CosPath, :CreateTime, :SyntaxRule, :DerivedFields
9994
+
9995
+ def initialize(topicid=nil, exportid=nil, query=nil, filename=nil, filesize=nil, order=nil, format=nil, count=nil, status=nil, from=nil, to=nil, cospath=nil, createtime=nil, syntaxrule=nil, derivedfields=nil)
9996
+ @TopicId = topicid
9997
+ @ExportId = exportid
9998
+ @Query = query
9999
+ @FileName = filename
10000
+ @FileSize = filesize
10001
+ @Order = order
10002
+ @Format = format
10003
+ @Count = count
10004
+ @Status = status
10005
+ @From = from
10006
+ @To = to
10007
+ @CosPath = cospath
10008
+ @CreateTime = createtime
10009
+ @SyntaxRule = syntaxrule
10010
+ @DerivedFields = derivedfields
10011
+ end
10012
+
10013
+ def deserialize(params)
10014
+ @TopicId = params['TopicId']
10015
+ @ExportId = params['ExportId']
10016
+ @Query = params['Query']
10017
+ @FileName = params['FileName']
10018
+ @FileSize = params['FileSize']
10019
+ @Order = params['Order']
10020
+ @Format = params['Format']
10021
+ @Count = params['Count']
10022
+ @Status = params['Status']
10023
+ @From = params['From']
10024
+ @To = params['To']
10025
+ @CosPath = params['CosPath']
10026
+ @CreateTime = params['CreateTime']
10027
+ @SyntaxRule = params['SyntaxRule']
10028
+ @DerivedFields = params['DerivedFields']
10029
+ end
10030
+ end
10031
+
10032
+ # 设置哪些字段是否存储或转发
10033
+ class FieldWriteConfig < TencentCloud::Common::AbstractModel
10034
+ # @param EnableHeaders: 1:开启 0:不开启
10035
+ # @type EnableHeaders: Integer
10036
+ # @param EnableBody: 1:开启 0:不开启
10037
+ # @type EnableBody: Integer
10038
+ # @param EnableBot: 1:开启 0:不开启
10039
+ # @type EnableBot: Integer
10040
+
10041
+ attr_accessor :EnableHeaders, :EnableBody, :EnableBot
10042
+
10043
+ def initialize(enableheaders=nil, enablebody=nil, enablebot=nil)
10044
+ @EnableHeaders = enableheaders
10045
+ @EnableBody = enablebody
9596
10046
  @EnableBot = enablebot
9597
10047
  end
9598
10048
 
@@ -9603,6 +10053,26 @@ module TencentCloud
9603
10053
  end
9604
10054
  end
9605
10055
 
10056
+ # 过滤器
10057
+ class FilterCls < TencentCloud::Common::AbstractModel
10058
+ # @param Key: 需要过滤的字段。
10059
+ # @type Key: String
10060
+ # @param Values: 需要过滤的值。
10061
+ # @type Values: Array
10062
+
10063
+ attr_accessor :Key, :Values
10064
+
10065
+ def initialize(key=nil, values=nil)
10066
+ @Key = key
10067
+ @Values = values
10068
+ end
10069
+
10070
+ def deserialize(params)
10071
+ @Key = params['Key']
10072
+ @Values = params['Values']
10073
+ end
10074
+ end
10075
+
9606
10076
  # 过滤数组
9607
10077
  class FiltersItemNew < TencentCloud::Common::AbstractModel
9608
10078
  # @param Name: 字段名; 过滤
@@ -10307,6 +10777,26 @@ module TencentCloud
10307
10777
  end
10308
10778
  end
10309
10779
 
10780
+ # 直方图详细信息
10781
+ class HistogramInfo < TencentCloud::Common::AbstractModel
10782
+ # @param Count: 统计周期内的日志条数
10783
+ # @type Count: Integer
10784
+ # @param BTime: 按 period 取整后的 unix timestamp: 单位毫秒
10785
+ # @type BTime: Integer
10786
+
10787
+ attr_accessor :Count, :BTime
10788
+
10789
+ def initialize(count=nil, btime=nil)
10790
+ @Count = count
10791
+ @BTime = btime
10792
+ end
10793
+
10794
+ def deserialize(params)
10795
+ @Count = params['Count']
10796
+ @BTime = params['BTime']
10797
+ end
10798
+ end
10799
+
10310
10800
  # CLB-WAF删除域名参数
10311
10801
  class HostDel < TencentCloud::Common::AbstractModel
10312
10802
  # @param Domain: 域名
@@ -11435,6 +11925,109 @@ module TencentCloud
11435
11925
  end
11436
11926
  end
11437
11927
 
11928
+ # 日志结果信息
11929
+ class LogInfo < TencentCloud::Common::AbstractModel
11930
+ # @param Time: 日志时间,单位ms
11931
+ # @type Time: Integer
11932
+ # @param TopicId: 日志主题ID
11933
+ # @type TopicId: String
11934
+ # @param TopicName: 日志主题名称
11935
+ # @type TopicName: String
11936
+ # @param Source: 日志来源IP
11937
+ # @type Source: String
11938
+ # @param FileName: 日志文件名称
11939
+ # @type FileName: String
11940
+ # @param PkgId: 日志上报请求包的ID
11941
+ # @type PkgId: String
11942
+ # @param PkgLogId: 请求包内日志的ID
11943
+ # @type PkgLogId: String
11944
+ # @param LogJson: 日志内容的Json序列化字符串
11945
+ # 注意:此字段可能返回 null,表示取不到有效值。
11946
+ # @type LogJson: String
11947
+ # @param HostName: 日志来源主机名称
11948
+ # 注意:此字段可能返回 null,表示取不到有效值。
11949
+ # @type HostName: String
11950
+ # @param RawLog: 原始日志(仅在日志创建索引异常时有值)
11951
+ # 注意:此字段可能返回 null,表示取不到有效值。
11952
+ # @type RawLog: String
11953
+ # @param IndexStatus: 日志创建索引异常原因(仅在日志创建索引异常时有值)
11954
+ # 注意:此字段可能返回 null,表示取不到有效值。
11955
+ # @type IndexStatus: String
11956
+
11957
+ attr_accessor :Time, :TopicId, :TopicName, :Source, :FileName, :PkgId, :PkgLogId, :LogJson, :HostName, :RawLog, :IndexStatus
11958
+
11959
+ def initialize(time=nil, topicid=nil, topicname=nil, source=nil, filename=nil, pkgid=nil, pkglogid=nil, logjson=nil, hostname=nil, rawlog=nil, indexstatus=nil)
11960
+ @Time = time
11961
+ @TopicId = topicid
11962
+ @TopicName = topicname
11963
+ @Source = source
11964
+ @FileName = filename
11965
+ @PkgId = pkgid
11966
+ @PkgLogId = pkglogid
11967
+ @LogJson = logjson
11968
+ @HostName = hostname
11969
+ @RawLog = rawlog
11970
+ @IndexStatus = indexstatus
11971
+ end
11972
+
11973
+ def deserialize(params)
11974
+ @Time = params['Time']
11975
+ @TopicId = params['TopicId']
11976
+ @TopicName = params['TopicName']
11977
+ @Source = params['Source']
11978
+ @FileName = params['FileName']
11979
+ @PkgId = params['PkgId']
11980
+ @PkgLogId = params['PkgLogId']
11981
+ @LogJson = params['LogJson']
11982
+ @HostName = params['HostName']
11983
+ @RawLog = params['RawLog']
11984
+ @IndexStatus = params['IndexStatus']
11985
+ end
11986
+ end
11987
+
11988
+ # 日志中的KV对
11989
+ class LogItem < TencentCloud::Common::AbstractModel
11990
+ # @param Key: 日志Key
11991
+ # @type Key: String
11992
+ # @param Value: 日志Value
11993
+ # @type Value: String
11994
+
11995
+ attr_accessor :Key, :Value
11996
+
11997
+ def initialize(key=nil, value=nil)
11998
+ @Key = key
11999
+ @Value = value
12000
+ end
12001
+
12002
+ def deserialize(params)
12003
+ @Key = params['Key']
12004
+ @Value = params['Value']
12005
+ end
12006
+ end
12007
+
12008
+ # LogItem的数组
12009
+ class LogItems < TencentCloud::Common::AbstractModel
12010
+ # @param Data: 分析结果返回的KV数据对
12011
+ # @type Data: Array
12012
+
12013
+ attr_accessor :Data
12014
+
12015
+ def initialize(data=nil)
12016
+ @Data = data
12017
+ end
12018
+
12019
+ def deserialize(params)
12020
+ unless params['Data'].nil?
12021
+ @Data = []
12022
+ params['Data'].each do |i|
12023
+ logitem_tmp = LogItem.new
12024
+ logitem_tmp.deserialize(i)
12025
+ @Data << logitem_tmp
12026
+ end
12027
+ end
12028
+ end
12029
+ end
12030
+
11438
12031
  # 重保防护资源信息
11439
12032
  class MajorEventsPkg < TencentCloud::Common::AbstractModel
11440
12033
  # @param ResourceIds: 资源id
@@ -12362,8 +12955,8 @@ module TencentCloud
12362
12955
 
12363
12956
  attr_accessor :Domain, :RuleId, :RuleName, :RuleAction, :Strategies, :Edition, :Redirect, :Bypass, :SortId, :ExpireTime, :JobType, :JobDateTime, :Source, :Status, :PageId, :LogicalOp
12364
12957
  extend Gem::Deprecate
12365
- deprecate :Bypass, :none, 2025, 8
12366
- deprecate :Bypass=, :none, 2025, 8
12958
+ deprecate :Bypass, :none, 2025, 9
12959
+ deprecate :Bypass=, :none, 2025, 9
12367
12960
 
12368
12961
  def initialize(domain=nil, ruleid=nil, rulename=nil, ruleaction=nil, strategies=nil, edition=nil, redirect=nil, bypass=nil, sortid=nil, expiretime=nil, jobtype=nil, jobdatetime=nil, source=nil, status=nil, pageid=nil, logicalop=nil)
12369
12962
  @Domain = domain
@@ -13287,8 +13880,8 @@ module TencentCloud
13287
13880
 
13288
13881
  attr_accessor :Domain, :IpList, :ActionType, :RuleId, :ValidTS, :InstanceId, :Edition, :SourceType, :Note, :JobType, :JobDateTime
13289
13882
  extend Gem::Deprecate
13290
- deprecate :ValidTS, :none, 2025, 8
13291
- deprecate :ValidTS=, :none, 2025, 8
13883
+ deprecate :ValidTS, :none, 2025, 9
13884
+ deprecate :ValidTS=, :none, 2025, 9
13292
13885
 
13293
13886
  def initialize(domain=nil, iplist=nil, actiontype=nil, ruleid=nil, validts=nil, instanceid=nil, edition=nil, sourcetype=nil, note=nil, jobtype=nil, jobdatetime=nil)
13294
13887
  @Domain = domain
@@ -13931,10 +14524,10 @@ module TencentCloud
13931
14524
 
13932
14525
  attr_accessor :Domain, :DomainId, :InstanceID, :CertType, :Cert, :PrivateKey, :SSLId, :IsCdn, :UpstreamScheme, :HttpsUpstreamPort, :HttpsRewrite, :UpstreamType, :UpstreamDomain, :SrcList, :IsHttp2, :IsWebsocket, :LoadBalance, :IsGray, :Edition, :Ports, :IsKeepAlive, :Anycast, :Weights, :ActiveCheck, :TLSVersion, :Ciphers, :CipherTemplate, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :IpHeaders, :XFFReset, :Note, :UpstreamHost, :ProxyBuffer, :ProbeStatus, :GmType, :GmCertType, :GmCert, :GmPrivateKey, :GmEncCert, :GmEncPrivateKey, :GmSSLId, :UpstreamPolicy, :UpstreamRules, :UseCase
13933
14526
  extend Gem::Deprecate
13934
- deprecate :IsGray, :none, 2025, 8
13935
- deprecate :IsGray=, :none, 2025, 8
13936
- deprecate :Anycast, :none, 2025, 8
13937
- deprecate :Anycast=, :none, 2025, 8
14527
+ deprecate :IsGray, :none, 2025, 9
14528
+ deprecate :IsGray=, :none, 2025, 9
14529
+ deprecate :Anycast, :none, 2025, 9
14530
+ deprecate :Anycast=, :none, 2025, 9
13938
14531
 
13939
14532
  def initialize(domain=nil, domainid=nil, instanceid=nil, certtype=nil, cert=nil, privatekey=nil, sslid=nil, iscdn=nil, upstreamscheme=nil, httpsupstreamport=nil, httpsrewrite=nil, upstreamtype=nil, upstreamdomain=nil, srclist=nil, ishttp2=nil, iswebsocket=nil, loadbalance=nil, isgray=nil, edition=nil, ports=nil, iskeepalive=nil, anycast=nil, weights=nil, activecheck=nil, tlsversion=nil, ciphers=nil, ciphertemplate=nil, proxyreadtimeout=nil, proxysendtimeout=nil, snitype=nil, snihost=nil, ipheaders=nil, xffreset=nil, note=nil, upstreamhost=nil, proxybuffer=nil, probestatus=nil, gmtype=nil, gmcerttype=nil, gmcert=nil, gmprivatekey=nil, gmenccert=nil, gmencprivatekey=nil, gmsslid=nil, upstreampolicy=nil, upstreamrules=nil, usecase=nil)
13940
14533
  @Domain = domain
@@ -15376,10 +15969,10 @@ module TencentCloud
15376
15969
 
15377
15970
  attr_accessor :Context, :ListOver, :Analysis, :ColNames, :Results, :AnalysisResults, :RequestId
15378
15971
  extend Gem::Deprecate
15379
- deprecate :ColNames, :none, 2025, 8
15380
- deprecate :ColNames=, :none, 2025, 8
15381
- deprecate :AnalysisResults, :none, 2025, 8
15382
- deprecate :AnalysisResults=, :none, 2025, 8
15972
+ deprecate :ColNames, :none, 2025, 9
15973
+ deprecate :ColNames=, :none, 2025, 9
15974
+ deprecate :AnalysisResults, :none, 2025, 9
15975
+ deprecate :AnalysisResults=, :none, 2025, 9
15383
15976
 
15384
15977
  def initialize(context=nil, listover=nil, analysis=nil, colnames=nil, results=nil, analysisresults=nil, requestid=nil)
15385
15978
  @Context = context
@@ -15527,6 +16120,174 @@ module TencentCloud
15527
16120
  end
15528
16121
  end
15529
16122
 
16123
+ # SearchLog请求参数结构体
16124
+ class SearchLogRequest < TencentCloud::Common::AbstractModel
16125
+ # @param From: 要检索分析的日志的起始时间,Unix时间戳(毫秒)
16126
+ # @type From: Integer
16127
+ # @param To: 要检索分析的日志的结束时间,Unix时间戳(毫秒)
16128
+ # @type To: Integer
16129
+ # @param Query: 检索分析语句,需要进行base64编码,最大长度为12KB语句由 <a href="https://cloud.tencent.com/document/product/614/47044" target="_blank">[检索条件]</a> | <a href="https://cloud.tencent.com/document/product/614/44061" target="_blank">[SQL语句]</a>构成,无需对日志进行统计分析时,可省略其中的管道符<code> | </code>及SQL语句使用*或空字符串可查询所有日志
16130
+ # @type Query: String
16131
+ # @param SyntaxRule: 检索语法规则,默认值为0,推荐使用1 (CQL语法)。
16132
+ # 0:Lucene语法,1:CQL语法。
16133
+ # 详细说明参见<a href="https://cloud.tencent.com/document/product/614/47044#RetrievesConditionalRules" target="_blank">检索条件语法规则</a>
16134
+ # @type SyntaxRule: Integer
16135
+ # @param TopicId: 日志主题ID,可以通过DescribeTopics接口获取,访问日志主题ID和攻击日志主题ID方式不同,注意DescribeTopics接口使用方法
16136
+ # @type TopicId: String
16137
+ # @param Sort: 原始日志是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
16138
+ # 注意:
16139
+ # * 仅当检索分析语句(Query)不包含SQL时有效
16140
+ # * SQL结果排序方式参考<a href="https://cloud.tencent.com/document/product/614/58978" target="_blank">SQL ORDER BY语法</a>
16141
+ # @type Sort: String
16142
+ # @param Limit: 表示单次查询返回的原始日志条数,默认为100,最大值为1000。
16143
+ # 注意:
16144
+ # * 仅当检索分析语句(Query)不包含SQL时有效
16145
+ # * SQL结果条数指定方式参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
16146
+
16147
+ # 可通过两种方式获取后续更多日志:
16148
+ # * Context:透传上次接口返回的Context值,获取后续更多日志,总计最多可获取1万条原始日志
16149
+ # * Offset:偏移量,表示从第几行开始返回原始日志,无日志条数限制
16150
+ # @type Limit: Integer
16151
+ # @param Offset: 查询原始日志的偏移量,表示从第几行开始返回原始日志,默认为0。
16152
+ # 注意:
16153
+ # * 仅当检索分析语句(Query)不包含SQL时有效
16154
+ # * 不能与Context参数同时使用
16155
+ # * 仅适用于单日志主题检索
16156
+ # @type Offset: Integer
16157
+ # @param Context: 透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。
16158
+ # 注意:
16159
+ # * 透传该参数时,请勿修改除该参数外的其它参数
16160
+ # * 仅适用于单日志主题检索,检索多个日志主题时,请使用Topics中的Context
16161
+ # * 仅当检索分析语句(Query)不包含SQL时有效,SQL获取后续结果参考<a href="https://cloud.tencent.com/document/product/614/58977" target="_blank">SQL LIMIT语法</a>
16162
+ # @type Context: String
16163
+ # @param SamplingRate: 执行统计分析(Query中包含SQL)时,是否对原始日志先进行采样,再进行统计分析。
16164
+ # 0:自动采样;
16165
+ # 0~1:按指定采样率采样,例如0.02;
16166
+ # 1:不采样,即精确分析
16167
+ # 默认值为1
16168
+ # @type SamplingRate: Float
16169
+ # @param UseNewAnalysis: 为true代表使用新的检索结果返回方式,输出参数AnalysisRecords和Columns有效
16170
+ # 为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效
16171
+ # 两种返回方式在编码格式上有少量区别,建议使用true
16172
+ # @type UseNewAnalysis: Boolean
16173
+
16174
+ attr_accessor :From, :To, :Query, :SyntaxRule, :TopicId, :Sort, :Limit, :Offset, :Context, :SamplingRate, :UseNewAnalysis
16175
+
16176
+ def initialize(from=nil, to=nil, query=nil, syntaxrule=nil, topicid=nil, sort=nil, limit=nil, offset=nil, context=nil, samplingrate=nil, usenewanalysis=nil)
16177
+ @From = from
16178
+ @To = to
16179
+ @Query = query
16180
+ @SyntaxRule = syntaxrule
16181
+ @TopicId = topicid
16182
+ @Sort = sort
16183
+ @Limit = limit
16184
+ @Offset = offset
16185
+ @Context = context
16186
+ @SamplingRate = samplingrate
16187
+ @UseNewAnalysis = usenewanalysis
16188
+ end
16189
+
16190
+ def deserialize(params)
16191
+ @From = params['From']
16192
+ @To = params['To']
16193
+ @Query = params['Query']
16194
+ @SyntaxRule = params['SyntaxRule']
16195
+ @TopicId = params['TopicId']
16196
+ @Sort = params['Sort']
16197
+ @Limit = params['Limit']
16198
+ @Offset = params['Offset']
16199
+ @Context = params['Context']
16200
+ @SamplingRate = params['SamplingRate']
16201
+ @UseNewAnalysis = params['UseNewAnalysis']
16202
+ end
16203
+ end
16204
+
16205
+ # SearchLog返回参数结构体
16206
+ class SearchLogResponse < TencentCloud::Common::AbstractModel
16207
+ # @param Context: 透传本次接口返回的Context值,可获取后续更多日志,过期时间1小时。
16208
+ # 注意:
16209
+ # * 仅适用于单日志主题检索,检索多个日志主题时,请使用Topics中的Context
16210
+ # @type Context: String
16211
+ # @param ListOver: 符合检索条件的日志是否已全部返回,如未全部返回可使用Context参数获取后续更多日志
16212
+ # 注意:仅当检索分析语句(Query)不包含SQL时有效
16213
+ # @type ListOver: Boolean
16214
+ # @param Analysis: 返回的是否为统计分析(即SQL)结果
16215
+ # @type Analysis: Boolean
16216
+ # @param Results: 匹配检索条件的原始日志
16217
+ # 注意:此字段可能返回 null,表示取不到有效值。
16218
+ # @type Results: Array
16219
+ # @param ColNames: 日志统计分析结果的列名
16220
+ # 当UseNewAnalysis为false时生效
16221
+ # 注意:此字段可能返回 null,表示取不到有效值。
16222
+ # @type ColNames: Array
16223
+ # @param AnalysisResults: 日志统计分析结果
16224
+ # 当UseNewAnalysis为false时生效
16225
+ # 注意:此字段可能返回 null,表示取不到有效值。
16226
+ # @type AnalysisResults: Array
16227
+ # @param AnalysisRecords: 日志统计分析结果
16228
+ # 当UseNewAnalysis为true时生效
16229
+ # 注意:此字段可能返回 null,表示取不到有效值。
16230
+ # @type AnalysisRecords: Array
16231
+ # @param Columns: 日志统计分析结果的列属性
16232
+ # 当UseNewAnalysis为true时生效
16233
+ # 注意:此字段可能返回 null,表示取不到有效值。
16234
+ # @type Columns: Array
16235
+ # @param SamplingRate: 本次统计分析使用的采样率
16236
+ # 注意:此字段可能返回 null,表示取不到有效值。
16237
+ # @type SamplingRate: Float
16238
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
16239
+ # @type RequestId: String
16240
+
16241
+ attr_accessor :Context, :ListOver, :Analysis, :Results, :ColNames, :AnalysisResults, :AnalysisRecords, :Columns, :SamplingRate, :RequestId
16242
+
16243
+ def initialize(context=nil, listover=nil, analysis=nil, results=nil, colnames=nil, analysisresults=nil, analysisrecords=nil, columns=nil, samplingrate=nil, requestid=nil)
16244
+ @Context = context
16245
+ @ListOver = listover
16246
+ @Analysis = analysis
16247
+ @Results = results
16248
+ @ColNames = colnames
16249
+ @AnalysisResults = analysisresults
16250
+ @AnalysisRecords = analysisrecords
16251
+ @Columns = columns
16252
+ @SamplingRate = samplingrate
16253
+ @RequestId = requestid
16254
+ end
16255
+
16256
+ def deserialize(params)
16257
+ @Context = params['Context']
16258
+ @ListOver = params['ListOver']
16259
+ @Analysis = params['Analysis']
16260
+ unless params['Results'].nil?
16261
+ @Results = []
16262
+ params['Results'].each do |i|
16263
+ loginfo_tmp = LogInfo.new
16264
+ loginfo_tmp.deserialize(i)
16265
+ @Results << loginfo_tmp
16266
+ end
16267
+ end
16268
+ @ColNames = params['ColNames']
16269
+ unless params['AnalysisResults'].nil?
16270
+ @AnalysisResults = []
16271
+ params['AnalysisResults'].each do |i|
16272
+ logitems_tmp = LogItems.new
16273
+ logitems_tmp.deserialize(i)
16274
+ @AnalysisResults << logitems_tmp
16275
+ end
16276
+ end
16277
+ @AnalysisRecords = params['AnalysisRecords']
16278
+ unless params['Columns'].nil?
16279
+ @Columns = []
16280
+ params['Columns'].each do |i|
16281
+ column_tmp = Column.new
16282
+ column_tmp.deserialize(i)
16283
+ @Columns << column_tmp
16284
+ end
16285
+ end
16286
+ @SamplingRate = params['SamplingRate']
16287
+ @RequestId = params['RequestId']
16288
+ end
16289
+ end
16290
+
15530
16291
  # 参数包装
15531
16292
  class SessionData < TencentCloud::Common::AbstractModel
15532
16293
  # @param Res: session定义
@@ -15644,7 +16405,7 @@ module TencentCloud
15644
16405
 
15645
16406
  # 匹配字段不同,相应的匹配参数、逻辑符号、匹配内容有所不同
15646
16407
  # 具体如下所示:
15647
- # <table><thead><tr><th>匹配字段</th><th>匹配参数</th><th>逻辑符号</th><th>匹配内容</th></tr></thead><tbody><tr><td>IP(来源IP)</td><td>不支持参数</td><td>ipmatch(匹配)<br/>ipnmatch(不匹配)</td><td>多个IP以英文逗号隔开,最多20个</td></tr><tr><td>IPV6(来源IPv6)</td><td>不支持参数</td><td>ipmatch(匹配)<br/>ipnmatch(不匹配)</td><td>支持单个IPV6地址</td></tr><tr><td>Referer(Referer)</td><td>不支持参数</td><td>empty(内容为空)<br/>null(不存在)<br/>eq(等于)<br/>neq(不等于)<br/>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>URL(请求路径)</td><td>不支持参数</td><td>eq(等于)<br/>neq(不等于)<br/>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)<br/></td><td>请以/开头,512个字符以内</td></tr><tr><td>UserAgent(UserAgent)</td><td>不支持参数</td><td>同匹配字段<font color="Red">Referer</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>HTTP_METHOD(HTTP请求方法)</td><td>不支持参数</td><td>eq(等于)<br/>neq(不等于)</td><td>请输入方法名称,建议大写</td></tr><tr><td>QUERY_STRING(请求字符串)</td><td>不支持参数</td><td>同匹配字段<font color="Red">请求路径</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET(GET参数值)</td><td>支持参数录入</td><td>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_PARAMS_NAMES(GET参数名)</td><td>不支持参数</td><td>exsit(存在参数)<br/>nexsit(不存在参数)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>POST(POST参数值)</td><td>支持参数录入</td><td>同匹配字段<font color="Red">GET参数值</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_POST_NAMES(POST参数名)</td><td>不支持参数</td><td>同匹配字段<font color="Red">GET参数名</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>POST_BODY(完整BODY)</td><td>不支持参数</td><td>同匹配字段<font color="Red">请求路径</font>逻辑符号</td><td>请输入BODY内容,512个字符以内</td></tr><tr><td>COOKIE(Cookie)</td><td>不支持参数</td><td>empty(内容为空)<br/>null(不存在)<br/>rematch(正则匹配)</td><td><font color="Red">暂不支持</font></td></tr><tr><td>GET_COOKIES_NAMES(Cookie参数名)</td><td>不支持参数</td><td>同匹配字段<font color="Red">GET参数名</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>ARGS_COOKIE(Cookie参数值)</td><td>支持参数录入</td><td>同匹配字段<font color="Red">GET参数值</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_HEADERS_NAMES(Header参数名)</td><td>不支持参数</td><td>exsit(存在参数)<br/>nexsit(不存在参数)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,建议小写,512个字符以内</td></tr><tr><td>ARGS_HEADER(Header参数值)</td><td>支持参数录入</td><td>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>CONTENT_LENGTH(Content-length)</td><td>支持参数录入</td><td>numgt(数值大于)<br/>numlt(数值小于)<br/>numeq(数值等于)<br/></td><td>请输入0-9999999999999之间的整数</td></tr><tr><td>IP_GEO(来源IP归属地)</td><td>支持参数录入</td><td>geo_in(属于)<br/>geo_not_in(不属于)<br/></td><td>请输入内容,10240字符以内,格式为序列化的JSON,格式为:[{"Country":"中国","Region":"广东","City":"深圳"}]</td></tr>
16408
+ # <table><thead><tr><th>匹配字段</th><th>匹配参数</th><th>逻辑符号</th><th>匹配内容</th></tr></thead><tbody><tr><td>IP(来源IP)</td><td>不支持参数</td><td>ipmatch(匹配)<br/>ipnmatch(不匹配)</td><td>多个IP以英文逗号隔开,最多20个</td></tr><tr><td>IPV6(来源IPv6)</td><td>不支持参数</td><td>ipmatch(匹配)<br/>ipnmatch(不匹配)</td><td>支持单个IPV6地址</td></tr><tr><td>Referer(Referer)</td><td>不支持参数</td><td>empty(内容为空)<br/>null(不存在)<br/>eq(等于)<br/>neq(不等于)<br/>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>URL(请求路径)</td><td>不支持参数</td><td>eq(等于)<br/>neq(不等于)<br/>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)<br/></td><td>请以/开头,512个字符以内</td></tr><tr><td>UserAgent(UserAgent)</td><td>不支持参数</td><td>同匹配字段<font color="Red">Referer</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>HTTP_METHOD(HTTP请求方法)</td><td>不支持参数</td><td>eq(等于)<br/>neq(不等于)</td><td>请输入方法名称,建议大写</td></tr><tr><td>QUERY_STRING(请求字符串)</td><td>不支持参数</td><td>同匹配字段<font color="Red">请求路径</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET(GET参数值)</td><td>支持参数录入</td><td>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_PARAMS_NAMES(GET参数名)</td><td>不支持参数</td><td>exsit(存在参数)<br/>nexsit(不存在参数)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>POST(POST参数值)</td><td>支持参数录入</td><td>同匹配字段<font color="Red">GET参数值</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_POST_NAMES(POST参数名)</td><td>不支持参数</td><td>同匹配字段<font color="Red">GET参数名</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>POST_BODY(完整BODY)</td><td>不支持参数</td><td>同匹配字段<font color="Red">请求路径</font>逻辑符号</td><td>请输入BODY内容,512个字符以内</td></tr><tr><td>COOKIE(Cookie)</td><td>不支持参数</td><td>empty(内容为空)<br/>null(不存在)<br/>rematch(正则匹配)</td><td><font color="Red">暂不支持</font></td></tr><tr><td>GET_COOKIES_NAMES(Cookie参数名)</td><td>不支持参数</td><td>同匹配字段<font color="Red">GET参数名</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>ARGS_COOKIE(Cookie参数值)</td><td>支持参数录入</td><td>同匹配字段<font color="Red">GET参数值</font>逻辑符号</td><td>请输入内容,512个字符以内</td></tr><tr><td>GET_HEADERS_NAMES(Header参数名)</td><td>不支持参数</td><td>exsit(存在参数)<br/>nexsit(不存在参数)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,建议小写,512个字符以内</td></tr><tr><td>ARGS_HEADER(Header参数值)</td><td>支持参数录入</td><td>contains(包含)<br/>ncontains(不包含)<br/>len_eq(长度等于)<br/>len_gt(长度大于)<br/>len_lt(长度小于)<br/>strprefix(前缀匹配)<br/>strsuffix(后缀匹配)<br/>rematch(正则匹配)</td><td>请输入内容,512个字符以内</td></tr><tr><td>CONTENT_LENGTH(Content-length)</td><td>支持参数录入</td><td>numgt(数值大于)<br/>numlt(数值小于)<br/>numeq(数值等于)<br/></td><td>请输入0-9999999999999之间的整数</td></tr><tr><td>IP_GEO(来源IP归属地)</td><td>支持参数录入</td><td>geo_in(属于)<br/>geo_not_in(不属于)<br/></td><td>请输入内容,10240字符以内,格式为序列化的JSON,格式为:[{"Country":"中国","Region":"广东","City":"深圳"}]</td></tr><tr><td>CAPTCHA_RISK(验证码风险)</td><td>不支持参数</td><td>eq(等于)<br/>neq(不等于)<br/>belong(属于)<br/>not_belong(不属于)<br/>null(不存在)<br/>exist(存在)</td><td>请输入风险等级值,支持数值范围0-255</td></tr><tr><td>CAPTCHA_DEVICE_RISK(验证码设备风险)</td><td>不支持参数</td><td>eq(等于)<br/>neq(不等于)<br/>belong(属于)<br/>not_belong(不属于)<br/>null(不存在)<br/>exist(存在)</td><td>请输入设备风险代码,支持取值:101、201、301、401、501、601、701</td></tr><tr><td>CAPTCHAR_SCORE(验证码风险评估分)</td><td>不支持参数</td><td>numeq(数值等于)<br/>numgt(数值大于)<br/>numlt(数值小于)<br/>numle(数值小于等于)<br/>numge(数值大于等于)<br/>null(不存在)<br/>exist(存在)</td><td>请输入评估分数,支持数值范围0-100</td></tr>
15648
16409
  # </tbody></table>
15649
16410
  # @type Field: String
15650
16411
  # @param CompareFunc: 逻辑符号
@@ -15666,6 +16427,9 @@ module TencentCloud
15666
16427
  # numgt ( 数值大于)
15667
16428
  # numlt ( 数值小于)
15668
16429
  # numeq ( 数值等于)
16430
+ # numneq ( 数值不等于)
16431
+ # numle ( 数值小于等于)
16432
+ # numge ( 数值大于等于)
15669
16433
  # geo_in ( IP地理属于)
15670
16434
  # geo_not_in ( IP地理不属于)
15671
16435
  # 各匹配字段对应的逻辑符号不同,详见上述匹配字段表格
@@ -15868,6 +16632,17 @@ module TencentCloud
15868
16632
  end
15869
16633
  end
15870
16634
 
16635
+ # 创建资源实例时同时绑定的标签对说明
16636
+ class Tag < TencentCloud::Common::AbstractModel
16637
+
16638
+
16639
+ def initialize()
16640
+ end
16641
+
16642
+ def deserialize(params)
16643
+ end
16644
+ end
16645
+
15871
16646
  # 需要开启/关闭API安全的 实例+域名 组合实体
15872
16647
  class TargetEntity < TencentCloud::Common::AbstractModel
15873
16648
  # @param InstanceId: 实例ID
@@ -15928,6 +16703,158 @@ module TencentCloud
15928
16703
  end
15929
16704
  end
15930
16705
 
16706
+ # 日志主题扩展信息
16707
+ class TopicExtendInfo < TencentCloud::Common::AbstractModel
16708
+ # @param AnonymousAccess: 日志主题免鉴权配置信息
16709
+ # 注意:此字段可能返回 null,表示取不到有效值。
16710
+ # @type AnonymousAccess: :class:`Tencentcloud::Waf.v20180125.models.AnonymousInfo`
16711
+
16712
+ attr_accessor :AnonymousAccess
16713
+
16714
+ def initialize(anonymousaccess=nil)
16715
+ @AnonymousAccess = anonymousaccess
16716
+ end
16717
+
16718
+ def deserialize(params)
16719
+ unless params['AnonymousAccess'].nil?
16720
+ @AnonymousAccess = AnonymousInfo.new
16721
+ @AnonymousAccess.deserialize(params['AnonymousAccess'])
16722
+ end
16723
+ end
16724
+ end
16725
+
16726
+ # 主题基本信息
16727
+ class TopicInfo < TencentCloud::Common::AbstractModel
16728
+ # @param LogsetId: 日志集ID
16729
+ # @type LogsetId: String
16730
+ # @param TopicId: 主题ID
16731
+ # @type TopicId: String
16732
+ # @param TopicName: 主题名称
16733
+ # @type TopicName: String
16734
+ # @param PartitionCount: 主题分区个数
16735
+ # @type PartitionCount: Integer
16736
+ # @param Index: 主题是否开启索引(主题类型需为日志主题)
16737
+ # @type Index: Boolean
16738
+ # @param AssumerName: 云产品标识,主题由其它云产品创建时,该字段会显示云产品名称,例如CDN、TKE
16739
+ # 注意:此字段可能返回 null,表示取不到有效值。
16740
+ # @type AssumerName: String
16741
+ # @param CreateTime: 创建时间
16742
+ # @type CreateTime: String
16743
+ # @param Status: 主题是否开启采集,true:开启采集;false:关闭采集。
16744
+ # 创建日志主题时默认开启,可通过SDK调用ModifyTopic修改此字段。
16745
+ # 控制台目前不支持修改此参数。
16746
+ # @type Status: Boolean
16747
+ # @param Tags: 主题绑定的标签信息
16748
+ # 注意:此字段可能返回 null,表示取不到有效值。
16749
+ # @type Tags: Array
16750
+ # @param AutoSplit: 该主题是否开启自动分裂
16751
+ # 注意:此字段可能返回 null,表示取不到有效值。
16752
+ # @type AutoSplit: Boolean
16753
+ # @param MaxSplitPartitions: 若开启自动分裂的话,该主题能够允许的最大分区数
16754
+ # 注意:此字段可能返回 null,表示取不到有效值。
16755
+ # @type MaxSplitPartitions: Integer
16756
+ # @param StorageType: 主题的存储类型
16757
+ # 注意:此字段可能返回 null,表示取不到有效值。
16758
+ # @type StorageType: String
16759
+ # @param Period: 生命周期,单位天,可取值范围1~3600。取值为3640时代表永久保存
16760
+ # 注意:此字段可能返回 null,表示取不到有效值。
16761
+ # @type Period: Integer
16762
+ # @param SubAssumerName: 云产品二级标识,日志主题由其它云产品创建时,该字段会显示云产品名称及其日志类型的二级分类,例如TKE-Audit、TKE-Event。部分云产品仅有云产品标识(AssumerName),无该字段。
16763
+ # 注意:此字段可能返回 null,表示取不到有效值。
16764
+ # @type SubAssumerName: String
16765
+ # @param Describes: 主题描述
16766
+ # 注意:此字段可能返回 null,表示取不到有效值。
16767
+ # @type Describes: String
16768
+ # @param HotPeriod: 开启日志沉降,标准存储的生命周期, hotPeriod < Period。
16769
+ # 标准存储为 hotPeriod, 低频存储则为 Period-hotPeriod。(主题类型需为日志主题)
16770
+ # HotPeriod=0为没有开启日志沉降。
16771
+ # 注意:此字段可能返回 null,表示取不到有效值。
16772
+ # @type HotPeriod: Integer
16773
+ # @param BizType: 主题类型。
16774
+ # - 0: 日志主题
16775
+ # - 1: 指标主题
16776
+ # 注意:此字段可能返回 null,表示取不到有效值。
16777
+ # @type BizType: Integer
16778
+ # @param IsWebTracking: 免鉴权开关。 false:关闭; true:开启。
16779
+ # 开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
16780
+ # 注意:此字段可能返回 null,表示取不到有效值。
16781
+ # @type IsWebTracking: Boolean
16782
+ # @param Extends: 日志主题扩展信息
16783
+ # 注意:此字段可能返回 null,表示取不到有效值。
16784
+ # @type Extends: :class:`Tencentcloud::Waf.v20180125.models.TopicExtendInfo`
16785
+ # @param TopicAsyncTaskID: 异步迁移任务ID
16786
+ # 注意:此字段可能返回 null,表示取不到有效值。
16787
+ # @type TopicAsyncTaskID: String
16788
+ # @param MigrationStatus: 异步迁移状态
16789
+ # 注意:此字段可能返回 null,表示取不到有效值。
16790
+ # @type MigrationStatus: Integer
16791
+ # @param EffectiveDate: 异步迁移完成后,预计生效日期
16792
+ # 注意:此字段可能返回 null,表示取不到有效值。
16793
+ # @type EffectiveDate: String
16794
+
16795
+ attr_accessor :LogsetId, :TopicId, :TopicName, :PartitionCount, :Index, :AssumerName, :CreateTime, :Status, :Tags, :AutoSplit, :MaxSplitPartitions, :StorageType, :Period, :SubAssumerName, :Describes, :HotPeriod, :BizType, :IsWebTracking, :Extends, :TopicAsyncTaskID, :MigrationStatus, :EffectiveDate
16796
+
16797
+ def initialize(logsetid=nil, topicid=nil, topicname=nil, partitioncount=nil, index=nil, assumername=nil, createtime=nil, status=nil, tags=nil, autosplit=nil, maxsplitpartitions=nil, storagetype=nil, period=nil, subassumername=nil, describes=nil, hotperiod=nil, biztype=nil, iswebtracking=nil, extends=nil, topicasynctaskid=nil, migrationstatus=nil, effectivedate=nil)
16798
+ @LogsetId = logsetid
16799
+ @TopicId = topicid
16800
+ @TopicName = topicname
16801
+ @PartitionCount = partitioncount
16802
+ @Index = index
16803
+ @AssumerName = assumername
16804
+ @CreateTime = createtime
16805
+ @Status = status
16806
+ @Tags = tags
16807
+ @AutoSplit = autosplit
16808
+ @MaxSplitPartitions = maxsplitpartitions
16809
+ @StorageType = storagetype
16810
+ @Period = period
16811
+ @SubAssumerName = subassumername
16812
+ @Describes = describes
16813
+ @HotPeriod = hotperiod
16814
+ @BizType = biztype
16815
+ @IsWebTracking = iswebtracking
16816
+ @Extends = extends
16817
+ @TopicAsyncTaskID = topicasynctaskid
16818
+ @MigrationStatus = migrationstatus
16819
+ @EffectiveDate = effectivedate
16820
+ end
16821
+
16822
+ def deserialize(params)
16823
+ @LogsetId = params['LogsetId']
16824
+ @TopicId = params['TopicId']
16825
+ @TopicName = params['TopicName']
16826
+ @PartitionCount = params['PartitionCount']
16827
+ @Index = params['Index']
16828
+ @AssumerName = params['AssumerName']
16829
+ @CreateTime = params['CreateTime']
16830
+ @Status = params['Status']
16831
+ unless params['Tags'].nil?
16832
+ @Tags = []
16833
+ params['Tags'].each do |i|
16834
+ tag_tmp = Tag.new
16835
+ tag_tmp.deserialize(i)
16836
+ @Tags << tag_tmp
16837
+ end
16838
+ end
16839
+ @AutoSplit = params['AutoSplit']
16840
+ @MaxSplitPartitions = params['MaxSplitPartitions']
16841
+ @StorageType = params['StorageType']
16842
+ @Period = params['Period']
16843
+ @SubAssumerName = params['SubAssumerName']
16844
+ @Describes = params['Describes']
16845
+ @HotPeriod = params['HotPeriod']
16846
+ @BizType = params['BizType']
16847
+ @IsWebTracking = params['IsWebTracking']
16848
+ unless params['Extends'].nil?
16849
+ @Extends = TopicExtendInfo.new
16850
+ @Extends.deserialize(params['Extends'])
16851
+ end
16852
+ @TopicAsyncTaskID = params['TopicAsyncTaskID']
16853
+ @MigrationStatus = params['MigrationStatus']
16854
+ @EffectiveDate = params['EffectiveDate']
16855
+ end
16856
+ end
16857
+
15931
16858
  # bot自定义规则动作灰度
15932
16859
  class UCBActionProportion < TencentCloud::Common::AbstractModel
15933
16860
  # @param Action: 动作
@@ -16099,7 +17026,7 @@ module TencentCloud
16099
17026
  # @type Url: String
16100
17027
  # @param MatchFunc: 匹配方法,0表示等于,1表示前缀匹配,2表示包含,3表示不等于,6表示后缀匹配,7表示不包含
16101
17028
  # @type MatchFunc: Integer
16102
- # @param OptionsArr: CC的匹配条件JSON序列化的字符串,示例:[{\"key\":\"Method\",\"args\":[\"=R0VU\"],\"match\":\"0\",\"encodeflag\":true}] Key可选值为 Method、Post、Referer、Cookie、User-Agent、CustomHeader match可选值为,当Key为Method的时候可选值为0(等于)、3(不等于)。 Key为Post的时候可选值为0(等于)、3(不等于),Key为Cookie的时候可选值为0(等于)、2(包含),3(不等于)、7(不包含)、 当Key为Referer的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为Cookie的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为User-Agent的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为CustomHeader的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空)。 Key为IPLocation时,可选值为13(属于)、14(不属于)。args用来表示匹配内容,需要设置encodeflag为true,当Key为Post、Cookie、CustomHeader时,用等号=来分别串接Key和Value,并分别用Base64编码,类似YWJj=YWJj。当Key为Referer、User-Agent时,用等号=来串接Value,类似=YWJj。
17029
+ # @param OptionsArr: CC的匹配条件JSON序列化的字符串,示例:[{\"key\":\"Method\",\"args\":[\"=R0VU\"],\"match\":\"0\",\"encodeflag\":true}] Key可选值为 Method、Post、Referer、Cookie、User-Agent、CustomHeader、CaptchaRisk、CaptchaDeviceRisk、CaptchaScore match可选值为,当Key为Method的时候可选值为0(等于)、3(不等于)。 Key为Post的时候可选值为0(等于)、3(不等于),Key为Cookie的时候可选值为0(等于)、2(包含),3(不等于)、7(不包含)、 当Key为Referer的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为Cookie的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为User-Agent的时候可选值为0(等于)、3(不等于)、1(前缀匹配)、6(后缀匹配)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空), 当Key为CustomHeader的时候可选值为0(等于)、3(不等于)、2(包含)、7(不包含)、12(存在)、5(不存在)、4(内容为空)。 Key为IPLocation时,可选值为13(属于)、14(不属于)。 Key为CaptchaRisk时,可选值为0(等于)、3(不等于)、13(属于)、14(不属于)、12(存在)、5(不存在)。 Key为CaptchaDeviceRisk时,可选值为0(等于)、3(不等于)、13(属于)、14(不属于)、12(存在)、5(不存在)。 Key为CaptchaScore时,可选值为15(数值等于)、16(数值不等于)、17(数值大于)、18(数值小于)、19(数值大于等于)、20(数值小于等于)、12(存在)、5(不存在)。args用来表示匹配内容,需要设置encodeflag为true,当Key为Post、Cookie、CustomHeader时,用等号=来分别串接Key和Value,并分别用Base64编码,类似YWJj=YWJj。当Key为Referer、User-Agent时,用等号=来串接Value,类似=YWJj。
16103
17030
  # @type OptionsArr: String
16104
17031
  # @param Edition: waf版本,sparta-waf或者clb-waf
16105
17032
  # @type Edition: String