tencentcloud-sdk-cls 3.0.1034 → 3.0.1036

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20201016/models.rb +22 -7
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 44a650807022c36c05847d4d2b58c3afd6ba58a0
4
- data.tar.gz: da0e9baa2c51605ac58e75126157fb40c0501c40
3
+ metadata.gz: f0c2d792d739631f5c0e60dcda7c17c90e33bec7
4
+ data.tar.gz: e8c58e647a990307fbd9b96e43398f5a59e83e7b
5
5
  SHA512:
6
- metadata.gz: 099aed7c06097ccdac2f40d4c1b2088dfde3a8e7ac21d410de9b139f91ca85067653963b9a559eae696d771346ef451cf53a9426974fde06555d65620d77b785
7
- data.tar.gz: f5badca3820a75e6aa0ee73f540574dd8bf3403f1534dd0120a302e2acec3b8bbf1b59f24f01fff05f9372b2c79ba8b4a5a2bf6c171d9a38e81df27def112c3f
6
+ metadata.gz: 70698a13a44411630a3ed73251ef28e7ab259cb5ba0635d0b9a140afe39700d1fcffb7d571816263b8b753fbbe210dd1abcce37add2df7007a8c4c7a4036367e
7
+ data.tar.gz: a797e216df2b652048ce80a8900aaac434a3b99976110d248dc702ad5e83f8348373b61adbf58665ed77303bbc54133feaf1cad5f3a82babb15f6449ddea24e8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1034
1
+ 3.0.1036
@@ -7477,11 +7477,11 @@ module TencentCloud
7477
7477
  end
7478
7478
  end
7479
7479
 
7480
- # 日志内容高亮描述信息
7480
+ # 符合检索条件的关键词,一般用于高亮显示。仅支持键值检索,不支持全文检索
7481
7481
  class HighLightItem < TencentCloud::Common::AbstractModel
7482
- # @param Key: 高亮的日志Key
7482
+ # @param Key: 高亮的日志字段名称
7483
7483
  # @type Key: String
7484
- # @param Values: 高亮的语法
7484
+ # @param Values: 高亮的关键词
7485
7485
  # @type Values: Array
7486
7486
 
7487
7487
  attr_accessor :Key, :Values
@@ -7855,6 +7855,8 @@ module TencentCloud
7855
7855
  # @type PkgId: String
7856
7856
  # @param PkgLogId: 请求包内日志的ID
7857
7857
  # @type PkgLogId: String
7858
+ # @param HighLights: 符合检索条件的关键词,一般用于高亮显示。仅支持键值检索,不支持全文检索
7859
+ # @type HighLights: Array
7858
7860
  # @param LogJson: 日志内容的Json序列化字符串
7859
7861
  # @type LogJson: String
7860
7862
  # @param HostName: 日志来源主机名称
@@ -7864,9 +7866,9 @@ module TencentCloud
7864
7866
  # @param IndexStatus: 日志创建索引异常原因(仅在日志创建索引异常时有值)
7865
7867
  # @type IndexStatus: String
7866
7868
 
7867
- attr_accessor :Time, :TopicId, :TopicName, :Source, :FileName, :PkgId, :PkgLogId, :LogJson, :HostName, :RawLog, :IndexStatus
7869
+ attr_accessor :Time, :TopicId, :TopicName, :Source, :FileName, :PkgId, :PkgLogId, :HighLights, :LogJson, :HostName, :RawLog, :IndexStatus
7868
7870
 
7869
- def initialize(time=nil, topicid=nil, topicname=nil, source=nil, filename=nil, pkgid=nil, pkglogid=nil, logjson=nil, hostname=nil, rawlog=nil, indexstatus=nil)
7871
+ def initialize(time=nil, topicid=nil, topicname=nil, source=nil, filename=nil, pkgid=nil, pkglogid=nil, highlights=nil, logjson=nil, hostname=nil, rawlog=nil, indexstatus=nil)
7870
7872
  @Time = time
7871
7873
  @TopicId = topicid
7872
7874
  @TopicName = topicname
@@ -7874,6 +7876,7 @@ module TencentCloud
7874
7876
  @FileName = filename
7875
7877
  @PkgId = pkgid
7876
7878
  @PkgLogId = pkglogid
7879
+ @HighLights = highlights
7877
7880
  @LogJson = logjson
7878
7881
  @HostName = hostname
7879
7882
  @RawLog = rawlog
@@ -7888,6 +7891,14 @@ module TencentCloud
7888
7891
  @FileName = params['FileName']
7889
7892
  @PkgId = params['PkgId']
7890
7893
  @PkgLogId = params['PkgLogId']
7894
+ unless params['HighLights'].nil?
7895
+ @HighLights = []
7896
+ params['HighLights'].each do |i|
7897
+ highlightitem_tmp = HighLightItem.new
7898
+ highlightitem_tmp.deserialize(i)
7899
+ @HighLights << highlightitem_tmp
7900
+ end
7901
+ end
7891
7902
  @LogJson = params['LogJson']
7892
7903
  @HostName = params['HostName']
7893
7904
  @RawLog = params['RawLog']
@@ -11147,10 +11158,12 @@ module TencentCloud
11147
11158
  # 为false时代表使用老的检索结果返回方式, 输出AnalysisResults和ColNames有效
11148
11159
  # 两种返回方式在编码格式上有少量区别,建议使用true
11149
11160
  # @type UseNewAnalysis: Boolean
11161
+ # @param HighLight: 是否高亮符合检索条件的关键词,一般用于高亮显示。仅支持键值检索,不支持全文检索
11162
+ # @type HighLight: Boolean
11150
11163
 
11151
- attr_accessor :From, :To, :Query, :SyntaxRule, :TopicId, :Topics, :Sort, :Limit, :Offset, :Context, :SamplingRate, :UseNewAnalysis
11164
+ attr_accessor :From, :To, :Query, :SyntaxRule, :TopicId, :Topics, :Sort, :Limit, :Offset, :Context, :SamplingRate, :UseNewAnalysis, :HighLight
11152
11165
 
11153
- def initialize(from=nil, to=nil, query=nil, syntaxrule=nil, topicid=nil, topics=nil, sort=nil, limit=nil, offset=nil, context=nil, samplingrate=nil, usenewanalysis=nil)
11166
+ def initialize(from=nil, to=nil, query=nil, syntaxrule=nil, topicid=nil, topics=nil, sort=nil, limit=nil, offset=nil, context=nil, samplingrate=nil, usenewanalysis=nil, highlight=nil)
11154
11167
  @From = from
11155
11168
  @To = to
11156
11169
  @Query = query
@@ -11163,6 +11176,7 @@ module TencentCloud
11163
11176
  @Context = context
11164
11177
  @SamplingRate = samplingrate
11165
11178
  @UseNewAnalysis = usenewanalysis
11179
+ @HighLight = highlight
11166
11180
  end
11167
11181
 
11168
11182
  def deserialize(params)
@@ -11185,6 +11199,7 @@ module TencentCloud
11185
11199
  @Context = params['Context']
11186
11200
  @SamplingRate = params['SamplingRate']
11187
11201
  @UseNewAnalysis = params['UseNewAnalysis']
11202
+ @HighLight = params['HighLight']
11188
11203
  end
11189
11204
  end
11190
11205
 
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.1034
4
+ version: 3.0.1036
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-03 00:00:00.000000000 Z
11
+ date: 2025-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common