tencentcloud-sdk-waf 3.0.846 → 3.0.847

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180125/models.rb +51 -8
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 63d4b3748a36cbb52ba5d9b7759d0d35bf881df5
4
- data.tar.gz: b23ec78920c022a3424b4acebe32a34ce08cec9a
3
+ metadata.gz: 7df8347051c1a2504b1540efc151e4a113ca0f71
4
+ data.tar.gz: 6eaac2947925bf473a59fb266ff56dbbee41ae03
5
5
  SHA512:
6
- metadata.gz: cd25bbd58c6ae757ff427e732db331c1ec13eff8109e1dd40279822e96242c822e8ecb3dcb8a98e501677372819096e778b9a681d435b7ebaedd1dbab8172083
7
- data.tar.gz: 3822e00ae2660a31b035a48a6cb0d5fe37c8aab81a4dd0e999d059684aee440e821540e425ee49f1f4c0702c98e7047e26944b3eeb41a31f9eca23027c4b0b68
6
+ metadata.gz: ff44e3c6bbaa99f3101f72fec1ab4abe5e6e66a106706a8640b042027a56f93caffa22608cd92cb682b6565ad90468e813143ebf3b9603b479d493b190fdd96f
7
+ data.tar.gz: 1d520cb28692503eb25e1258fdf3785d329b14456d23e95abb1ea640254cd03eda532cbbf21418d4f2e17e1631a28e5f48a4cac08e685d5523b0ebdfd0ef5f01
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.846
1
+ 3.0.847
@@ -17,6 +17,30 @@
17
17
  module TencentCloud
18
18
  module Waf
19
19
  module V20180125
20
+ # DescribeAccessFastAnalysis接口的出参
21
+ class AccessFieldValueRatioInfo < TencentCloud::Common::AbstractModel
22
+ # @param Count: 日志条数
23
+ # @type Count: Integer
24
+ # @param Ratio: 对应的Value值的百分比
25
+ # @type Ratio: Float
26
+ # @param Value: 字段对应的值
27
+ # @type Value: String
28
+
29
+ attr_accessor :Count, :Ratio, :Value
30
+
31
+ def initialize(count=nil, ratio=nil, value=nil)
32
+ @Count = count
33
+ @Ratio = ratio
34
+ @Value = value
35
+ end
36
+
37
+ def deserialize(params)
38
+ @Count = params['Count']
39
+ @Ratio = params['Ratio']
40
+ @Value = params['Value']
41
+ end
42
+ end
43
+
20
44
  # DescribeAccessIndex
21
45
  class AccessFullTextInfo < TencentCloud::Common::AbstractModel
22
46
  # @param CaseSensitive: 是否大小写敏感
@@ -3017,8 +3041,6 @@ module TencentCloud
3017
3041
 
3018
3042
  # DescribeAccessFastAnalysis请求参数结构体
3019
3043
  class DescribeAccessFastAnalysisRequest < TencentCloud::Common::AbstractModel
3020
- # @param TopicId: 客户要查询的日志主题ID,每个客户都有对应的一个主题
3021
- # @type TopicId: String
3022
3044
  # @param From: 要查询的日志的起始时间,Unix时间戳,单位ms
3023
3045
  # @type From: Integer
3024
3046
  # @param To: 要查询的日志的结束时间,Unix时间戳,单位ms
@@ -3027,29 +3049,34 @@ module TencentCloud
3027
3049
  # @type Query: String
3028
3050
  # @param FieldName: 需要分析统计的字段名
3029
3051
  # @type FieldName: String
3052
+ # @param TopicId: 客户要查询的日志主题ID,每个客户都有对应的一个主题
3053
+ # @type TopicId: String
3030
3054
  # @param Sort: 排序字段,升序asc,降序desc,默认降序desc
3031
3055
  # @type Sort: String
3032
3056
  # @param Count: 返回的top数,默认返回top5
3033
3057
  # @type Count: Integer
3034
3058
 
3035
- attr_accessor :TopicId, :From, :To, :Query, :FieldName, :Sort, :Count
3059
+ attr_accessor :From, :To, :Query, :FieldName, :TopicId, :Sort, :Count
3060
+ extend Gem::Deprecate
3061
+ deprecate :TopicId, :none, 2024, 6
3062
+ deprecate :TopicId=, :none, 2024, 6
3036
3063
 
3037
- def initialize(topicid=nil, from=nil, to=nil, query=nil, fieldname=nil, sort=nil, count=nil)
3038
- @TopicId = topicid
3064
+ def initialize(from=nil, to=nil, query=nil, fieldname=nil, topicid=nil, sort=nil, count=nil)
3039
3065
  @From = from
3040
3066
  @To = to
3041
3067
  @Query = query
3042
3068
  @FieldName = fieldname
3069
+ @TopicId = topicid
3043
3070
  @Sort = sort
3044
3071
  @Count = count
3045
3072
  end
3046
3073
 
3047
3074
  def deserialize(params)
3048
- @TopicId = params['TopicId']
3049
3075
  @From = params['From']
3050
3076
  @To = params['To']
3051
3077
  @Query = params['Query']
3052
3078
  @FieldName = params['FieldName']
3079
+ @TopicId = params['TopicId']
3053
3080
  @Sort = params['Sort']
3054
3081
  @Count = params['Count']
3055
3082
  end
@@ -3057,16 +3084,32 @@ module TencentCloud
3057
3084
 
3058
3085
  # DescribeAccessFastAnalysis返回参数结构体
3059
3086
  class DescribeAccessFastAnalysisResponse < TencentCloud::Common::AbstractModel
3087
+ # @param FieldValueRatioInfos: 注意:此字段可能返回 null,表示取不到有效值
3088
+ # 注意:此字段可能返回 null,表示取不到有效值。
3089
+ # @type FieldValueRatioInfos: Array
3090
+ # @param TotalCount: 日志条数
3091
+ # @type TotalCount: Integer
3060
3092
  # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3061
3093
  # @type RequestId: String
3062
3094
 
3063
- attr_accessor :RequestId
3095
+ attr_accessor :FieldValueRatioInfos, :TotalCount, :RequestId
3064
3096
 
3065
- def initialize(requestid=nil)
3097
+ def initialize(fieldvalueratioinfos=nil, totalcount=nil, requestid=nil)
3098
+ @FieldValueRatioInfos = fieldvalueratioinfos
3099
+ @TotalCount = totalcount
3066
3100
  @RequestId = requestid
3067
3101
  end
3068
3102
 
3069
3103
  def deserialize(params)
3104
+ unless params['FieldValueRatioInfos'].nil?
3105
+ @FieldValueRatioInfos = []
3106
+ params['FieldValueRatioInfos'].each do |i|
3107
+ accessfieldvalueratioinfo_tmp = AccessFieldValueRatioInfo.new
3108
+ accessfieldvalueratioinfo_tmp.deserialize(i)
3109
+ @FieldValueRatioInfos << accessfieldvalueratioinfo_tmp
3110
+ end
3111
+ end
3112
+ @TotalCount = params['TotalCount']
3070
3113
  @RequestId = params['RequestId']
3071
3114
  end
3072
3115
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-waf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.846
4
+ version: 3.0.847
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud